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

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', 'rbf', and 'poly (with degree=3) kernels. Plot the decision regions. Compare the classification performance. Problem 2: (SVM classifier on MNIST dataset) Load the MNIST dataset from sklearn. Split the dataset into training and testing parts. Use SVM classifier to recognize the digits. Try different parameters and kernels
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
