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

 Problem 1: (SVM classifier on Iris dataset) Load the Iris dataset

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

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!