private class GrowingSOM.IntermediateSOMDumper extends java.lang.Object implements TrainingInterruptionListener
Modifier and Type | Field and Description |
---|---|
private FileProperties |
fileProperties |
Constructor and Description |
---|
IntermediateSOMDumper(FileProperties fileProperties) |
Modifier and Type | Method and Description |
---|---|
void |
interruptionOccurred(int currentIteration,
int numIterations)
Is called when an interruption of the training process occurs.
|
private final FileProperties fileProperties
public IntermediateSOMDumper(FileProperties fileProperties)
public void interruptionOccurred(int currentIteration, int numIterations)
TrainingInterruptionListener
interruptionOccurred
in interface TrainingInterruptionListener
currentIteration
- the iteration when the interruption occurred.numIterations
- the target iteration number where the training will stop.