Clear Filters
Clear Filters

Backpropogation in Neural Network Toolbox

2 views (last 30 days)
Neelabh Pant
Neelabh Pant on 26 Nov 2016
Commented: Neelabh Pant on 30 Nov 2016
I am trying to implement an Autoencoder to recognize MNIST images. I don't want to use autoencoder available in Neural Network toolbox but just want to use the backpropogation method. How can I use backpropogation method implemented in Neural Network Toolbox in my own created Autoencoder?

Answers (1)

Gautham Sholingar
Gautham Sholingar on 30 Nov 2016
Hi Neelabh,
It is important to realize that the back-propagation methods in the neural network toolbox operate on network classes which are specific to MATLAB and it would be inconvenient to modify your model to ensure that it is compatible with these methods. There are a few ways of solving your problem:
1) Backpropagation for MNIST image classification is a well-studied subject and you should be able to find lots of examples online explaining this in detail along with custom code snippets.
2) The other approach is to use MATLAB Auto-encoders which have been applied to the exact problem you are trying to solve as shown in the following example:
I hope that this is a good starting point for you to think about this problem.
Regards,
Gautham Sholingar
  1 Comment
Neelabh Pant
Neelabh Pant on 30 Nov 2016
Hi Gautham, thank you for answering the question. Like you mentioned, I tried working on trainAutoencoder class in Neural Network Toolbox but faced another challenge. I posted the question related to that here,
Do you think you know the answer to that. Thanks again!

Sign in to comment.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!