Shallow Neural Network with Stochastic Gradient Descent
Show older comments
Hi
I am looking to design a shallow neural network with the gradient descent algorithm. From what I can find from research and Googling, the old Neural Networks toolbox didn't have this option. I understand the options I am looking for are available with the CNN functions. But I just need a simple multilayered Aritificial Neural Network with stochastic gradient descent. I have the neural network setup with feedforwardnet but I can't find any function for stochastic gradient descent as a training function, i.e. no mini-Batches.
So far, I have the simple gradient descent: net.trainFcn = 'traingd';
Am I missing something? Or coding it from scratch is the only option?
Accepted Answer
More Answers (0)
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!