Code Monkey home page Code Monkey logo

digit-recognizer's Introduction

Digit Recognition ๐ŸŽฐ

This code helps you classify different digits using softmax regression.

Code Requirements ๐Ÿฆ„

You can install Conda for python which resolves all the dependencies for machine learning.

Description ๐Ÿฆ

Softmax Regression (synonyms: Multinomial Logistic, Maximum Entropy Classifier, or just Multi-class Logistic Regression) is a generalization of logistic regression that we can use for multi-class classification (under the assumption that the classes are mutually exclusive). In contrast, we use the (standard) Logistic Regression model in binary classification tasks.

For more information, see

Python Implementation ๐Ÿ‘จโ€๐Ÿ”ฌ

  1. Dataset- MNIST dataset
  2. Images of size 28 X 28
  3. Classify digits from 0 to 9
  4. Logistic Regression, Shallow Network and Deep Network Support added.

Results ๐Ÿ“Š

Execution ๐Ÿ‰

To run the code, type python Dig-Rec.py

python Dig-Rec.py

Results ๐Ÿ“Š

Execution ๐Ÿ‰

To run the code, type python Digit-Recognizer.py

python Digit-Recognizer.py

digit-recognizer's People

Contributors

akshaybahadur21 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

digit-recognizer's Issues

Error encountered while training in Deep Network

`/home/kartik/Desktop/Digit-Recognizer-master/Digit-Recognizer/Digit_Recognizer_DL.py:201:RuntimeWarning: divide by zero encountered in true_divide
dA_last = - (np.divide(Y, A_last) - np.divide(1 - Y, 1 - A_last))

/home/kartik/Desktop/Digit-Recognizer-master/Digit-Recognizer/Digit_Recognizer_DL.py:201: RuntimeWarning: invalid value encountered in true_divide
dA_last = - (np.divide(Y, A_last) - np.divide(1 - Y, 1 - A_last))

/home/kartik/Desktop/Digit-Recognizer-master/Digit-Recognizer/Digit_Recognizer_DL.py:33: RuntimeWarning: invalid value encountered in multiply
dZ = dA * s * (1 - s)

/home/kartik/Desktop/Digit-Recognizer-master/Digit-Recognizer/Digit_Recognizer_DL.py:46: RuntimeWarning: invalid value encountered in less_equal
dZ[Z <= 0] = 0`

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.