Skip to content

Copy paste error in print statement for cross-validation of KNN #9

@covuworie

Description

@covuworie

There is a copy-paste typo in the last cell of the Lecture_6_Notebook.ipynb. The value of k is being chosen, not the degree of the polynomial. It instead should read something like:

print('the test R^2 for a {} knn model is: {}'.format(best_k, test_R_sq))

PS: I didn't submit a pull request as you probably don't want the output from my notebook.

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