GithubHelp home page GithubHelp logo

m-niemeyer / mnist_classification Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 6 KB

A neural network (one input, three hidden, one output layer) to classify the MNIST handwritten digits

Jupyter Notebook 100.00%
mnist mnist-classification neural-network deep-learning stochastic-gradient-descent jupyter-notebook

mnist_classification's Introduction

MNIST Classification with a Neural Network


In this script, a neural network consisting of one input layer (784 Neurons), three hidden layers (128/72/72 Neurons), and one output layer (10 Neurons) is used to classify handwritten digits. The input values are the grayscale pixel values of 28x28 images of handwritten digits. The output neurons indicate to which of the 10 digit classes (0 - 9) the input is expected to belong. The network is trained in a classic stochastic gradient descent manner, with sigmoids as activation functions and the sum of squared errors of prediction (SSE) is the loss function which is optimised.

Data


In order to run the script, you need the MNIST data in the csv file format. You can download the test and train data set e.g. from the following link: https://pjreddie.com/projects/mnist-in-csv/

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.