org.encog.neural.networks.training.concurrent.jobs
public class BPROPJob extends TrainingJob
Constructor and Description |
---|
BPROPJob(BasicNetwork network,
MLDataSet training,
boolean loadToMemory,
double learningRate,
double momentum)
Construct a job definition for RPROP.
|
Modifier and Type | Method and Description |
---|---|
void |
createTrainer(boolean singleThreaded)
Create a trainer to use.
|
double |
getLearningRate() |
double |
getMomentum() |
void |
setLearningRate(double learningRate) |
void |
setMomentum(double momentum) |
getError, getNetwork, getStrategies, getTrain, getTraining, isLoadToMemory, setError, setLoadToMemory, setNetwork, setTrain, setTraining, shouldContinue
public BPROPJob(BasicNetwork network, MLDataSet training, boolean loadToMemory, double learningRate, double momentum)
network
- The network to use.training
- The training data to use.loadToMemory
- Should binary data be loaded to memory?learningRate
- THe learning rate to use.momentum
- The momentum to use.public void createTrainer(boolean singleThreaded)
createTrainer
in class TrainingJob
public double getLearningRate()
public double getMomentum()
public void setLearningRate(double learningRate)
learningRate
- the learningRate to setpublic void setMomentum(double momentum)
momentum
- the momentum to setCopyright © 2014. All Rights Reserved.