NeuralNetworks.Neuron.Neuron C# (CSharp) Method

Neuron() public method

public Neuron ( int index, Layer initLayer, Neuron actType = ActivationType.SIGMOID, double bias ) : System
index int
initLayer Layer
actType Neuron
bias double
return System
        public Neuron(int index, Layer initLayer, Neuron.ActivationType actType = ActivationType.SIGMOID, double bias = 0)
        {
            Index = index;
            Connections = new List<Connection>();
            SelfLayer = initLayer;
            ActType = actType;
            Bias = bias;
        }