필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

It is necessary to reset (initialize) the weights during the learning period??

조회 수: 1 (최근 30일)
omar belhaj
omar belhaj 2014년 7월 3일
마감: MATLAB Answer Bot 2021년 8월 20일
I am working on forecasting of radiation solar by Matlab and I have just beginner’s expertise with the program. it is necessary to reset (initialize) the weights during the learning period to determine the number of hidden layer neurons ? How I can do it? What is the command? this is a part of my program :
please Where can I put the command to reset the weights ???!
n=50; % number of epochs
net=fitnet(NNHL) % NNHHL: number of nodes in hiden layer
for NNHL=1:15
net.layers{1}.dimensions=NNHL;
fprintf('number of nodes is :%d\n',NNHL);
for j=1:1:n % n: number of epochs
[net,tr] = train(net,inputs,targets);
outputs = net(inputsTesting);
perf = mse(net,targetsTesting,outputs);
end
end
best regards

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by