Nn.Neuron.combinaison C# (CSharp) Method

combinaison() public method

public combinaison ( ) : double
return double
        public double combinaison()
        {
            double val = 0;

            for (int i = 0; i < inputs.Count; i++)
            {//the first one is the bias with an input of 1
                val = val + inputs[i].weight * inputs[i].input;
            }

            return val;
        }

Same methods

Neuron::combinaison ( List inputs ) : double