Are confused with Confusion Matrix?
No worries!!!! At end of this blog you will be super confident about the Confusion Matrix.
Lets get started, Let me take one problem statement. The problem statement is social network ad. Using this dataset have to develop a model which will predict a person is going to purchase or not purchase by clicking the ad. I assumed that you have created the model, now curial and challenging part is validation of the created model. There it comes "Confusion Matrix".
Dataset of the Problem Statement
Dataset
I have created the model using Random Forest to explain the confusion matrix. Kindly see the below image and read the parameters over there.
Confusion and Report of the model.
In[15]: Confusion Matrix of the created modelĀ
In[17]: Classification Report of the created model