Skip to content

Training the k-NN classifier using the training set and tune the hyperparameters to optimize its performance on the validation set.

License

Notifications You must be signed in to change notification settings

efecanxrd/kNN-MNIST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

KNN MNIST

Training the k-NN classifier using the training set and tune the hyperparameters to optimize its performance on the validation set.

Setup The Project

Install Python

I recommend that you install Python3x

Install Libraries

You can install the library by typing 'pip install -r requirements.txt' in the terminal

How this is working?

This code implements a k-NN classifier using the Scikit-learn library. Training the k-NN classifier using the training set and tune the hyperparameters to optimize its performance on the validation set. Specifically, finding the optimal number of nearest neighbors (n neighbors, see documentation) to use.

About

Training the k-NN classifier using the training set and tune the hyperparameters to optimize its performance on the validation set.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published