Skip to content

data-science-ml/knn-mnist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

knn-mnist assignment

Assignment

Read about MNIST here: https://en.wikipedia.org/wiki/MNIST_database

Questions about curse of dimensionality noted here.

  • Fork and clone this repo
  • Take the 60,000 handwritten TRAIN images load into Pandas
  • Take the 10,000 handwritten TEST images and compute accuracy for the dataset
    • For example you classified 9000 correctly
    • And so 1000 were classified incorrectly
    • Therefore your accuracy would be 90%
  • Try different amounts for "k" and see how that affects accuracy (hyperparameter)
  • Each image is 28x28 matrix
  • Convert this to a vector and use Euclidean distance (L2) to find its nearest neighbor
  • What is your accuracy for the test dataset?
  • Push up your final code to github

Website

http://yann.lecun.com/exdb/mnist/

Resources

https://www.youtube.com/results?search_query=mnist

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published