Skip to content

k-nearest-neighbor machine algorithm for classification from scratch.

License

Notifications You must be signed in to change notification settings

calt-laboratory/knn_from_scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

knn_from_scratch

Here I have programmed the KNN machine learning algorithm from scratch. It calculates for one or more selected data points in 1 to n-dimensional space the k nearest neighbors using the Euclidean distance. The class of the selected data point(s) to be predicted, will be determined by using majority voting for the classes of the k neighbors.

About

k-nearest-neighbor machine algorithm for classification from scratch.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages