|
||||||||||
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.rbf.training.SVDTraining
public class SVDTraining
Train a RBF neural network using a SVD. Contributed to Encog By M.Fletcher and M.Dean University of Cambridge, Dept. of Physics, UK
Constructor Summary | |
---|---|
SVDTraining(RBFNetwork network,
MLDataSet training)
Construct the training object. |
Method Summary | |
---|---|
boolean |
canContinue()
|
void |
flatToMatrix(double[] flat,
int start,
double[][] matrix)
|
RBFNetwork |
getMethod()
Get the current best machine learning method from the training. |
void |
iteration()
Perform one iteration. |
void |
matrixToFlat(double[][] matrix,
double[] flat,
int start)
Convert the matrix to flat. |
TrainingContinuation |
pause()
Pause the training to continue later. |
void |
resume(TrainingContinuation state)
Resume training. |
Methods inherited from class org.encog.ml.train.BasicTraining |
---|
addStrategy, finishTraining, getError, getImplementationType, getIteration, getStrategies, getTraining, isTrainingDone, iteration, postIteration, preIteration, setError, setIteration, setTraining |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SVDTraining(RBFNetwork network, MLDataSet training)
network
- The network to train. Must have a single output neuron.training
- The training data to use. Must be indexable.Method Detail |
---|
public boolean canContinue()
public void flatToMatrix(double[] flat, int start, double[][] matrix)
public RBFNetwork getMethod()
public void iteration()
public void matrixToFlat(double[][] matrix, double[] flat, int start)
matrix
- The matrix.flat
- Flat array.start
- WHere to start.public TrainingContinuation pause()
public void resume(TrainingContinuation state)
state
- The training continuation object to use to continue.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |