Giter VIP home page Giter VIP logo

handwriting-recognition-neural-network's Introduction

Handwriting Recognition Neural Network

The repository contains a dataset of handwrtitten images from MNIST and an Artificial Neural Network on python that trains from the dataset and executes the algorithm on a mini batch of 10,000 test cases repeated over 30 generations to map the accuracy. The algorithm learns using a stochastic gradient descent to speed up learning.

How to Execute

Execute the following command in the Python shell.

training_data, validation_data, test_data = \
mnist_loader.load_data_wrapper()

Now we'll set up a Neural Network with 30 hidden neurons.

net = network.Network([784,30,10])

Finally, we'll use stochastic gradient descent to learn from the MNIST training_data over 30 epochs, with a mini-batch size of 10, and a learning rate of η=3.0

net.SGD(training_data, 30, 10, 3.0, test_data=test_data)

Note - python libraries used for this are - numpy scikit-learn scipy Theano

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.