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 Logistic regression. You need to figure out accuracy of your model and use that to predict different samples in your test dataset. Present the confusion matrix and the heatmap.
In iris dataset there are samples containing following features,
Sepal Length
Sepal Width
Petal Length
Petal Width
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
