MATLAB神经网络及其应用.ppt
《MATLAB神经网络及其应用.ppt》由会员分享,可在线阅读,更多相关《MATLAB神经网络及其应用.ppt(24页珍藏版)》请在三一办公上搜索。
1、MATLAB中的神经网络及其应用:以BP为例,1 一个预测问题,已知:一组标准输入和输出数据(见附件)求解:预测另外一组输入对应的输出背景:略,2 BP网络,3 MATLAB中的newff命令,NEWFF Create a feed-forward backpropagation network.Syntaxnet=newffnet=newff(PR,S1 S2.SNl,TF1 TF2.TFNl,BTF,BLF,PF),命令newff中的参数说明,NET=NEWFF creates a new network with a dialog box.NEWFF(PR,S1 S2.SNl,TF1 T
2、F2.TFNl,BTF,BLF,PF)takes,PR-Rx2 matrix of min and max values for R input elements.Si-Size of ith layer,for Nl layers.TFi-Transfer function of ith layer,default=tansig.BTF-Backprop network training function,default=trainlm.BLF-Backprop weight/bias learning function,default=learngdm.PF-Performance fun
3、ction,default=mse.and returns an N layer feed-forward backprop network.,参数说明,The transfer functions TFi can be any differentiable transfer function such as TANSIG,LOGSIG,or PURELIN.The training function BTF can be any of the backprop training functions such as TRAINLM,TRAINBFG,TRAINRP,TRAINGD,etc.,参
4、数说明,*WARNING*:TRAINLM is the default training function because it is very fast,but it requires a lot of memory to run.If you get an out-of-memory error when training try doing one of these:(1)Slow TRAINLM training,but reduce memory requirements,by setting NET.trainParam.mem_reduc to 2 or more.(See H
5、ELP TRAINLM.)(2)Use TRAINBFG,which is slower but more memory efficient than TRAINLM.(3)Use TRAINRP which is slower but more memory efficient than TRAINBFG.,参数说明,The learning function BLF can be either of the backpropagation learning functions such as LEARNGD,or LEARNGDM.The performance function can
6、be any of the differentiable performance functions such as MSE or MSEREG.,4 MATLAB中的train命令,TRAIN Train a neural network.Syntaxnet,tr,Y,E,Pf,Af=train(NET,P,T,Pi,Ai,VV,TV)DescriptionTRAIN trains a network NET according to NET.trainFcn and NET.trainParam.,输入参数说明,TRAIN(NET,P,T,Pi,Ai)takes,NET-Network.P
7、-Network inputs.T-Network targets,default=zeros.Pi-Initial input delay conditions,default=zeros.Ai-Initial layer delay conditions,default=zeros.VV-Structure of validation vectors,default=.TV-Structure of test vectors,default=.,输出参数说明,and returns,NET-New network.TR-Training record(epoch and perf).Y-N
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- MATLAB 神经网络 及其 应用

链接地址:https://www.31ppt.com/p-5439217.html