Skip to content

MartinMatta/k-Nearest-Neighbors-in-Python-From-Scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k-Nearest Neighbors in Python From Scratch

system schema

Prerequisites:

  • pandas ≥ 1.0.0
  • numpy ≥ 1.18.0

Download

$ git clone https://github.com/MartinMatta/k-Nearest-Neighbors-in-Python-From-Scratch
$ cd k-Nearest-Neighbors-in-Python-From-Scratch

Result KNN using Euclidean distance

$ python3 result.py --test_split 0.3 --metric eucludean

Result KNN using Manhattan distance

$ python3 result.py --test_split 0.3 --metric manhattan

Releases

No releases published

Packages

No packages published

Languages