Giter Site home page Giter Site logo

davidstutz / matlab-mnist-two-layer-perceptron Goto Github PK

View Code? Open in Web Editor NEW
59.0 8.0 49.0 11.25 MB

A two layer perceptron implemented in MatLab to recognize handwritten digits based on the MNIST dataset.

Home Page: http://davidstutz.de/seminar-paper-introduction-neural-networks/

MATLAB 100.00%
matlab deep-learning

matlab-mnist-two-layer-perceptron's People

Contributors

davidstutz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

matlab-mnist-two-layer-perceptron's Issues

Working

Hiii sir..My name is Ashok. Can you tell me the procedure that how to work with this.. i have cloned the project and in MATLAB which one i have to run to see the output.. Please help me..

wrong mini-batch code

trainStochasticSquaredErrorTwoLayerPerceptron.m line 55
weight is updated at each sample of minibatch, this is not mini-batch. it's online

Why mini-batch training not work?

Hi, David.

In the file trainStochasticSquaredErrorTwoLayerPerceptron.m, the weight matrices are updated after propagating and back-propagating on each item, this is the standard SGD optimize, while I try to use mini-batch optimize. I modify inputVector = inputValues(:, n(k)); to inputVector = inputValues(:, n(k): n(k) + minBatch ); and change targetVector to targetVector = targetValues(:, n(k): n(k) + minBatch);. I hope the weight matrices are updated epochs times, and this looks like the mini-batch way, However, the experimental results are totally wrong, correct percent is only 10%.

Would you explain why?
Thanks

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.