Tianyi Zheng 76767d2f09
Consolidate the two existing kNN implementations (#8903)
* Add type hints to k_nearest_neighbours.py

* Refactor k_nearest_neighbours.py into class

* Add documentation to k_nearest_neighbours.py

* Use heap-based priority queue for k_nearest_neighbours.py

* Delete knn_sklearn.py

* updating DIRECTORY.md

* Use optional args in k_nearest_neighbours.py for demo purposes

* Fix wrong function arg in k_nearest_neighbours.py

---------

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2023-09-27 14:01:18 +02:00
2023-05-26 09:34:17 +02:00
2023-09-23 10:53:09 +02:00
2023-09-23 10:53:09 +02:00
2023-08-09 13:25:30 +05:30
2023-07-31 20:02:49 -07:00
2023-05-26 09:34:17 +02:00
2023-09-17 00:12:31 +02:00
2023-09-23 10:53:09 +02:00
2023-08-17 14:34:53 -07:00
2023-09-27 01:44:06 -04:00
2023-05-26 09:34:17 +02:00
2023-09-23 10:53:09 +02:00
2022-07-23 07:56:59 +05:30
2022-03-16 23:40:48 +08:00

The Algorithms - Python

Gitpod Ready-to-Code Contributions Welcome Discord chat Gitter chat
GitHub Workflow Status pre-commit code style: black

All algorithms implemented in Python - for education

Implementations are for learning purposes only. They may be less efficient than the implementations in the Python standard library. Use them at your discretion.

Getting Started

Read through our Contribution Guidelines before you contribute.

Community Channels

We are on Discord and Gitter! Community channels are a great way for you to ask questions and get help. Please join us!

List of Algorithms

See our directory for easier navigation and a better overview of the project.

Languages
Python 99.9%
Shell 0.1%