我在我的一门AI课程中看到了以下说明:
net = newp([-2 2;-2 2],2])
net.IW {1,1} = [-1 1; 3 4]
net.b{1} = [-2,3]神经网络看起来怎么样?感知器有两个神经元?
发布于 2015-09-08 00:49:51
查看它的最简单方法是通过:
view(net) 在那里,您可以看到输入、输出和层的数量。您还可以使用以下命令检查
help netp该命令的文档中写着
NET = newp(P,T,TF,LF) takes these inputs,
P - RxQ matrix of Q1 representative input vectors.
T - SxQ matrix of Q2 representative target vectors.
TF - Transfer function, default = 'hardlim'.
LF - Learning function, default = 'learnp'.net.iw{1,1}将输入权重设置为选定的数字,并将其设置为net.b{1}将网络的偏差设置为向量-2,3。
这对你来说清楚了吗?
https://stackoverflow.com/questions/32442927
复制相似问题