DSCKGEC / learn-machine-learn

A one-stop repository for new-comers in Machine Learning and A.I.
MIT License
1 stars 4 forks source link

Added KNN classifier #36

Closed RohanHBTU closed 1 year ago

RohanHBTU commented 1 year ago

Linked Issue

Closes: #issue number that will be closed through this PR issue #5 Add a KNN classifier

Describe the changes you've made

Give a clear description what modifications you have made

I have added a KNN classifier. Additionally, accuracy, confusion matrix and f1 score has also been printed. Hyperparameter tuning has also been done.

Type of change

What sort of change have you made:

How Has This Been Tested?

Describe how have you verified the changes made

I have calculated the best score and best parameters and also has shown f1 score, accuracy and confusion matrix.

Checklist:

Screenshots

Original | Updated :: |:Screenshot (141): Original Screenshot | Updated Screenshot |

KrishnenduDakshi2002 commented 1 year ago

is it possible to lower the fn counts? If you can, pls try that.

RohanHBTU commented 1 year ago

is it possible to lower the fn counts? If you can, pls try that.

Ok...I will work on that

RohanHBTU commented 1 year ago

despite many efforts and tuning ... KNN classifier is not improving the fn count. So, please accept and merge this as final work

KrishnenduDakshi2002 commented 1 year ago

despite many efforts and tuning ... KNN classifier is not improving the fn count. So, please accept and merge this as final work

okay.