MATLAB神经网络及其应用.课件.ppt
- 【下载声明】
1. 本站全部试题类文档,若标题没写含答案,则无答案;标题注明含答案的文档,主观题也可能无答案。请谨慎下单,一旦售出,不予退换。
2. 本站全部PPT文档均不含视频和音频,PPT中出现的音频或视频标识(或文字)仅表示流程,实际无音频或视频文件。请谨慎下单,一旦售出,不予退换。
3. 本页资料《MATLAB神经网络及其应用.课件.ppt》由用户(三亚风情)主动上传,其收益全归该用户。163文库仅提供信息存储空间,仅对该用户上传内容的表现方式做保护处理,对上传内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(点击联系客服),我们立即给予删除!
4. 请根据预览情况,自愿下载本文。本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
5. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007及以上版本和PDF阅读器,压缩文件请下载最新的WinRAR软件解压。
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- MATLAB 神经网络 及其 应用 课件
- 资源描述:
-
1、MATLAB中的神经网络及其应用:以BP为例主讲:王茂芝 副教授1 一个预测问题n已知:一组标准输入和输出数据(见附件)n求解:预测另外一组输入对应的输出n背景:略2 BP网络3 MATLAB中的newff命令nNEWFF Create a feed-forward backpropagation network.nSyntaxnnet = newffnnet = newff(PR,S1 S2.SNl,TF1 TF2.TFNl,BTF,BLF,PF)命令newff中的参数说明n NET = NEWFF creates a new network with a dialog box.nNEWFF
2、(PR,S1 S2.SNl,TF1 TF2.TFNl,BTF,BLF,PF) takes,nPR - Rx2 matrix of min and max values for R input elements.nSi - Size of ith layer, for Nl layers.nTFi - Transfer function of ith layer, default = tansig.nBTF - Backprop network training function, default = trainlm.nBLF - Backprop weight/bias learning fu
3、nction, default = learngdm.nPF - Performance function, default = mse.nand returns an N layer feed-forward backprop network.参数说明n The transfer functions TFi can be any differentiable transfer function such as TANSIG, LOGSIG, or PURELIN.nThe training function BTF can be any of the backprop training fu
4、nctions such as TRAINLM, TRAINBFG, TRAINRP, TRAINGD, etc.参数说明n*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:n(1) Slow TRAINLM training, but reduce memory requ
5、irements, by setting NET.trainParam.mem_reduc to 2 or more. (See HELP TRAINLM.)n(2) Use TRAINBFG, which is slower but more memory efficient than TRAINLM.n (3) Use TRAINRP which is slower but more memory efficient than TRAINBFG.参数说明n The learning function BLF can be either of the backpropagation lear
6、ning functions such as LEARNGD, or LEARNGDM.nThe performance function can be any of the differentiable performance functions such as MSE or MSEREG.4 MATLAB中的train命令nTRAIN Train a neural network.nSyntaxnnet,tr,Y,E,Pf,Af = train(NET,P,T,Pi,Ai,VV,TV)nDescriptionnTRAIN trains a network NET according to
7、NET.trainFcn and NET.trainParam.输入参数说明n TRAIN(NET,P,T,Pi,Ai) takes,nNET - Network.nP - Network inputs.nT - Network targets, default = zeros.nPi - Initial input delay conditions, default = zeros.nAi - Initial layer delay conditions, default = zeros.nVV - Structure of validation vectors, default = .nT
8、V - Structure of test vectors, default = .输出参数说明nand returns,nNET - New network.nTR - Training record (epoch and perf).nY - Network outputs.nE - Network errors.nPf - Final input delay conditions.nAf - Final layer delay conditions.说明n Note that T is optional and need only be used for networks that re
展开阅读全文