Classifying Handwritten Digits using MNIST Dataset

Classifying Handwritten Digits using MNIST Dataset

The goal of this data science project is to take an image of a handwritten single digit, and determine what that digit is.


Each project comes with 2-5 hours of micro-videos explaining the solution.

Code & Dataset

Get access to 50+ solved projects with iPython notebooks and datasets.

Project Experience

Add project experience to your Linkedin/Github profiles.

Customer Love

Read All Reviews


Lead Consultant, ITC Infotech

The project orientation is very much unique and it helps to understand the real time scenarios most of the industries are dealing with. And there is no limit, one can go through as many projects... Read More

Mohamed Yusef Ahmed

Software Developer at Taske

Recently I became interested in Hadoop as I think its a great platform for storing and analyzing large structured and unstructured data sets. The experts did a great job not only explaining the... Read More

What will you learn

Unzipping folders and loading the dataset
Visualizing different images available in the dataset
Using the summary function for basic EDA
Understanding left-skew and right-skew of the dataset
Preprocessing the train dataset for initial predictions
Apply ensemble model Random Forest for predictions
Use the Importance function in R for extracting the necessary features
Plotting graphs for feature versus MeanDecresedGini
Hyper-parameter tuning Random Forest and selecting the best parameters for this model
Plotting graphs for against parameters and OOB errors
Importing FNN library and using K-nearest neighbors as the training model
Importing XGBoost and converting Dataset into DMatrix for performing predictions
Defining parameters and performing Cross Folds validation using XGBoost model
Predicting using XGBoost and saving the predictions in form of CSV
Installing h2o package for using complete RAM and CPU cores available
Initializing an h2o cluster
Initializing a DeepLearning Neural Networks model
Defining , Understanding parameters and Training Neural Networks for predictions
Plotting Confusion matrix and interpreting the result
Predicting the result and saving it in the form of CSV
Shutting down the h2o created cluster

Project Description

Data scientists looking for their first machine learning or data science project begin by trying the handwritten digit recognition problem. The Digit Recognizer data science project makes use of the popular MNIST database of handwritten digits, taken from American Census Bureau employees. The dataset consists of already pre-processed and formatted 60,000 images of 28x28 pixel handwritten digits. With the use of image recognition techniques and a chosen machine learning algorithm, a program can be built to accurately read the handwritten digits with 95% accuracy. The accuracy rate can be higher based on the chosen machine learning algorithm,

Similar Projects

Text data requires special preparation before you can start using it for any machine learning project.In this ML project, you will learn about applying Machine Learning models to create classifiers and learn how to make sense of textual data.

Build a predictive model to correctly classify products between 9 product categories (fashion, electronics, etc.) using the Otto Group dataset.

In this project, we will automate the loan eligibility process (real-time) based on customer details while filling the online application form.

Curriculum For This Mini Project

04h 29m