|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Train
Interface for all neural network training methods. This allows the training methods to be largely interchangeable. Though some training methods require specific types of neural network structure.
| Method Summary | |
|---|---|
void |
addStrategy(Strategy strategy)
Training strategies can be added to improve the training results. |
void |
finishTraining()
Should be called once training is complete and no more iterations are needed. |
double |
getError()
Get the current error percent from the training. |
BasicNetwork |
getNetwork()
Get the current best network from the training. |
java.util.List<Strategy> |
getStrategies()
|
NeuralDataSet |
getTraining()
|
void |
iteration()
Perform one iteration of training. |
void |
setError(double error)
|
| Method Detail |
|---|
void addStrategy(Strategy strategy)
strategy - The strategy to add.void finishTraining()
double getError()
BasicNetwork getNetwork()
java.util.List<Strategy> getStrategies()
NeuralDataSet getTraining()
void iteration()
void setError(double error)
error - Set the current error rate. This is usually used by training
strategies.
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||