フィルターのクリア

Code for retraining of ANN gives always the same results (MSE)

1 回表示 (過去 30 日間)
Léon
Léon 2011 年 9 月 25 日
I want to write a small loop to estimate the average performance of each network configuration (that I run n times), but unfortunately I get the same MSE values each time I run the code. Can somebody have a look?
net = init(net);
net = trainlm(net,inputs,targets);
P_train = [P_train; perform(net,trainTargets,outputs)]
P_val = [P_val; perform(net,valTargets,outputs)]
P_test = [P_test; perform(net,testTargets,outputs)]
average_perf = [mean(P_train);mean(P_val);mean(P_test)]
  1 件のコメント
Greg Heath
Greg Heath 2011 年 10 月 13 日
This code makes no sense to me.
Please show more code with plenty of comments
that indicate what you are trying to do.
Greg

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

回答 (1 件)

Jonny
Jonny 2011 年 10 月 12 日
Can you please show me a code if you write this loop?
Thanks :)

カテゴリ

Help Center および File ExchangeFinancial Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by