필터 지우기
필터 지우기

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 CenterFile Exchange에서 Financial Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by