24小时热门版块排行榜    

查看: 2574  |  回复: 5
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

fwlcq

金虫 (小有名气)

[交流] 【求助】MATLAB中BP神经网络的训练算法具体是怎么样的? 已有1人参与

我一直是在程序里面用train这个训练很熟,但是对已它里面具体的计算方法不大懂,希望高人指点一下!谢谢了!
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

宇翔521

银虫 (小有名气)

引用回帖:
Originally posted by yujunhui at 2009-09-28 08:32:46:
其实每种的算法都有专门的应用领域
作为初学者
你如果不想深究每种算法的过程,你就可以

你就可以针对你的问题,利用算法
至于在训练的过程汇总出现的各种参变量的设置的用途
你可以 help 下
或者
针对 ...

大侠,说的有理啊!
6楼2011-03-12 21:03:23
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 6 个回答

nono2009

超级版主 (文学泰斗)

No gains, no pains.

优秀区长优秀区长优秀区长优秀区长优秀版主

Extracted from MATLAB 2008a help

★ ★ ★ ★ ★ ★ ★
小木虫(金币+0.5):给个红包,谢谢回帖交流
wuguocheng(金币+3,VIP+0):nono版主很有才, 我很骄傲 10-13 22:09
wuguocheng(金币+3,VIP+0):nono版主很有才, 我很骄傲 10-13 22:10
Step 1:
>> help train
--- help for network/train ---

TRAIN Train a neural network.

   Description

     TRAIN trains a network NET according to NET.trainFcn and
     NET.trainParam.
       ... ... ... ...

     TRAIN calls the function indicated by NET.trainFcn, using the
     training parameter values indicated by NET.trainParam.

Step 2: Search for net.trainFcn from online Help
net.trainFcn

This property defines the function used to train the network. You can set it to the name of any of the training function. The training function is used to train the network whenever train is called.

      [net,tr] = train(NET,P,T,Pi,Ai)

For a list of functions type

       help nntrain

Step 3:
>> help nntrain
Contents of nntrain:

trainb                         - Batch training with weight & bias learning rules.
trainbfg                      - BFGS quasi-Newton backpropagation.
trainbr                        - Bayesian Regulation backpropagation.
trainbuwb                  - Batch unsupervised weight/bias training.
trainc                         - Cyclical order weight/bias training.
traincgb                     - Conjugate gradient backpropagation with Powell-Beale restarts.
traincgf                      - Conjugate gradient backpropagation with Fletcher-Reeves updates.
traincgp                     - Conjugate gradient backpropagation with Polak-Ribiere updates.
traingd                       - Gradient descent backpropagation.
traingda                     - Gradient descent with adaptive lr backpropagation.
traingdm                    - Gradient descent with momentum backpropagation.
traingdx                     - Gradient descent w/momentum & adaptive lr backpropagation.
trainlm                       - Levenberg-Marquardt backpropagation.
trainoss                      - One step secant backpropagation.
trainr                         - Random order weight/bias training.
trainrp                       - RPROP backpropagation.
trains                         - Sequential order incremental training w/learning functions.
trainscg                     - Scaled conjugate gradient backpropagation.

Step 4:
如果你想了解某一种具体的算法,可继续深入。如果你只是直接调用,那么使用的只是默认的算法。对于特定的例子,默认的算法可能不是最高效的。

[ Last edited by nono2009 on 2009-9-25 at 15:18 ]
2楼2009-09-25 15:15:04
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

yujunhui

银虫 (著名写手)

★ ★
nono2009(金币+1,VIP+0):谢谢交流! 9-28 09:21
sunxiao(金币+1,VIP+0):追加个币币的奖励 10-14 01:37
其实每种的算法都有专门的应用领域
作为初学者
你如果不想深究每种算法的过程,你就可以

你就可以针对你的问题,利用算法
至于在训练的过程汇总出现的各种参变量的设置的用途
你可以 help 下
或者
针对参变量 提出来,大家一起讨论
因为参变量太多了
不是 一两句话能说清楚的!
安静
3楼2009-09-28 08:32:46
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

fwlcq

金虫 (小有名气)

wuguocheng(金币+0,VIP+0): 那得自己想办法了. 10-13 22:10
非常感谢大侠们的回帖。我知道在help里面可以找到训练算法的用法,但是没有给出比如train的源程序!
4楼2009-10-13 22:05:38
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 龙 兔 虎 猫 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[硕博家园] 上海工程技术大学 激光智能制造课题组 2027级博士研究生招生 +5 oxidpl 2026-09-20 7/350 2026-09-27 10:43 by Equinoxhua
[博后之家] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +3 ViqFlLSxHDGt 2026-09-26 3/150 2026-09-27 10:42 by 4IW0sJvtEqX8
[找工作] 售SCI一区T0P文章,我:8O.55.1.O.54,科目全,可伽急 +3 ViqFlLSxHDGt 2026-09-26 3/150 2026-09-27 10:26 by 4IW0sJvtEqX8
[博后之家] 售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急 +3 ViqFlLSxHDGt 2026-09-26 3/150 2026-09-27 10:21 by 4IW0sJvtEqX8
[公派出国] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +3 GxESXJmptOtQ 2026-09-25 4/200 2026-09-27 06:44 by XgCC8uTcwILl
[考博] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 +3 GxESXJmptOtQ 2026-09-25 4/200 2026-09-27 06:42 by XgCC8uTcwILl
[论文投稿] 售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急 +3 GxESXJmptOtQ 2026-09-25 4/200 2026-09-27 06:39 by XgCC8uTcwILl
[找工作] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +3 GxESXJmptOtQ 2026-09-25 3/150 2026-09-27 06:32 by XgCC8uTcwILl
[找工作] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +3 vQZoDrrm7mUF 2026-09-25 3/150 2026-09-27 06:08 by XgCC8uTcwILl
[公派出国] 售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急 +3 vQZoDrrm7mUF 2026-09-25 3/150 2026-09-27 06:05 by XgCC8uTcwILl
[考研] 售一区SCI文章T0P,我:8O.551.O54,科目全,可十急 +3 vQZoDrrm7mUF 2026-09-25 3/150 2026-09-27 05:56 by XgCC8uTcwILl
[论文投稿] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +4 vQZoDrrm7mUF 2026-09-25 4/200 2026-09-27 05:56 by XgCC8uTcwILl
[找工作] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +5 vQZoDrrm7mUF 2026-09-25 5/250 2026-09-27 05:53 by XgCC8uTcwILl
[博后之家] 售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急 +4 vQZoDrrm7mUF 2026-09-25 4/200 2026-09-27 05:50 by XgCC8uTcwILl
[考研] 售SCI一区T0P文章,我:8O.55.1.O.54,科目全,可伽急 +3 vQZoDrrm7mUF 2026-09-25 5/250 2026-09-27 05:44 by XgCC8uTcwILl
[公派出国] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +4 vQZoDrrm7mUF 2026-09-25 4/200 2026-09-27 05:44 by XgCC8uTcwILl
[考博] 售一区SCI文章T0P,我:8O.551.O54,科目全,可十急 +3 vQZoDrrm7mUF 2026-09-25 3/150 2026-09-27 05:44 by XgCC8uTcwILl
[找工作] 售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急 +4 PGTSwSC3F6nQ 2026-09-24 5/250 2026-09-25 11:19 by yhq9807
[教师之家] 课题组招2027级博士 上海工程技术大学 激光智能制造方向 +4 oxidpl 2026-09-20 6/300 2026-09-24 20:37 by oxidpl
[基金申请] 师弟论文见刊大半年才想起来申请专利,还能抢救一下吗? +4 13108017953 2026-09-21 4/200 2026-09-24 10:06 by kudofaye
信息提示
请填处理意见