Skip to content

Small bug in notebook 06_learning_curves.ipynb #5

Open
@NobleKennamer

Description

@NobleKennamer

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions