matlab: zero loop in neural network -
everyone! wanna have neural network loop. create neural network
net = newff(rand(5, 100), rand(1, 100), [3, 2], { 'tansig' 'tansig'}, 'traingdx3', 'learngdm', 'mse'); net.layerconnect(1, 1) = 1; net.layerweights{1, 1}.delays = [1]; net.trainparam.epochs = 100; net = train(net, rand(5, 100), rand(1, 100));
and
net.lw ans = [3x3 double] [] [] [2x3 double] [] [] [] [1x2 double] []
but when view net.lw{1, 1}
, get
net.lw{1, 1} ans = 0 0 0 0 0 0 0 0 0
why loop weights zeros?
Comments
Post a Comment