我的人工神经网络基础.pptVIP

  • 7
  • 0
  • 约5.55千字
  • 约 45页
  • 2017-02-05 发布于江苏
  • 举报
阈值逻辑单元(Threshold Logic Unit,TLU) 阈值: theta 输出结果: y 当 a =theta 时 y=1,反之 y=0。 注意:输出可以是连续的,因为它也可以由一个 squash 函数 s(或 sigma)判定,该函数的自变量是 a,函数值在 0 和 1 之间,y=s(a)。 //初始化训练集合 TrainSet[ ] sets = new TrainSet[ ] { new TrainSet(0, 0, 0), new TrainSet(0, 1, 0), new TrainSet(1, 0, 0), new TrainSet(1, 1, 1) }; //构造单层神经网络 2 个输入节点 1个输出节点 NeuralNetwork nn = new NeuralNetwork(2, 1); slnn = new SingleLayerNeuralNetworks(nn, sets); //训练 slnn.Train(); MessageBox.Show(AND运算训练结束); this.button2.Enabled = true;

文档评论(0)

1亿VIP精品文档

相关文档