Isn't lab C1_W3_Lab07_Scikit_Learn_Soln prediction made on the data the model trained on?

I have a doubt about C1_W3_Lab07_Scikit_Learn_Soln
It seems to me that the prediction is made on the data that the model trained on, which is obvious that the result of the prediction will be 100% accurate for this same data.
The prediction should be either made for different data or training set should be cross-split I think.
Am I correct?


1 Like

At this point in the course, the concept of a validation or test set has not yet been discussed.

For now, testing on the training set is sufficient.

Yes, Adam. Feel free to do it yourself :wink: