Git Product home page Git Product logo

simple-mnist-cnn-beginners's Introduction

CNN for MNIST Handwritten digits dataset

A basic Convolutional Neural Network for classifying the MNIST handwritten digits. For understanding the code, read the brief documentation in the uploaded Jupyter notebook.

Before running the code, make sure you have the dependencies installed in your environment. The requirements have been mentioned in requirements.txt file. Use the command pip install -r requirements.txt for installing all at one go.

Performance of the model :

Loss and Accuracy plot (Training/Validation)

plot

Test evaluation

Test loss :  0.02692016027867794 
Test accuracy :  0.9936000108718872

Correct classifications

Number of correct classifications :  4986 
Number of misclassifications :  14 
Fraction :  0.9972

Classification report

              precision    recall  f1-score   support

     Class 0       1.00      0.99      1.00       520
     Class 1       1.00      0.98      0.99       564
     Class 2       1.00      1.00      1.00       502
     Class 3       1.00      0.99      1.00       510
     Class 4       1.00      0.99      1.00       482
     Class 5       1.00      0.99      0.99       436
     Class 6       0.98      1.00      0.99       496
     Class 7       0.99      0.99      0.99       516
     Class 8       0.99      0.99      0.99       485
     Class 9       1.00      0.99      0.99       489

   micro avg       0.99      0.99      0.99      5000
   macro avg       1.00      0.99      0.99      5000
weighted avg       1.00      0.99      0.99      5000
 samples avg       0.99      0.99      0.99      5000

simple-mnist-cnn-beginners's People

Contributors

ayan-cs avatar

Watchers

 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.