Class CollectScoresListener
- java.lang.Object
-
- org.deeplearning4j.optimize.api.BaseTrainingListener
-
- org.deeplearning4j.optimize.listeners.CollectScoresListener
-
- All Implemented Interfaces:
Serializable
,TrainingListener
public class CollectScoresListener extends BaseTrainingListener implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CollectScoresListener(int frequency)
CollectScoresListener(int frequency, boolean logScore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
iterationDone(Model model, int iteration, int epoch)
Event listener for each iteration.-
Methods inherited from class org.deeplearning4j.optimize.api.BaseTrainingListener
onBackwardPass, onEpochEnd, onEpochStart, onForwardPass, onForwardPass, onGradientCalculation
-
-
-
-
Method Detail
-
iterationDone
public void iterationDone(Model model, int iteration, int epoch)
Description copied from interface:TrainingListener
Event listener for each iteration. Called once, after each parameter update has ocurred while training the network- Specified by:
iterationDone
in interfaceTrainingListener
- Overrides:
iterationDone
in classBaseTrainingListener
- Parameters:
model
- the model iteratingiteration
- the iteration
-
-