// Apply any deltas that were calculated during back-propogation. // The input signals and the bias are all checked for deltas to be applied public void ApplyLearning() { foreach (KeyValuePair <NeuronSignal, NeuralFactor> m in InputSignals) { m.Value.ApplyWeightChange(); } Bias.ApplyWeightChange(); }
public void ApplyLearning(ref double learningRate) { foreach (var m in Input) { m.Value.ApplyWeightChange(ref learningRate); } Bias.ApplyWeightChange(ref learningRate); }
/// <summary> /// Apply delta that is calculated in back prop /// </summary> public void ApplyLearning() { foreach (var m in InputSignals)//Apply weight change { m.Value.ApplyWeightChange(); } // Bias for shifting activation function val Bias.ApplyWeightChange(); }