/Tutorial_kNN_custom_metric

Codes and images used for blog post at https://medium.com/p/custom-user-defined-metrics-with-nearest-neighbors-regression-in-scikit-learn-8bec2f303499

Primary LanguagePythonMIT LicenseMIT

Tutorial kNN regression custom metrics

This repository contains the code, data and images used for the tutorial on custom metrics for kNN regression, published on towardsdatascience.com: https://medium.com/p/custom-user-defined-metrics-with-nearest-neighbors-regression-in-scikit-learn-8bec2f303499?source=email-1e4964370d8--writer.postDistributed&sk=579bbb775e7a32849996809ab1efe330.


Prerequisites

The necessary packages (with the tested versions with Python 3.8.5) are specified in the file requirements.txt. These packages can be installed with pip:

pip3 install -r requirements.txt

License and copyright

© Marcos del Cueto Cordones

Licensed under the MIT License.