MATLAB Neural Network One-Neural Network of Perceptron

The newp function is provided in the MATLAB Neural Network Toolbox to create a perceptron network. Its calling format is: net=newp(P,T), where net is the function return parameter, indicating the generated perceptron network: P is An R Q matrix is ​​composed of the maximum and minimum values ​​of the R group of input vectors, T is the S Q matrix, and S is the number of neurons.
clear all;
P=[0 2];
T=[0 1];
net=newp(P,T);
inputweights=net.inputweights{1,1}
inputweights =

Neural Network Weight

        delays: 0
       initFcn: 'initzero'
  initSettings: (none)
         learn: true
      learnFcn: 'learnp'
    learnParam: (none)
          size: [1 1]
     weightFcn: 'dotprod'
   weightParam: (none)
      userdata: (your custom info)
      MATLAB神经网络应用设计-----张德峰编著----【M】北京:机械工业出版社

Guess you like

Origin blog.csdn.net/m0_38127487/article/details/114726717
Recommended