[問題] 類神經網路 Bug 錯誤...
各位大大...
小弟剛剛初試啼聲創建了一個倒傳遞類神經程式...
function test1
P = [0 1 2 3 4 5 6 7 8 9 10];
T = [0 1 2 3 4 3 2 1 2 3 4];
net = newff(minmax(P),[5 1],{'tansig' 'purelin'},'traingd');
net.trainParam.show = 100;
net.trainParam.lr = 0.05;
net.trainParam.epochs = 500;
[net.tr] = train(net,P,T);
去Run 確實可以Run 也有圖形出來...
可是還是出現下面的訊息 好像是說有錯誤...= =
有哪位大大可以幫我解釋一下嗎???
??? Error using ==> network.subsasgn
Reference to non-existent field.
Error in ==> test1 at 10
[net.tr] = train(net,P,T);
TRAINGD-calcgrad, Epoch 0/500, MSE 12.729/0, Gradient 14.86/1e-010
TRAINGD-calcgrad, Epoch 100/500, MSE 0.082174/0, Gradient 0.133331/1e-010
TRAINGD-calcgrad, Epoch 200/500, MSE 0.044553/0, Gradient 0.0500553/1e-010
TRAINGD-calcgrad, Epoch 300/500, MSE 0.0383653/0, Gradient 0.0234007/1e-010
TRAINGD-calcgrad, Epoch 400/500, MSE 0.0366584/0, Gradient 0.0146977/1e-010
TRAINGD-calcgrad, Epoch 500/500, MSE 0.0358333/0, Gradient 0.0113496/1e-010
TRAINGD, Maximum epoch reached, performance goal was not met.
??? Error using ==> network.subsasgn
Reference to non-existent field.
Error in ==> test1 at 10
[net.tr] = train(net,P,T);
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 203.73.164.48
推
09/01 11:17, , 1F
09/01 11:17, 1F
→
09/01 11:19, , 2F
09/01 11:19, 2F
MATLAB 近期熱門文章
PTT數位生活區 即時熱門文章