Giter VIP home page Giter VIP logo

akashsdas / digit-recognizer-for-pros Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 597 KB

Deep learning model for Digit Recognizer competition in Kaggle where the model has 99.5% accuracy and model has custom architecture. Also it contains CNN's filters and feature maps visualizations.

License: Apache License 2.0

Jupyter Notebook 100.00%
kaggle kaggle-competition kaggle-digit-recognizer cnn classification tensorflow2 seaborn feature-map filters kaggle-dataset

digit-recognizer-for-pros's Introduction

digit-recognizer-for-pros

Digit Recognizer is a Kaggle competition where using the dataset you have to create a classifier that can classify handwritten images into digits.

Here no pre-trained CNN or predefined architecture is used, this is a custom CNN architecture.

While doing this we'll go through

  • Data augmentation using ImageDataGenerator
  • Building custom CNN architecture
  • Visualizing CNN (filters and feature maps)

Table of contents

Getting started

The notebook is available on Kaggle to work in the same environment where this notebook was created i.e. use the same version packages used, etc...

If you are interested in the model the you can find that in the Output section of the notebook.

Kaggle Competition Results

The best model has an accuracy of 99.5%

Models performance and visualizations

Count plot for labels

The model is trained for 50epochs and below is the last epoch's results

Learning curves

Confidence matrix

Some predictions on the validation set

Visualizing filters

Image of the 96th filter of the 1st conv layer

Images for only first 20 filters in the 1nd conv layer

Images for only first 10 filters in the 2nd conv layer

Visualizing feature maps

We'll visualize feature maps for the digit 7

Feature maps by 1st conv layer

Feature maps by 2nd conv layer

License

APACHE LICENSE, VERSION 2.0

digit-recognizer-for-pros's People

Contributors

akashsdas 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.