An open API service indexing awesome lists of open source software.

https://github.com/dkealvaro/mnist

Achieved 75% accuracy in the MNIST dataset using a simple cosine similarity approach under 50 lines of code, with no training
https://github.com/dkealvaro/mnist

cosine-similarity machine-learning mnist numpy

Last synced: 3 months ago
JSON representation

Achieved 75% accuracy in the MNIST dataset using a simple cosine similarity approach under 50 lines of code, with no training

Awesome Lists containing this project

README

          


Banner

# MNIST Digit Recognition

Achieved 75% accuracy using a simple cosine similarity approach under 50 lines of code, with no training.
Each instance from the test set is compared with `num_neighbors` instances of each digit from the training set, and the digit with the highest sum of similarities is predicted. As we can see in the plot below, the accuracy increases with the number of neighbors.


Results