When does Matlab consider a Neural Network deep?

조회 수: 2 (최근 30일)
Annette Mai
Annette Mai 2021년 1월 26일
댓글: Walter Roberson 2021년 1월 30일
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?
  댓글 수: 2
Annette Mai
Annette Mai 2021년 1월 26일
I can delcare a FFNN with two hidden layers like this:
a = [1 2 3 4 5 6 7 8 9 10 7 8 9 10 11 12 13 14 15 16];
b = [7 8 9 10 11 12 13 14 15 16 1 2 3 4 5 6 7 8 9 10];
c = a.*b;
FFnet = feedforwardnet([3,4]);
FFnet = train(FFnet, [a;b], c)
Walter Roberson
Walter Roberson 2021년 1월 30일
"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

댓글을 달려면 로그인하십시오.

답변 (1개)

Rohit Pappu
Rohit Pappu 2021년 1월 29일
trainNetwork works with Deep Learning Layers. Additional Information can be found here
  댓글 수: 2
Annette Mai
Annette Mai 2021년 1월 29일
So for Mathworks a feedfoward net with two hidden layers is not a deep neural net?!
Annette Mai
Annette Mai 2021년 1월 29일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by