Matlab R2014a @newff函数

翻译 2016年08月29日 21:10:47

newff

newff利用的是前馈反向传播算法。
在 R2010b NNET 7.0.版本被废除, Last used in R2010a NNET 6.0.4.

语法

net = newff(P,T,S)
net = newff(P,T,S,TF,BTF,BLF,PF,IPF,OPF,DDF)

参数解释

net = newff(P,T,S)中:

  • P - 含有R个元素的输入向量.
  • T - SN个元素的目标向量.
  • Si - Sizes of N-1 hidden layers, S1 to S(N-1), , 默认为“ []“. (输出层SN取决于 T.)
    最终返回一个N层的前馈backprop 网络

newff(P,T,S,TF,BTF,BLF,PF,IPF,OPF,DDF) :

  • TFi - Transfer function of ith layer. Default is ‘tansig’ for hidden layers, and ‘purelin’ for output layer.
  • BTF - Backprop network training function, default = ‘trainlm’.
  • BLF - Backprop weight/bias learning function, default = ‘learngdm’.
    PF - Performance function, default = ‘mse’.
    IPF - Row cell array of input processing functions.
    Default is {‘fixunknowns’,’remconstantrows’,’mapminmax’}.
    OPF - Row cell array of output processing functions.
    Default is {‘remconstantrows’,’mapminmax’}.
    DDF - Data division function, default = ‘dividerand’;
    and returns an N layer feed-forward backprop network.

    The transfer functions TF{i} 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.

    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.efficiency.memoryReduction to 2 or more. (See HELP 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 be any of the differentiable performance
    functions such as MSE or MSEREG.

    Examples

    [inputs,targets] = simplefitdata;
    net = newff(inputs,targets,20);
    net = train(net,inputs,targets);
    outputs = net(inputs);
    errors = outputs - targets;
    perf = perform(net,outputs,targets)

    Algorithm

    Feed-forward networks consist of Nl layers using the DOTPROD
    weight function, NETSUM net input function, and the specified
    transfer functions.

    The first layer has weights coming from the input. Each subsequent
    layer has a weight coming from the previous layer. All layers
    have biases. The last layer is the network output.

    Each layer’s weights and biases are initialized with INITNW.

    Adaption is done with TRAINS which updates weights with the
    specified learning function. Training is done with the specified
    training function. Performance is measured according to the specified
    performance function.


新版Matlab中神经网络训练函数Newff的使用方法

转载自 新版Matlab中神经网络训练函数Newff的使用方法 一、   介绍新版newff Syntax ·         net = newff(P,T,[S1 S2...

新版Matlab中神经网络训练函数Newff的使用方法

一、   介绍新版newff Syntax ·         net = newff(P,T,[S1 S2...S(N-l)],{TF1 TF2...TFNl}, BTF,BLF,P...

MATLAB r2014a 下载+安装+激活

http://www.tangblog.com/71.htmlMATLAB r2014a,下载包就有7个多GB,装完占用9个多GB,慎装。界面还不错,稍有改良。其实本文是下载+安装+破解啦。读书人的事...

Matlab R2014a libsvm-3.18的安装 总结

1、安装完matalab R2014a后,由于自带的svm不是很好用,大家都用libsvm-3.18。
  • jsjrj01
  • jsjrj01
  • 2014年07月02日 15:34
  • 8650

Caffe+win10 64位+CUDA8.0+cuDNN v5+matlab R2014a详细配置

话不多说,开始配置前期准备工作: ①必须先安装好VS2013 分享个地址http://pan.baidu.com/s/1eSx7RSQ ②装好matlab,这里我用的是R2014a ③ 我的电...

MATLAB R2014a Builder JA总结

MATLAB R2014a Builder JA总结一、配置要求 1、MATLAB版本要求:至少R2006b版本(我是R2014a), 判断是不是支持MATLAB Builder JA : 检查M...

MATLAB R2014b 中文版 使用初了解

再次说明自己是新手一枚,最近在学习使用MATLAB,(下载的为MATLAB R2014b 中文版 ),这里记录一点自己的学习使用的笔记,不喜勿喷。     先看看软件界面,如下图:        ...

Matlab R2014+visual studio 2013 混合编程(2)

看了一篇配置 Visual studio 的博客 写的简单明了,前面已经讲了如何安装Matlab R2014a,visual studio 2013 这里不再说明 先贴上博客的代码 代码一: ...

vs2012 C# 调用 matlab R2014b 编译的dll

首先确定matlab R2014b是完美破解的, 否则不能用mcc 完美破解补丁在这个网站 http://bbs.pcbeta.com/forum.php?mod=viewthread&tid=155...

Matlab_R2014a 破解版下载以及安装教程

Matlab_R2014a 破解版下载以及安装教程需要准备的工具/材料Matlab_R2014a 下载地址 : 点击下载Matlab_2014a         提取密码 : rua6方法...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Matlab R2014a @newff函数
举报原因:
原因补充:

(最多只允许输入30个字)