Coder Social home page Coder Social logo

samahussien7 / handwritten-digit-recognition-with-chaincode-feature-extraction Goto Github PK

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

This script recognize handwritten digits using the MNIST dataset. Implementation using chaincode-based feature extraction, which offers an alternative method for capturing relevant information from digit images. The script divides the data into training and testing sets, utilizes a classifier, and evaluates its accuracy.

Jupyter Notebook 100.00%

handwritten-digit-recognition-with-chaincode-feature-extraction's Introduction

Handwritten-Digit-Recognition-with-Chaincode-Feature-Extraction

This script recognize handwritten digits using the MNIST dataset. Implementation using chaincode-based feature extraction, which offers an alternative method for capturing relevant information from digit images. The script divides the data into training and testing sets, utilizes a classifier, and evaluates its accuracy.

Steps:

Load MNIST Dataset:

Acquires the MNIST dataset containing images of handwritten digits along with their corresponding labels.

Variable Number of Blocks:

Partitions each image into a variable number of blocks (e.g., 9 blocks) to facilitate more detailed feature extraction.

Chaincode Feature Extraction:

Computes the chaincode for each block within the image. Utilizes the chaincode as features for training the classifier. Implements chaincode extraction logic without relying on built-in functions.

Split Data into Train and Test Sets:

Divides the dataset into training and testing sets, typically adhering to a predefined split ratio such as 70-30%.

Choose Classifier:

Selects a classifier from available options, such as Support Vector Machine (SVM), Random Forest, or k-Nearest Neighbors (k-NN).

Train Classifier:

Trains the chosen classifier using the chaincode features extracted from the training set.

Evaluate Accuracy:

Tests the trained classifier on the testing set to evaluate its accuracy. Computes the accuracy metric, representing the percentage of correctly classified digits.

handwritten-digit-recognition-with-chaincode-feature-extraction's People

Contributors

aalaa4444 avatar samahussien7 avatar

Watchers

 avatar

Forkers

aalaa4444

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.