I guess that i am bit loss with this lesson,
I understood the whole process about Logistic Regression,
But, as soon as i have the model, how can i use it?
Because in the confussion matrix formula you made, i have to insert X (independent variables), Y (Target), Model, so how can i use the model created?
As seen in the previous lecture (about accuracy), you can use the model with the the function ‘predict()’.
So if you have some new data in the same format (say the variable is ‘new_data’), then you can write: