|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.ml.train.BasicTraining
org.encog.neural.freeform.training.FreeformPropagationTraining
public abstract class FreeformPropagationTraining
Provides basic propagation functions to other trainers.
| Field Summary | |
|---|---|
static double |
FLAT_SPOT_CONST
|
| Constructor Summary | |
|---|---|
FreeformPropagationTraining()
Don't use this constructor, it is for serialization only. |
|
FreeformPropagationTraining(FreeformNetwork theNetwork,
MLDataSet theTraining)
|
|
| Method Summary | |
|---|---|
boolean |
canContinue()
|
void |
finishTraining()
Should be called after training has completed and the iteration method will not be called any further. |
int |
getBatchSize()
|
double |
getError()
|
TrainingImplementationType |
getImplementationType()
|
int |
getIteration()
|
MLMethod |
getMethod()
Get the current best machine learning method from the training. |
MLDataSet |
getTraining()
|
boolean |
isFixFlatSopt()
|
void |
iteration()
Perform one iteration of training. |
void |
iteration(int count)
Perform the specified number of training iterations. |
protected void |
learn()
|
protected abstract void |
learnConnection(FreeformConnection connection)
|
protected void |
processBatches()
|
protected void |
processPureBatch()
|
void |
setBatchSize(int batchSize)
|
void |
setError(double theError)
|
void |
setFixFlatSopt(boolean fixFlatSopt)
|
void |
setIteration(int iteration)
Set the current training iteration. |
| Methods inherited from class org.encog.ml.train.BasicTraining |
|---|
addStrategy, getStrategies, isTrainingDone, postIteration, preIteration, setTraining |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.encog.ml.train.MLTrain |
|---|
pause, resume |
| Field Detail |
|---|
public static final double FLAT_SPOT_CONST
| Constructor Detail |
|---|
public FreeformPropagationTraining()
public FreeformPropagationTraining(FreeformNetwork theNetwork,
MLDataSet theTraining)
| Method Detail |
|---|
public boolean canContinue()
canContinue in interface MLTrainpublic void finishTraining()
BasicTraining
finishTraining in interface MLTrainfinishTraining in class BasicTrainingpublic double getError()
BasicTraining
getError in interface MLTraingetError in class BasicTrainingpublic TrainingImplementationType getImplementationType()
getImplementationType in interface MLTraingetImplementationType in class BasicTrainingpublic int getIteration()
getIteration in interface MLTraingetIteration in class BasicTrainingpublic MLMethod getMethod()
MLTrain
getMethod in interface MLTrainpublic MLDataSet getTraining()
getTraining in interface MLTraingetTraining in class BasicTrainingpublic boolean isFixFlatSopt()
public void iteration()
MLTrain
iteration in interface MLTrainpublic void iteration(int count)
BasicTraining
iteration in interface MLTrainiteration in class BasicTrainingcount - The number of training iterations.protected void processPureBatch()
protected void processBatches()
protected void learn()
protected abstract void learnConnection(FreeformConnection connection)
public void setError(double theError)
setError in interface MLTrainsetError in class BasicTrainingtheError - Set the current error rate. This is usually used by training
strategies.public void setFixFlatSopt(boolean fixFlatSopt)
public void setIteration(int iteration)
MLTrain
setIteration in interface MLTrainsetIteration in class BasicTrainingiteration - the iteration to setpublic int getBatchSize()
public void setBatchSize(int batchSize)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||