Skip to content

The main focus of this project is on analyzing and classifying handwritten digits (0-9) from the MNIST dataset. It includes: Statistical analysis of digit images Visualization of digit features Classification using logistic regression and support vector machines (SVM)

Notifications You must be signed in to change notification settings

BenMohaJr/Graphical-Digit-Classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Digits Analysis and Classification

This repository contains Python code for analyzing and classifying handwritten digits using machine learning techniques. It includes various statistical analyses and classification models applied to the famous MNIST dataset.

Overview

The main focus of this project is on analyzing and classifying handwritten digits (0-9) from the MNIST dataset. It includes:

  • Statistical analysis of digit images
  • Visualization of digit features
  • Classification using logistic regression and support vector machines (SVM)

Features

The key features of this repository include:

  • Statistical analysis functions for matrices representing digit images
  • Visualization functions for histograms and scatter plots
  • Classification using logistic regression and SVM
  • Cross-validation for estimating generalization performance
  • Bonus: Additional statistical analyses such as standard deviation, median, entropy, and skewness

Usage

  1. Data Preparation: The code expects the MNIST dataset, which is commonly available through libraries like scikit-learn.

  2. Exploratory Data Analysis: Various statistical analyses and visualizations are provided to understand the characteristics of the digit images.

  3. Classification: Two classification models, logistic regression, and SVM, are implemented for digit classification.

  4. Bonus Analysis: Additional statistical analyses can be performed on the digit images for further insights.

Requirements

  • Python 3.11
  • Libraries: NumPy, Matplotlib, scikit-learn

How to Run

  1. Clone this repository: https://github.com/BenMohaJr/Graphical-Digit-Classification

About

The main focus of this project is on analyzing and classifying handwritten digits (0-9) from the MNIST dataset. It includes: Statistical analysis of digit images Visualization of digit features Classification using logistic regression and support vector machines (SVM)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages