Skip to content

Smart-Mirror/knn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

knn

kNN classifier for recognizing handwritten numerals.

Data is from the Elements of Statistical Learning. zip.train is used to train the classifier, zip.test is to test its performance. Each contains 16x16-pixel grayscale images of the digits 0-9. There is one digit per row: the column corresponds to the number, the next 256 are the grayscale values.

For each given test point, the k training points with the smallest Euclidean distance are used as its nearest neighbors.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%