Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
akshaybahadur21 authored Jun 3, 2021
1 parent 96dae23 commit 703fa87
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,43 @@
# Digit Recognition using Softmax Regression [![](https://img.shields.io/github/license/sourcerer-io/hall-of-fame.svg?colorB=ff0000)](https://github.com/akshaybahadur21/Digit-Recognizer/blob/master/LICENSE.txt) [![](https://img.shields.io/badge/Akshay-Bahadur-brightgreen.svg?colorB=ff0000)](https://akshaybahadur.com)
This code helps you classify different digits using softmax regression.
# Digit Recognition 🎰

[![](https://img.shields.io/github/license/sourcerer-io/hall-of-fame.svg?colorB=ff0000)](https://github.com/akshaybahadur21/Digit-Recognizer/blob/master/LICENSE.txt) [![](https://img.shields.io/badge/Akshay-Bahadur-brightgreen.svg?colorB=ff0000)](https://akshaybahadur.com)

### Sourcerer
[![](https://sourcerer.io/fame/akshaybahadur21/akshaybahadur21/Digit-Recognizer/images/0)](https://sourcerer.io/fame/akshaybahadur21/akshaybahadur21/Digit-Recognizer/links/0)[![](https://sourcerer.io/fame/akshaybahadur21/akshaybahadur21/Digit-Recognizer/images/1)](https://sourcerer.io/fame/akshaybahadur21/akshaybahadur21/Digit-Recognizer/links/1)[![](https://sourcerer.io/fame/akshaybahadur21/akshaybahadur21/Digit-Recognizer/images/2)](https://sourcerer.io/fame/akshaybahadur21/akshaybahadur21/Digit-Recognizer/links/2)[![](https://sourcerer.io/fame/akshaybahadur21/akshaybahadur21/Digit-Recognizer/images/3)](https://sourcerer.io/fame/akshaybahadur21/akshaybahadur21/Digit-Recognizer/links/3)[![](https://sourcerer.io/fame/akshaybahadur21/akshaybahadur21/Digit-Recognizer/images/4)](https://sourcerer.io/fame/akshaybahadur21/akshaybahadur21/Digit-Recognizer/links/4)[![](https://sourcerer.io/fame/akshaybahadur21/akshaybahadur21/Digit-Recognizer/images/5)](https://sourcerer.io/fame/akshaybahadur21/akshaybahadur21/Digit-Recognizer/links/5)[![](https://sourcerer.io/fame/akshaybahadur21/akshaybahadur21/Digit-Recognizer/images/6)](https://sourcerer.io/fame/akshaybahadur21/akshaybahadur21/Digit-Recognizer/links/6)[![](https://sourcerer.io/fame/akshaybahadur21/akshaybahadur21/Digit-Recognizer/images/7)](https://sourcerer.io/fame/akshaybahadur21/akshaybahadur21/Digit-Recognizer/links/7)
This code helps you classify different digits using softmax regression.

### Code Requirements
## Code Requirements 🦄
You can install Conda for python which resolves all the dependencies for machine learning.

### Description
## 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.

<img src="https://github.com/akshaybahadur21/Digit-Recognizer/blob/master/logistic.png">

For more information, [see](https://www.kdnuggets.com/2016/07/softmax-regression-related-logistic-regression.html)


### Python Implementation
## 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.

### Train Acuracy ~ 91 to 99%
### Test Acuracy ~ 90 to 98%

## Results 📊
<img src="https://github.com/akshaybahadur21/Digit-Recognizer/blob/master/final.gif">

### Execution for writing through webcam
## Execution 🐉
To run the code, type `python Dig-Rec.py`

```
python Dig-Rec.py
```

## Results 📊
<img src="https://github.com/akshaybahadur21/Digit-Recognizer/blob/master/digit.gif">

### Execution for showing images through webcam
## Execution 🐉
To run the code, type `python Digit-Recognizer.py`

```
python Digit-Recognizer.py
```



0 comments on commit 703fa87

Please sign in to comment.