Question: If all python code can be shown that would be highly appreciated. Thank You! 1. Load the iris dataset from sklearn datasets 2. Print the
If all python code can be shown that would be highly appreciated. Thank You!
1. Load the iris dataset from sklearn datasets
2. Print the shape of the data
3. Print the feature names
4. Print the target names
5. Split the data into training and test data
6. Train a linear SVM classifier
7. Check classifier accuracy
8. Create a classification report
9. Create an SVM classifier with sepal length and sepal width only. Print the classification accuracy and report
10. Create an SVM classifier with petal length and petal width only. Print the classification accuracy and report
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
