When does Matlab consider a Neural Network deep?

1 view (last 30 days)
Annette Mai
Annette Mai on 26 Jan 2021
Commented: Walter Roberson on 30 Jan 2021
I want to use a feedforward NN (FFNN) with at least two hidden layers. This is no problem with the feedforwardnet function. I also can train the net with the train function, where it says "Train shallow neural network". In most literature I read, a shallow NN is defiend as a NN with only one hidden layer and a deep NN is one with more than one hidden layer. For deep NNs Mathworks recomends trainNetwork as a train function. But I was not able to train my FFNN with this function.
So where does Mathworks draw the line between shallow and deep NNs? Or is there a way to train my FFNN with trainNetwork?
Walter Roberson
Walter Roberson on 30 Jan 2021
"Deep" for Neural Network seems to be much the same as "deep" for philosophy:
  1. It claims to encompass pretty much everything
  2. Hardly anybody really understands the logic behind it

Sign in to comment.

Answers (1)

Rohit Pappu
Rohit Pappu on 29 Jan 2021
trainNetwork works with Deep Learning Layers. Additional Information can be found here
Annette Mai
Annette Mai on 29 Jan 2021
I want to map a nonlinear equation with a NN. I´ve got data like in my other exampel a and b as Inputs and c as the resulting output. How could I load this data into the Deep Network Designer? All the examples seem to be about image processing.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!