org.encog.ml.train.strategy
public class ResetStrategy extends Object implements Strategy
Constructor and Description |
---|
ResetStrategy(double required,
int cycles)
Construct a reset strategy.
|
Modifier and Type | Method and Description |
---|---|
void |
init(MLTrain train)
Initialize this strategy.
|
void |
postIteration()
Called just after a training iteration.
|
void |
preIteration()
Called just before a training iteration.
|
public ResetStrategy(double required, int cycles)
required
- The required error rate.cycles
- The number of cycles to reach that rate.public void init(MLTrain train)
public void postIteration()
postIteration
in interface Strategy
public void preIteration()
preIteration
in interface Strategy
Copyright © 2014. All Rights Reserved.