Coder Social home page Coder Social logo

digit-recognition's Introduction

Digit Recognition

License: MIT

This repository showcases my submissions to the Kaggle Digit Recognizer Competition. The goal of the competition is to create a model which accurately classifies handwritten digits. The competition uses the MNIST ("Modified National Institute of Standards and Technology") dataset to train and test models. Below are two examples of handwritten digits from the MNIST data set. For my first attempt I created an artificial neural network (ANN) which I created in Python using TensorFlow and Keras. More details about the model and my work on this competition are detailed in the sections below.

Image of 3Image of 8

Kaggle Results (so far)

My best CNN model was 98.9% accurate on Kaggle's testing dataset. It has 3 convolutional layers and 3 pooling layers. It used an epoch of 20 and batch size of 120. Notably, the competition uses a different number of training and testing images than the number that the MNIST database orginally intended; the number of training images was reduced from 60,000 to 42,000 and the number of testing images was increased from 10,000 to 28,000. While the total number of images remains constant, this reorganization of images makes training an accurate model more difficult in the Kaggle competition than using the MNIST database directly.

Next Steps

I've learned that ANN models have a ceiling of 99% accuracy and to break the 99% barrier a CNN coupled with image augmentation must be used. Here is a link to a post discussing the capabilities of various models in digit recognition: https://www.kaggle.com/c/digit-recognizer/discussion/61480.

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.