Highlights from
Deep Learning Toolbox

  • F=makeLMfilters
    Returns the LML filter bank of size 49x49x48 in F. To convolve an
  • X=flipall(X)
  • allcomb(varargin)
    ALLCOMB - All combinations
  • caeapplygrads(cae)
  • caebbp(cae)
  • caebp(cae, y)
  • caedown(cae)
  • caenumgradcheck(cae, x, y)
  • caesdlm(cae, opts, m)
  • caetrain(cae, x, opts)
    caenumgradcheck(cae,x1,x2);
  • caeup(cae, x)
  • cnnapplygrads(net, opts)
  • cnnbp(net, y)
  • cnnff(net, x)
  • cnnnumgradcheck(net, x, y)
  • cnnsetup(net, x, y)
  • cnntest(net, x, y)
  • cnntrain(net, x, y, opts)
  • dbnsetup(dbn, x, opts)
  • dbntrain(dbn, x, opts)
  • dbnunfoldtonn(dbn, output...
    DBNUNFOLDTONN Unfolds a DBN to a NN
  • expand(A, S)
    EXPAND Replicate and tile each element of an array, similar to repmat.
  • f=tanh_opt(A)
  • flicker(X,fps)
  • fliplrf(x)
    FLIPLR Flip matrix in left/right direction.
  • flipudf(x)
    FLIPUD Flip matrix in up/down direction.
  • im2patches(im,m,n)
  • isOctave()
    detects if we're running Octave
  • max3d(X, M)
  • myOctaveVersion()
    return OCTAVE_VERSION or 'undefined' as a string
  • nnapplygrads(nn)
    NNAPPLYGRADS updates weights and biases with calculated gradients
  • nnbp(nn)
    NNBP performs backpropagation
  • nnchecknumgrad(nn, x, y)
  • nneval(nn, loss, train_x,...
    NNEVAL evaluates performance of neural network
  • nnff(nn, x, y)
    NNFF performs a feedforward pass
  • nnpredict(nn, x)
  • nnsetup(architecture)
    NNSETUP creates a Feedforward Backpropagate Neural Network
  • nntest(nn, x, y)
  • nntrain(nn, train_x, trai...
    NNTRAIN trains a neural net
  • nnupdatefigures(nn,fhandl...
    NNUPDATEFIGURES updates figures during training
  • normalize(x, mu, sigma)
  • patches2im(patches,n,m)
  • r=visualize(X, mm, s1, s2)
    FROM RBMLIB http://code.google.com/p/matrbm/
  • randp(P,varargin)
    RANDP - pick random values with relative probability
  • rbmdown(rbm, x)
  • rbmtrain(rbm, x, opts)
  • rbmup(rbm, x)
  • rnd(x)
  • saesetup(size)
  • saetrain(sae, x, opts)
  • scaesetup(cae, x, opts)
  • scaetrain(scae, x, opts)
  • sigm(P)
  • sigmrnd(P)
  • softmax(eta)
  • test_cnn_gradients_are_nu...
  • test_example_CNN
    ex1 Train a 6c-2s-12c-2s Convolutional neural network
  • test_example_DBN
    ex1 train a 100 hidden unit RBM and visualize its weights
  • test_example_NN
    normalize
  • test_example_SAE
    ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN
  • test_nn_gradients_are_num...
  • whiten(X, fudgefactor)
  • x=randcorr(n,R)
    RANDCORR Generates corremlated random variables
  • zscore(x)
  • caeexamples.m
    mnist data
  • runalltests.m
  • View all files

5.0

5.0 | 9 ratings Rate this file 463 Downloads (last 30 days) File Size: 14.1 MB File ID: #38310
image thumbnail

Deep Learning Toolbox

by

 

24 Sep 2012 (Updated )

Deep Belief Nets, Stacked Autoencoders, Convolutional Neural Nets and more. With examples.

| Watch this File

File Information
Description

DeepLearnToolbox
A Matlab toolbox for Deep Learning.
Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data. It is inspired by the human brain's apparent deep (layered, hierarchical) architecture. A good overview of the theory of Deep Learning theory is Learning Deep Architectures for AI

For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.

The Next Generation of Neural Networks (Hinton, 2007)
Recent Developments in Deep Learning (Hinton, 2010)
Unsupervised Feature Learning and Deep Learning (Ng, 2011)
If you use this toolbox in your research please cite:

Prediction as a candidate for learning deep hierarchical models of data (Palm, 2012)

Directories included in the toolbox
NN/ - A library for Feedforward Backpropagation Neural Networks

CNN/ - A library for Convolutional Neural Networks

DBN/ - A library for Deep Belief Networks

SAE/ - A library for Stacked Auto-Encoders

CAE/ - A library for Convolutional Auto-Encoders

util/ - Utility functions used by the libraries

data/ - Data used by the examples

tests/ - unit tests to verify toolbox is working

For references on each library check REFS.md

Required Products MATLAB
MATLAB release MATLAB 7.11 (R2010b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (11)
23 Apr 2014 Kazuhito Sato

Thanks for your code.
This code is very useful and exciting for me.

03 Apr 2014 ted p teng  
13 Mar 2014 Yong Ho

Thanks for your code! But, when I execute cnnexamples in CNN folder after modifying cnn.layers' kernel size from "5" to "4",
I got an error in cnnbp.m line 37 like "Array dimensions must match for binary array op."
please check this error message. Thanks.

15 Feb 2014 Andrew Diamond

Just tried to run the 2nd DBN example and it failed. First, the assert at line 6 of rbmtrain.m failed. From what I see, the assert should be ==0 not ~= 0 (numbatches should be integer).

Secondly, the example failed on nnff line 14. From what I can tell, the last size size in dbn.sizes should be 10 as that's the y (==> output layer) size.

31 Jan 2014 GĂ©raud

Thanks for your code! I would like to know if there is more documentation than the few examples that are given? Particularly for the cnn.layer in the CNN toolbox?

04 Dec 2013 Al  
01 Jun 2013 random22

How do I find the probability of a label being selected with this code? I am new to neural networks and am just trying this toolbox out.

12 Feb 2013 Johnathan  
27 Nov 2012 Jeff  
02 Nov 2012 Ahmed

Well written code that saved me a lot of time.

24 Sep 2012 Sebastien PARIS  
Updates
22 Apr 2014

Changed to use GitHub

Contact us