| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1788 人关注过本帖
标题:求助有关神经网络的设计过程有何错误
只看楼主 加入收藏
mily25046842
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2006-4-26
收藏
 问题点数:0 回复次数:2 
求助有关神经网络的设计过程有何错误
NwnHkstI.rar (3.54 KB) 求助有关神经网络的设计过程有何错误


搜索更多相关主题的帖子: 神经网络 何错误 设计 
2006-08-03 16:59
hitzhang
Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20
等 级:版主
威 望:21
帖 子:369
专家分:52
注 册:2006-9-24
收藏
得分:0 

>> x=[1 1 0;0 1 1;1 0 1];
>> y=[1 0;0 1;1 1]';
>> x=x';
net=newff(minmax(x),[5 2],{'logsig','purelin'},'trainlm');
>> net=train(net,x,y)
TRAINLM, Epoch 0/100, MSE 3.60405/0, Gradient 10.7438/1e-010
TRAINLM, Epoch 4/100, MSE 9.94807e-031/0, Gradient 2.59087e-015/1e-010
TRAINLM, Minimum gradient reached, performance goal was not met.


net =

Neural Network object:

architecture:

numInputs: 1
numLayers: 2
biasConnect: [1; 1]
inputConnect: [1; 0]
layerConnect: [0 0; 1 0]
outputConnect: [0 1]
targetConnect: [0 1]

numOutputs: 1 (read-only)
numTargets: 1 (read-only)
numInputDelays: 0 (read-only)
numLayerDelays: 0 (read-only)

subobject structures:

inputs: {1x1 cell} of inputs
layers: {2x1 cell} of layers
outputs: {1x2 cell} containing 1 output
targets: {1x2 cell} containing 1 target
biases: {2x1 cell} containing 2 biases
inputWeights: {2x1 cell} containing 1 input weight
layerWeights: {2x2 cell} containing 1 layer weight

functions:

adaptFcn: 'trains'
initFcn: 'initlay'
performFcn: 'mse'
trainFcn: 'trainlm'

parameters:

adaptParam: .passes
initParam: (none)
performParam: (none)
trainParam: .epochs, .goal, .max_fail, .mem_reduc,
.min_grad, .mu, .mu_dec, .mu_inc,
.mu_max, .show, .time

weight and bias values:

IW: {2x1 cell} containing 1 input weight matrix
LW: {2x2 cell} containing 1 layer weight matrix
b: {2x1 cell} containing 2 bias vectors

other:

userdata: (user stuff)

>> y1=sim(net,x)

y1 =

1.0000 0 1.0000
-0.0000 1.0000 1.0000


2006-11-24 19:22
shirely
Rank: 1
等 级:新手上路
帖 子:20
专家分:0
注 册:2007-5-23
收藏
得分:0 
hitzhang:
请问你如何根据训练后的网络结构及其性能参数判断该网络的问题所在,很想向你学习一下,望多多指教,能把你的联系方式告诉我吗?如果你不介意的话,谢谢!
2007-08-17 19:13
快速回复:求助有关神经网络的设计过程有何错误
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.026481 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved