BP神经网络matlab程序出错,还请各位不吝赐教,谢谢了
matlab程序如下:p1=data(1:19580,1:3);>>p2=data(19581:59905,1:3);>>p3=data(59906:104097,1:3...
matlab程序如下:
p1=data(1:19580,1:3);
>> p2=data(19581:59905,1:3);
>> p3=data(59906:104097,1:3);
>> p4=data(104098:157722,1:3);
>> P1=[p1;p2;p3;p4]';
>> t1=data(1:19580,4);
>> t2=data(19581:59905,4);
>> t3=data(59906:104097,4);
>> t4=data(104098:157722,4);
>> T1=[t1;t2;t3;t4]';
>> net=newff(minmax(P1),[10,4],{'tansig','logsig'},'trainlm');
>> net.trainParam.epochs=50;
>> net.trainParam.goal=0.01;
>> net=train(net,P1,T1);
data数据格式如下:
程序报错如下:
Warning: NEWFF used in an obsolete way.
> In obs_use at 18
In newff>create_network at 127
In newff at 102
See help for NEWFF to update calls to the new argument list.
Error using network/train (line 272)
Output data size does not match net.outputs{2}.size. 展开
p1=data(1:19580,1:3);
>> p2=data(19581:59905,1:3);
>> p3=data(59906:104097,1:3);
>> p4=data(104098:157722,1:3);
>> P1=[p1;p2;p3;p4]';
>> t1=data(1:19580,4);
>> t2=data(19581:59905,4);
>> t3=data(59906:104097,4);
>> t4=data(104098:157722,4);
>> T1=[t1;t2;t3;t4]';
>> net=newff(minmax(P1),[10,4],{'tansig','logsig'},'trainlm');
>> net.trainParam.epochs=50;
>> net.trainParam.goal=0.01;
>> net=train(net,P1,T1);
data数据格式如下:
程序报错如下:
Warning: NEWFF used in an obsolete way.
> In obs_use at 18
In newff>create_network at 127
In newff at 102
See help for NEWFF to update calls to the new argument list.
Error using network/train (line 272)
Output data size does not match net.outputs{2}.size. 展开
威孚半导体技术
2024-08-19 广告
2024-08-19 广告
威孚(苏州)半导体技术有限公司是一家专注生产、研发、销售晶圆传输设备整机模块(EFEM/SORTER)及核心零部件的高科技半导体公司。公司核心团队均拥有多年半导体行业从业经验,其中技术团队成员博士、硕士学历占比80%以上,依托丰富的软件底层...
点击进入详情页
本回答由威孚半导体技术提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询