-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
96dae23
commit 703fa87
Showing
1 changed file
with
11 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,43 @@ | ||
# Digit Recognition using Softmax Regression [](https://github.com/akshaybahadur21/Digit-Recognizer/blob/master/LICENSE.txt) [](https://akshaybahadur.com) | ||
This code helps you classify different digits using softmax regression. | ||
# Digit Recognition 🎰 | ||
|
||
[](https://github.com/akshaybahadur21/Digit-Recognizer/blob/master/LICENSE.txt) [](https://akshaybahadur.com) | ||
|
||
### Sourcerer | ||
[](https://sourcerer.io/fame/akshaybahadur21/akshaybahadur21/Digit-Recognizer/links/0)[](https://sourcerer.io/fame/akshaybahadur21/akshaybahadur21/Digit-Recognizer/links/1)[](https://sourcerer.io/fame/akshaybahadur21/akshaybahadur21/Digit-Recognizer/links/2)[](https://sourcerer.io/fame/akshaybahadur21/akshaybahadur21/Digit-Recognizer/links/3)[](https://sourcerer.io/fame/akshaybahadur21/akshaybahadur21/Digit-Recognizer/links/4)[](https://sourcerer.io/fame/akshaybahadur21/akshaybahadur21/Digit-Recognizer/links/5)[](https://sourcerer.io/fame/akshaybahadur21/akshaybahadur21/Digit-Recognizer/links/6)[](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 | ||
``` | ||
|
||
|
||
|