GithubHelp home page GithubHelp logo

classiccvproblems's Introduction

Hand Written Recognition

This repository contains my test of classic handwritten recognition problem on MNIST.

The dataset contains the MNIST dataset, which is from http://www.iro.umontreal.ca/~lisa/deep/data/mnist/mnist.pkl.gz.

The start code is from theano tutorial, but my implementation goes beyond it's scope.

Code Structure

/MNIST/theano

|-layers
    |-hiddenLayer.py    # hidden layer
    |-convPoolLayer.py  # convolutional + max pooling layer
    |-logisticRegLayer.py  # usually used for the output
|-update
    |-activationFunctions.py  # non-linear functions used in NN
    |-updateMethods.py        # implementation of update methods
|-loader.py   # load data
|-mainLogisticRegression.py  # classify by logistic regression
|-mainMLP.py  # classify by MLP
|-mainCNN.py  # classify by CNN - classic LeNet architecture  

/MNIST

The code relies on an unpublished library, so it cannot run. It is just a NN or CNN structure.

|-train_mnist_mlp.py   # use MLP to solve MNIST dataset
|-train_mnist_lenet.py # use lenet structure to solve MNIST dataset

/CIFAR10

links for CIFAR10:

train_cifar10_fpwider.py  # Floating Point structure, with flipping, less than 15% error rate

The code uses torch,

|-cifar10_lenet.lua   # use LeNet structure to solve CIFAR10 dataset

/SVHN

The code relies on an unpublished library, so it cannot run. It is just a NN or CNN structure.

|-train_svhn_fpnet.py # Floating point structure, less than 3.3% error rate.

classiccvproblems's People

Contributors

junlulocky avatar

Stargazers

 avatar  avatar

Watchers

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