Skip to content

Applying ML techniques to the MNIST dataset, I analyze pixel information to differentiate and classify a handwritten digit.

Notifications You must be signed in to change notification settings

PianoDevOps/MNIST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 

Repository files navigation

This repository contains a Python code that uses the MNIST dataset to train four different classification models to recognize handwritten digits.

Installation

Clone the repository and install the required packages via: pip install -r requirements.txt

Usage

To train the model of your choice run the following command: python KH-MNIST.py

Results

image

  • The RFC had the highest accuracy score and the shortest training time.
  • The SVC had the second highest accuracy score and the longest training time.
  • The KNC had the third highest accuracy score and the second shortest training time.
  • The LR had the lowest accuracy score and the shortest latency.

Accuracy Score: measures how well a model predicts the correct output. Here it refers to the percentage of times that the model correctly predicted the label of each input.

Training Time: amount of time it takes for a model to process or "learn" a dataset.

Latency: amount of time it takes for a model to make a prediction on a new input or the time spent for predicting a single digit.

About

Applying ML techniques to the MNIST dataset, I analyze pixel information to differentiate and classify a handwritten digit.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages