Question: Use sklearn.datasets iris flower dataset to train your model using ( 1 ) Logistic regression. You need to figure out ( 2 ) accuracy of

Use sklearn.datasets iris flower dataset to train your model using (1) Logistic regression. You need to figure out (2) accuracy of your model and use that to (3) predict different samples in your test dataset. Present the (4) confusion matrix and the (5) heatmap.
In iris dataset there are 150 samples containing following features,
1.Sepal Length
2.Sepal Width
3.Petal Length
4.Petal Width

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 Programming Questions!