Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KNN regressor #28

Merged
merged 1 commit into from Feb 2, 2022
Merged

Conversation

VishnuBhaarath
Copy link
Contributor

PR fix for issue #6

Added KNN regressor to models.py the advantage of this is it takes almost zero time to train because it only stores the data of the training part. and faster than all the models mentioned in the models.py file in training time as its zero in KNN regressor , it is also a non parametric models with only parameter that needs to be mentioned is the number of neighbours, adding to this as KNN doesn't undergo training we can add new data to it which doesn't affect the accuracy of the model. It is also very easy to implement and interpret as there is only one hyperparameter which is the number of neighbours, apart from this it's versatile and can be used as a regressor as well as classifier

@sagnik1511 sagnik1511 merged commit 39ac660 into sagnik1511:JWOC Feb 2, 2022
@sagnik1511
Copy link
Owner

Merged.Thanks!

@VishnuBhaarath
Copy link
Contributor Author

Merged.Thanks!

Hi @sagnik1511 can you please add the jwoc as well as the difficulty tags in the PR too.

@sagnik1511 sagnik1511 added easy Points will be: 1(1st Phase), 2(2nd Phase). 1 day will be allotted. JWOC This issue/pull request will be considered for JWOC 2k22. labels Feb 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy Points will be: 1(1st Phase), 2(2nd Phase). 1 day will be allotted. JWOC This issue/pull request will be considered for JWOC 2k22.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants