GithubHelp home page GithubHelp logo

simple-perceptron's Introduction

usage

Install requirements with virtualenv.

First run load.py normalize and add bias to inputs. It then reads inputs and targets into binary files. Targets get processed into arrays with a '1' indicating target.

Run train.py. Takes 2 arguments: learning rate and epochs.

Both files assume /MNIST/ in repo directory.

virtual env

pip3 install virtualenv

virtualenv -p python3 env

This will install virtualenv using pip3 and create a an env folder that will contain the libraries it uses.

source env/bin/activate

This will put your shell into the virtual environment where you will have the libraries brought it. (Note: fish `. env/bin/activate.fish*)*

pip3 install -r requirements.txt

This will install the libraries that are found in requirements.txt When you are done working, use deactivate to get out of the virtual environment

log

sort arrays. (ie is it x[i][j] or other way around?)

10/24

Can weight updates be done with matrix ops? YES Test arrays with Python3 interpreter Working out algorithm

simple-perceptron's People

Contributors

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