// Constructeurs public Neuron(int nConnection = 0) { Equation = new SigmoidActivation(); Weights = new double[nConnection]; Randomize(); }
/// <summary> /// /// </summary> /// <param name="nbNeurons"></param> /// <param name="nConnections"></param> public Layer(int nbNeurons, int nConnections = 0) { Equation = new SigmoidActivation(); Neurons = new Neuron[nbNeurons]; InitialiserNeurons(nConnections); }