Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 814 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 814 Bytes

Linear Perceptron Classifier

Description

This project is an implementation of a handwritten digit recognition model using the Single-Layer Perceptron learning algorithm.

Single Neuron

Instructions to run

  1. Create a virtual environment
    • $ python3 -m venv myvenv
  2. Activate the virtual environment
    • $ source myvenv/bin/activate
  3. Install the requirements
    • $ pip install -r requirements.txt
  4. Run the tests
    • $ python test_feature_extraction.py
  5. Run the main script
    • $ python main.py
  6. Deactivate the virtual environment
    • $ deactivate

Resources