com.weighscore.neuro.plugins
Class SimpleTeacher

public class SimpleTeacher
extends com.weighscore.neuro.Teacher
The simple teacher with momentum and constant learn rate
Version:
1.0
Author:
Fyodor Kravchenko
Field Detail

momentumCoefficient

public double momentumCoefficient
Momentum coefficient - a multiplier to the last weight changes

learnRate

public double learnRate
Learn rate - a multiplier to the computed teaching values

Method Detail

teach

public void teach(double[] error,
                  com.weighscore.neuro.Signal signal)
Compute gradient members, compute the weights corrections using the learn rate, the correction of previous iteration and the momentum
Parameters:
error - double[]
signal - The Signal object holding the querying status and the gradient members