com.weighscore.neuro.plugins
Class MomentumStatistic

public class MomentumStatistic
extends com.weighscore.neuro.Statistic
The class for holding and computing momentum statistic
Version:
1.0
Author:
Fyodor Kravchenko
Field Detail

lastCorrection

public double lastCorrection
The last change value of the weight

teachCnt

public long teachCnt
The teaching signals counter

Method Detail

recordTeaching

public synchronized void recordTeaching(double correction)
Updates the last correction and teach signal counter statistics
Parameters:
correction - the change value of the weight