Question: For machine learning in python, 1. Are they exactly the same from the picture? 2.Explain what's the picture represents. 3. Use the confusion matrix(the picture

For machine learning in python, 1. Are they exactly the same fromFor machine learning in python, 1. Are they exactly the same from the picture?

2.Explain what's the picture represents. 3. Use the confusion matrix(the picture is the result) and explain how it can be used to find wrong predictions.

thanks!

\( \begin{array}{l} \text { In [298]: } \begin{array}{l}\text { Opps_test_predicted=Opps.predict(X_test) } \\ \text { mat = confusion_matrix(y_test,_y_predicted) }\end{array} \\ \text { plt.matshow(mat) } \\ \text { plt.title('Confusion matrix') } \\ \text { plt.ylabel('True label') } \\ \text { plt.xlabel('Predicted label') } \\ \text { plt._oolorbar() } \\ \text { plt.show() }\end{array} \)

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!