An easy educational implementation of the K nearest neighbours algorithm
Project description
EasyKNN
EasyKNN is a simple implementation of the K-Nearest Neighbors algorithm in Python. It is designed to be easy to use and easy to understand. It is not designed to be fast or efficient, but rather for educational purposes.
Installation
EasyKNN is available on PyPI:
pip install EasyPyKnn
Usage
You can import the library with the following code:
from EasyKNN import Value, Dataset, Plan
A few examples of how to use the library are available in the examples folder.
Documentation
Currently, the library is not documented. However, the code is commented and should be easy to understand.
A documentation will be available in the future, but not planned for now.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
EasyKNN is licensed under the MIT license.
Authors
EasyKNN was created by Barnabé Havard.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for EasyPyKnn-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a46ac50e2eaa78507497d117a0e8e504b044d584645820d9353e425b3ac72d69 |
|
MD5 | 9907acb0d1272d1e1184e2a03569e9bb |
|
BLAKE2b-256 | f7609b8a906facc4f4e9b9bea09207a281e723e5ae7bca6ffe3ae694141a975e |