| 3 | 1/1 | 返回列表 |
| 查看: 633 | 回復: 2 | ||||
[求助]
BP神經(jīng)網(wǎng)絡newff函數(shù)的格式
|
|
想知道BP神經(jīng)網(wǎng)絡newff函數(shù)的格式 net=newff(PR,[S1 S2 ...SN],{TF1 TF2...TFN},BTF,BLF,PF)和 net = newff(P,T,[S1 S2...S(N-l)],{TF1 TF2...TFNl}, BTF,BLF,PF,IPF,OPF,DDF)有什么區(qū)別嗎?到底哪個正確呢? [ Last edited by dbb627 on 2013-6-7 at 09:00 ] |
榮譽版主 (著名寫手)
![]() |
專家經(jīng)驗: +4 |
|
http://blog.sina.com.cn/s/blog_64b046c70101cko4.html 新版newff與舊版newff調(diào)用語法對比 Example1 比如輸入input(6*1000),輸出output為(4*1000),那么 舊版定義:net=newff(minmax(input),[14,4],{'tansig','purelin'},'trainlm'); 新版定義:net=newff(input,output,14,{'tansig','purelin'},'trainlm'); Example2 比如輸入input(6*1000),輸出output為(4*1000),那么 舊版定義:net=newff(minmax(input),[49,14,4],{'tansig','tansig','tansig'},'traingdx'); 新版定義:net=newff(input,output, [49,14], {'tansig','tansig','tansig'},'traingdx'); 三、 舊版newff使用方法在新版本中使用 提示:舊版本定義的newff雖也能在新版本中使用,但會有警告,警告如下: 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. 四、 新版newff與舊版newff使用的訓練效果對比 舊版本:舊用法訓練次數(shù)多,但精度高 新版本:新用法訓練次數(shù)少,但精度可能達不到要求 造成上述原因是: 程序里面的權值、閾值的初始值是隨機賦值的,所以每次運行的結(jié)果都會不一樣,有好有壞。 你可以把預測效果不錯的網(wǎng)絡的權值和閾值作為初始值。 具體可以查看net.iw{1,1}、net.lw{2,1}、net.b{1}、net.b{2}的值。 |

|
Example1 比如輸入input(6*1000),輸出output為(4*1000),那么 舊版定義:net=newff(minmax(input),[14,4],{'tansig','purelin'},'trainlm'); 新版定義:net=newff(input,output,14,{'tansig','purelin'},'trainlm'); Example2 比如輸入input(6*1000),輸出output為(4*1000),那么 舊版定義:net=newff(minmax(input),[49,14,4],{'tansig','tansig','tansig'},'traingdx'); 新版定義:net=newff(input,output, [49,14], {'tansig','tansig','tansig'},'traingdx'); 想知道上面的神經(jīng)元個數(shù)和層數(shù) 49 14 4 是怎么確定的呢? |
| 3 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 329求調(diào)劑 +6 | 星野? 2026-03-26 | 6/300 |
|
|---|---|---|---|---|
|
[考研] 320分,材料與化工專業(yè),求調(diào)劑 +8 | 一定上岸aaa 2026-03-27 | 12/600 |
|
|
[考研] 286求調(diào)劑 +12 | PolarBear11 2026-03-26 | 12/600 |
|
|
[材料工程] 一志愿C9材料與化工專業(yè)總分300求調(diào)劑 +8 | 曼111 2026-03-24 | 9/450 |
|
|
[考研] 322求調(diào)劑 +4 | 我真的很想學習 2026-03-23 | 4/200 |
|
|
[考研] 材料求調(diào)劑 +5 | .m.. 2026-03-25 | 5/250 |
|
|
[考研] 0703化學一志愿南京師范大學303求調(diào)劑 +3 | zzffylgg 2026-03-24 | 3/150 |
|
|
[考研] 求調(diào)劑 +6 | 林之夕 2026-03-24 | 6/300 |
|
|
[考研]
材料學碩,求調(diào)劑
6+5
|
糖葫蘆888ll 2026-03-22 | 10/500 |
|
|
[考研] 081200-11408-276學碩求調(diào)劑 +3 | 崔wj 2026-03-26 | 3/150 |
|
|
[考研] 求調(diào)劑 一志愿 本科 北科大 化學 343 +6 | 13831862839 2026-03-24 | 7/350 |
|
|
[考研] 081700 調(diào)劑 267分 +11 | 迷人的哈哈 2026-03-23 | 11/550 |
|
|
[考研] 環(huán)境專碩324分求調(diào)劑推薦 +5 | 軒小寧—— 2026-03-26 | 5/250 |
|
|
[考研] 291 求調(diào)劑 +7 | 化工2026屆畢業(yè)?/a> 2026-03-21 | 8/400 |
|
|
[考研] 332求調(diào)劑 +6 | 032500 2026-03-25 | 6/300 |
|
|
[考研] 網(wǎng)絡空間安全0839招調(diào)劑 +4 | w320357296 2026-03-25 | 6/300 |
|
|
[考研] 調(diào)劑 +4 | 13853210211 2026-03-24 | 4/200 |
|
|
[考研] 環(huán)境學碩288求調(diào)劑 +8 | 皮皮皮123456 2026-03-22 | 8/400 |
|
|
[考研] 一志愿國科過程所081700,274求調(diào)劑 +3 | 三水研0水立方 2026-03-23 | 3/150 |
|
|
[考研] 361求調(diào)劑 +3 | Glack 2026-03-22 | 3/150 |
|