matlab关于newff>> 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([0 10],[5 1],{'tansig''purelin'});接着就出来Error using ==> network.subsasgn"layers{1}.transferFcn" cannot be set to non-existing function "tansig'purelin".
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/28 17:59:16
matlab关于newff>> 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([0 10],[5 1],{'tansig''purelin'});接着就出来Error using ==> network.subsasgn"layers{1}.transferFcn" cannot be set to non-existing function "tansig'purelin".
matlab关于newff
>> 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([0 10],[5 1],{'tansig''purelin'});
接着就出来
Error using ==> network.subsasgn
"layers{1}.transferFcn" cannot be set to non-existing function "tansig'purelin".
Error in ==> newff at 145
net.layers{i}.transferFcn = tf{i};
matlab关于newff>> 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([0 10],[5 1],{'tansig''purelin'});接着就出来Error using ==> network.subsasgn"layers{1}.transferFcn" cannot be set to non-existing function "tansig'purelin".
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([0 10],[5 1],{'tansig','purelin'});
%你个错误是({'tansig''purelin'});中少了一个逗号