早教吧作业答案频道 -->其他-->
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};
>> 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};
▼优质解答
答案和解析
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'});中少了一个逗号
T=[0 1 2 3 4 3 2 1 2 3 4];
net=newff([0 10],[5 1],{'tansig','purelin'});
%你个错误是({'tansig''purelin'});中少了一个逗号
看了 matlab关于newff>...的网友还看了以下:
matlab关于newff>> P=[0 1 2 3 4 5 6 7 8 9 10];>> T=[ 2020-05-17 …
帮我破解下这串数字什么意思9(2)4(3)6(2)2(1)4(3)3(1)4(3)9(1)6(3) 2020-05-17 …
In 2007,M Corporation paid dividends totaling $3 m 2020-05-19 …
1/1=11/2+2/2+1/2=21/3+2/3+3/3+2/3+1/3=31/4+2/4+3/ 2020-06-02 …
某市对50户居民的家庭存款额进行了调查,数据如下(单位:万元)如下1.6,3.5,2.3,6.5, 2020-06-07 …
MATlLAB实现BP神经网络下面的语句都是什么含义net=newff(minmax(minp), 2020-07-17 …
RegularExpressionValidator表达式的问题在asp.net中RegularE 2020-07-23 …
虚数化简1/4*(-4+4*i*3^(1/2))^(1/3)+1/(-4+4*i*3^(1/2)) 2020-07-30 …
VB程序设计1、vb.net定义了哪几种数据类型?什么是变量?什么是常量?2、哪个不能作为vb.n 2020-08-04 …
你还能想出可以像这样转换的其他单词吗?写两组!1.team(队)→maer(肉)2.read(阅读) 2020-12-10 …