Open
Description
In the file doc/notebooks/06_learning_curves.ipynb, I believe there is a small mistake in the code box directly under the section "Cross-validation and Testing". The data that is supposed to be used for testing is defined by:
xtest = x[Ntrain:-Ntest]
ytest = y[Ntrain:-Ntest]
Making it the same data that is used for the Cross-Validation set. I think the above code should be replaced with:
xtest = x[-Ntest:]
ytest = y[-Ntest:]
I hope this helps and thanks for putting up this great tutorial. Your book has also been really helpful
Metadata
Metadata
Assignees
Labels
No labels