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

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!