Encog.Neural.Networks.Training.Competitive.CompetitiveTraining.ApplyCorrection C# (CSharp) Method

ApplyCorrection() private method

Loop over the synapses to be trained and apply any corrections that were determined by this training iteration.
private ApplyCorrection ( ) : void
return void
        private void ApplyCorrection()
        {
            foreach (KeyValuePair<ISynapse, Matrix> entry in this.correctionMatrix)
            {
                entry.Key.WeightMatrix.Set(entry.Value);
            }
        }