Skip to content

K nearest neighbor Classifier implementation in python. Using CIFAR 10 as dataset.

Notifications You must be signed in to change notification settings

azmansami/knn_classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KNN classifier

This is a K nearest neighbor Classifier implementation in python.
L2 Eucledian distance measurement is used.

  • knn.py - Implement k nearest neighbor classifier class
  • cifar10.py - Implementes dataset read, split and show functionality
  • knn_usage.py - Test application, entry point to use knn.py and cifar10.py

ToDo: implement cross validation, As soon as i have some spare time ;)

DataSet

Dataset used is CIFAR-10. Following is a sample from the dataset.

cifar10-sample

About

K nearest neighbor Classifier implementation in python. Using CIFAR 10 as dataset.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages