How to properly train the network MPL?

4 ビュー (過去 30 日間)
Veronika
Veronika 2015 年 2 月 28 日
コメント済み: Veronika 2015 年 3 月 19 日
Dear all,
I have this code:
P = [c{1,:}];
T = [c{2,:}];
net1 = newff(P,T,20);
net1.trainparam.epochs = 100;
net = train(net1,P,T);
P = s{1,7};
Y = sim(net1,P);
After running the code, nothing happens. Just Comand Window reports name of file. Why not start training network? Does anyone have any idea? How to make this network trains?

採用された回答

Greg Heath
Greg Heath 2015 年 3 月 18 日
編集済み: Greg Heath 2015 年 3 月 18 日
You seem to repeatedly make this same mistake:
net = train(net1,P,T);
Y = sim(net1,P);
Now: There are 2 nets: net1 and net
Question: which is trained and which is untrained?
PS: MLP(Multi-Layer-Perceptron), not MPL
  1 件のコメント
Veronika
Veronika 2015 年 3 月 19 日
That's what I just don´t know. Because I have this piece of code created from Help in Matlab. I thought that this is the exact syntax. So I don´t know, which one is trained and which aren´t. I need to train the neural network with the given parameters (P,T) and then save this train netwok.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSequence and Numeric Feature Data Workflows についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by