Coder Social home page Coder Social logo

danglingp0inter / recognition-of-handwritten-digits Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 16 KB

Handwritten Digit Recognition using neural nets and ML classifiers

Python 100.00%
machine-learning neural-networks handwritten-digit-recognition python3 k-nearest-neighbors machine-learning-algorithms machine-learning-classifiers random-forest-classifier linear-svc stochastic-gradient-descent

recognition-of-handwritten-digits's Introduction

Recognition-of-Handwritten-digits

An excellent tutorial to understand how the neural network works in general can be found here https://www.youtube.com/watch?v=aircAruvnKk&t=103s

This program is a result from the motivation I got from this series of tutorial
https://www.youtube.com/playlist?list=PLZHQObOWTQDNU6R1_67000Dx_ZCJB-3pi

The problem of classifying digits can also be solved using ML classifiers (using scikit-learn package).
https://www.youtube.com/watch?v=aZsZrkIgan0

The MNIST dataset is a well-known dataset consisting of 28x28 grayscale images. For each image, we know the corresponding digits (from 0 to 9). It is available here: http://yann.lecun.com/exdb/mnist/index.html

I've used 3 different Supervised Machine learning Classification algorithms. It's not possible to say which one is the best to classify this MNIST dataset because that depends on the many criteria and they can be fine-tuned to improve their performance (which I didn't here).

The K-nearest neighbors algorithm is fast to train the data but is slow to compute the results. On the other hand, the Random Forest is faster to classify the data. The results obtained with LinearSVC were less good, but this could probably be improved by using better parameters.

Accuracy results:

Linear Support Vector Classifier(SVC): 88.9%
Random forest: 95.9%
k Nearest Neighbors(k=5): 96.2%

recognition-of-handwritten-digits's People

Contributors

danglingp0inter avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.