com.weighscore.neuro
Class Statistic

public abstract class Statistic
extends com.weighscore.neuro.ParameterHolder
The base class for holding and computing statistics. The descent class may define statistic parameters as public class fields, and redefine record methods to work with parameters. Parameters become automatically available to the neural system by ParameterHolder methods.
Version:
1.0
Author:
Fyodor Kravchenko
Method Detail

recordError

public abstract void recordError(double error)
This method is called when back propagating error through the neuron
Parameters:
error - error value

recordAsking

public abstract void recordAsking(double question)
This method is called when performing asking to neuron action
Parameters:
question - question value

recordTeaching

public abstract void recordTeaching(double correction)
This method is called when performing teaching neuron action
Parameters:
correction - the value of weight change

nextEpoch

public void nextEpoch()
This method is called by the teacher when teacher's nextEpoch() method is called