KNN
classification
scikit-learn
sklearn.neighbors.KNeighborsClassifier
https://scikit-learn.org/stable/modules/generated/sklearn.neighbors.KNeighborsClassifier.html
Examples
MetPy Mondays
`#183 - Predicting Rain with Machine Learning - Using KNN : Unidata Developer's Blog
Learn the basics of classification algorithms with a rain prediction challenge!
https://www.unidata.ucar.edu/blogs/developer/entry/metpy-mondays-183-predicting-rain
Rain in Australia | Kaggle
https://www.kaggle.com/jsphyg/weather-dataset-rattle-package
`#183 - Confusion Matrices and Dummy Classifiers in ScikitLearn : Unidata Developer's Blog
This week we learn more about how to check the performance of our machine learning algorithms with confusion matrices and the dummy classifier!
https://www.unidata.ucar.edu/blogs/developer/entry/metpy-mondays-183-confusion-matrices
sklearn.dummy.DummyClassifier
https://scikit-learn.org/stable/modules/generated/sklearn.dummy.DummyClassifier.html
sklearn.metrics.confusion_matrix
https://scikit-learn.org/stable/modules/generated/sklearn.metrics.confusion_matrix.html
`#184 - Scoring with Accuracy, precision (score), Recall, and F1 : Unidata Developer's Blog
It's easy to be mislead about the performance of a machine learning algorithm based upon impressive sounding numbers. This week dive into some scoring metrics and don't get fooled!
https://www.unidata.ucar.edu/blogs/developer/entry/metpy-mondays-184-scoring-with
`#185 - Cross Validation : Unidata Developer's Blog
Cross Validation is an essential technique when determining how machine learning generalizes to your problem.
https://www.unidata.ucar.edu/blogs/developer/entry/metpy-mondays-185-cross-validation
Cross-validation: evaluating estimator performance
https://scikit-learn.org/stable/modules/cross_validation.html