Package samer.models
Class ICA.NewtonTrainer
- java.lang.Object
-
- samer.tools.AnonymousTask
-
- samer.models.ICA.ON3Trainer
-
- samer.models.ICA.NewtonTrainer
-
- All Implemented Interfaces:
- Model.Trainer, Task
- Enclosing class:
- ICA
public class ICA.NewtonTrainer extends ICA.ON3Trainer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description NewtonTrainer(Function dg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
accumulate(double w)
weighted accumulatevoid
dispose()
void
flush()
use collected stats to update parameters and resetvoid
reset()
reset accumulators without updating parameters-
Methods inherited from class samer.tools.AnonymousTask
stopping
-
Methods inherited from class samer.models.ICA.ON3Trainer
accumulate, getGMatrix, oneshot, run, starting, toString
-
-
-
-
Constructor Detail
-
NewtonTrainer
public NewtonTrainer(Function dg)
-
-
Method Detail
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceModel.Trainer
- Specified by:
dispose
in interfaceTask
- Overrides:
dispose
in classICA.ON3Trainer
-
reset
public void reset()
Description copied from interface:Model.Trainer
reset accumulators without updating parameters- Specified by:
reset
in interfaceModel.Trainer
- Overrides:
reset
in classICA.ON3Trainer
-
accumulate
public void accumulate(double w)
Description copied from interface:Model.Trainer
weighted accumulate- Specified by:
accumulate
in interfaceModel.Trainer
- Overrides:
accumulate
in classICA.ON3Trainer
-
flush
public void flush()
Description copied from interface:Model.Trainer
use collected stats to update parameters and reset- Specified by:
flush
in interfaceModel.Trainer
- Overrides:
flush
in classICA.ON3Trainer
-
-