GithubHelp home page GithubHelp logo

eminst_digit_machinelearning's Introduction

EMNIST Digit Classifier

This project is an exploration into machine learning with a focus on classifying handwritten digits from the Extended Modified National Institute of Standards and Technology (EMNIST) dataset. Utilizing both the RandomForestClassifier algorithm and a Neural Network model, this Python-based project demonstrates the process of loading and preparing data, selecting, training, and finally evaluating their performance.

Getting Started

These instructions will guide you through setting up and running the project on your local machine for development and testing purposes.

Prerequisites

Before you begin, ensure you have the following software installed on your system:

  • Python 3.x
  • Pip (Python package installer)

Installation

First, clone the repository to your local machine:

git clone https://github.com/<your_username>/<project_name>.git
cd <project_name>

Then, install the required Python packages:

pip install pandas numpy scikit-learn matplotlib tensorflow

Running the Project

To run the RandomForest model, execute the following command:

python RandomForest_Model.py

To run the Neural Network model, execute the following command:

python NeuralNetwork_Model.py

This script will:

  • Load and prepare the EMNIST dataset.
  • Train the specified model (RandomForestClassifier or Neural Network).
  • Evaluate the model's accuracy on the test dataset.

Data Download

The datasets for this project can be downloaded from the following Google Drive links:

Please download the datasets and place them in the appropriate directory before running the project scripts.

Project Structure

  • emnist-digits-train.csv: Training data file.
  • emnist-digits-test.csv: Test data file.
  • RandomForest_Model: Main Python script for training and evaluating the random forest model
  • NeuralNetwork_Model: Main Python script for training and evaluating the neural network model

Built With

  • Pandas - For data manipulation and analysis.
  • NumPy - For handling large, multi-dimensional arrays and matrices.
  • Scikit-learn - For machine learning.
  • Matplotlib - For creating static, interactive, and animated visualizations in Python.
  • TensorFlow and Keras - For building and training the neural network model.

eminst_digit_machinelearning's People

Contributors

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