org.joone.engine
Class BatchLearner
- java.lang.Object
-
- org.joone.engine.AbstractLearner
-
- org.joone.engine.ExtendableLearner
-
- org.joone.engine.BatchLearner
-
- All Implemented Interfaces:
- java.io.Serializable, Learner
public class BatchLearner extends ExtendableLearner
BatchLearner stores the weight/bias changes during the batch and updates them after the batch is done. IMPORTANT: If you want to have standard batch learning, i.e. the BatchSize equals the number of training patterns available, just use monitor. setBatchSize(monitor.getTrainingPatterns());- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description BatchLearner()BatchLearner(int batchSize)Deprecated.use BatchLearner() and set the batch size with monitor.setBatchSize()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description intgetBatchSize()Deprecated.use monitor.getBatchSize()voidinitiateNewBatch()Deprecated.not used, the BatchModeExtender takes care of everythingvoidsetBatchSize(int newBatchSize)Deprecated.use monitor.setBatchSize()-
Methods inherited from class org.joone.engine.ExtendableLearner
addDeltaRuleExtender, addGradientExtender, getDefaultDelta, getDefaultDelta, getDefaultGradientBias, getDefaultGradientWeight, getGradientBias, getGradientWeight, getUpdateWeightExtender, requestBiasUpdate, requestWeightUpdate, setUpdateWeightExtender
-
Methods inherited from class org.joone.engine.AbstractLearner
getLayer, getMonitor, getSynapse, registerLearnable, setMonitor
-
-
-
-
Constructor Detail
-
BatchLearner
public BatchLearner()
-
BatchLearner
public BatchLearner(int batchSize)
Deprecated. use BatchLearner() and set the batch size with monitor.setBatchSize()
-
-
Method Detail
-
initiateNewBatch
public void initiateNewBatch()
Deprecated. not used, the BatchModeExtender takes care of everything
-
setBatchSize
public void setBatchSize(int newBatchSize)
Deprecated. use monitor.setBatchSize()
-
getBatchSize
public int getBatchSize()
Deprecated. use monitor.getBatchSize()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG