Question: Problem 1 : ( SVM classifier on Iris dataset ) Load the Iris dataset from sklearn. Split the dataset into training and testing parts. (

Problem 1:(SVM classifier on Iris dataset)Load the Iris dataset from sklearn. Split the dataset into training and testing parts. (a)Pick 2 of the 4 features. Use SVM classifier (svm.SVC) with linear,rbf, and poly(with degree=3) kernels. Plot the decision regions. Compare the classification performance. Plot the confusion matrix.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!