Skip to content

Image classification of handwritten numbers 0️⃣1️⃣2️⃣3️⃣4️⃣5️⃣6️⃣7️⃣8️⃣9️⃣

Notifications You must be signed in to change notification settings

blakeb211/mnist-digits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MNIST

  • Data science pipeline applied to a classic machine learning benchmark dataset--MNIST handwritten digits

Exploratory Data Analysis

Averaged representations

Alt text

Outliers extracted using matrix-matrix distances from the mean

Alt text

Alt text

Hyperparameter tuning the neural network

Alt text

Model Results

  • The confusion matrix shows accuracy prediction for each digit, and which digits are most commonly mistaken for others
  • The F1 multiclass weighted score is 98.8
  • 3 is most commonly mispredicted as 5 and 4 is most commonly mispredicted as 9 Alt text

Metadata

  • Scripts log all the important machine learning metadata in json format Alt text

Usage

  • Installing the pip package python-mnist puts the data downloading script emnist_get_data.sh in your python bin directory. e.g ls PYTHON_BIN_DIR | grep mnist
  • Run tests with pytest tests/*
  • View json metadata with jq utility jq . models/*.json
  • Project plan document found in plan.md

About

Image classification of handwritten numbers 0️⃣1️⃣2️⃣3️⃣4️⃣5️⃣6️⃣7️⃣8️⃣9️⃣

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages