org.encog.neural.rbf.training
public class SVDTraining extends BasicTraining
Constructor and Description |
---|
SVDTraining(RBFNetwork network,
MLDataSet training)
Construct the training object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addStrategy, finishTraining, getError, getImplementationType, getIteration, getStrategies, getTraining, isTrainingDone, iteration, postIteration, preIteration, setError, setIteration, setTraining
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.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.Copyright © 2014. All Rights Reserved.