Skip to main content

An easy educational implementation of the K nearest neighbors 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

EasyPyKnn-0.2.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

EasyPyKnn-0.2.0-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file EasyPyKnn-0.2.0.tar.gz.

File metadata

  • Download URL: EasyPyKnn-0.2.0.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for EasyPyKnn-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6043980b361abb289ac5a2924707b0ac39954857a7d571e11f2c60a444b8e6a8
MD5 2926258a624015fefa281d87ea4600b2
BLAKE2b-256 f37079c433b4a3b462ee5b3c565a2274697fc0f2091f31cc53e46a5157c1495c

See more details on using hashes here.

File details

Details for the file EasyPyKnn-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: EasyPyKnn-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 13.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for EasyPyKnn-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6047bce01c05d31367a9ab4e2cfd027428feb8e68908cdb6f2d15ab289d62386
MD5 57133b04ca9ae1de674ec2377a3c65b4
BLAKE2b-256 b9f9ab1469c6a724f9f7669c9ad994a166d86057d448cba266811acbe8189bd0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page