Question: Import the digit dataset from sklearn library 1 ) Split the dataset with 7 5 % allocated for the training, use logistic regression, SVM ,

Import the digit dataset from sklearn library
1) Split the dataset with 75% allocated for the training, use logistic regression, SVM, Random forest, and decision Tree and get the score for for each Model
2) Use the cross_val_score object with 5 slots, and Measure the different scores for logistic regression, SVM, Random forest, and decision Tree.
3) Plot the confusion Matrix for the model with the best accuracy

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!