Giter VIP home page Giter VIP logo

hessianfree's Introduction

An open-source implementation of the Hessian-free optimization algorithm, based
on the "Deep Learning via Hessian-free Optimization" paper by James Martens
(ICML 2010, http://www.cs.toronto.edu/~jmartens/docs/Deep_HessianFree.pdf). The
implementation is in Theano (http://deeplearning.net/software/theano), a highly
efficient framework for defining and optimizing expressions with
multi-dimensional arrays, and re-uses a lot of code from the Deep Learning
Tutorials (http://www.deeplearning.net/tutorial).

The prerequisites for using the Hessian-free code are:

   - a working installation of Theano in the python path
   - a copy of the Deep Learning tutorials, which can be checked out from
     https://github.com/lisa-lab/DeepLearningTutorials (simply add the code/
     directory to PYTHONPATH)
   - a one-time execution of the download.sh script (sh download.sh)

Once these pre-requisities are satisfied, you can run the code as follows:

python run_autoencoder.py -p jacobi -b 500 -e 50 -d mnist -o hf

this will load the MNIST dataset, perform 50 iterations of layer-wise RBM
pre-training, followed by Hessian-free optimization of the global
reconstruction cost using mini-batches of size 5000 and an (approximate) Jacobi
pre-conditioner. Supervised learning follows.

The code is companion to the following paper:

Olivier Chapelle and Dumitru Erhan. Improved preconditioner for hessian free
optimization. In NIPS Workshop on Deep Learning and Unsupervised Feature
Learning, 2011. http://olivier.chapelle.cc/pub/precond.pdf

For questions and/or comments, contact Olivier Chapelle and Dumitru Erhan
(usernames chap and dumitru on the yahoo-inc.com domain).

hessianfree's People

Contributors

doomie avatar

Watchers

James Cloos 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.