Encog.Neural.Networks.Training.Competitive.CompetitiveTraining.DetermineNewWeight C# (CSharp) 메소드

DetermineNewWeight() 개인적인 메소드

Determine the weight adjustment for a single neuron during a training iteration.
private DetermineNewWeight ( double weight, double input, int currentNeuron, int bmu ) : double
weight double The starting weight.
input double The input to this neuron.
currentNeuron int The neuron who's weight is being updated.
bmu int The neuron that "won", the best matching unit.
리턴 double
        private double DetermineNewWeight(double weight, double input,
                 int currentNeuron, int bmu)
        {
            double newWeight = weight
                   + (this.neighborhood.Function(currentNeuron, bmu)
                           * this.LearningRate * (input - weight));
            return newWeight;
        }