Runs k-nn algorithm on 40 000 random generated 2d points with 4 different colors(classes).
Visualizes results to "vysledky/{k}.png"
Uses multiprocessing to run knn for 1,3,7,15 nearest neighbors concurrently.
Read more in the Slovak documentation.
- activate your virtualenv
- cd to the directory where requirements.txt is located
- run:
pip install -r requirements.txt
in your shell - start with
python main.py