Last answered:

07 Nov 2022

Posted on:

23 Feb 2021

0

Calling fit on train data

In Practical example 4. You do reg.predict(train_x) right after you do reg.fit(train_x, trainY). Is this correct? Should the predication not be on test_x? Won't this cause overfitting?

1 answers ( 0 marked as helpful)
Posted on:

07 Nov 2022

0

I agree with Rajeev. Are not the predictions supossed to be on the test set(?)  I am confused with this.

Submit an answer