org.neuroph.contrib.bpbench
Class MomentumTraining
- java.lang.Object
-
- org.neuroph.contrib.bpbench.AbstractTraining
-
- org.neuroph.contrib.bpbench.MomentumTraining
-
public class MomentumTraining extends AbstractTraining
Class that set up neural network with momentum backpropagation learning rule and predefined settings
-
-
Constructor Summary
Constructors Constructor and Description MomentumTraining(DataSet dataset, TrainingSettings settings)Create instance of a training using given settings and create neural network from that settingsMomentumTraining(NeuralNetwork neuralNet, DataSet dataset, TrainingSettings settings)Create instance of a training using predefined neural network and given settings
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description LearningRulesetParameters()Create instance of learning rule and setup given parametersvoidtestNeuralNet()Method that set up learning rule with given settings, learns dataset and creates statistics from results of the test-
Methods inherited from class org.neuroph.contrib.bpbench.AbstractTraining
createMatrix, getDataset, getNeuralNet, getSettings, getStats, setSettings
-
-
-
-
Constructor Detail
-
MomentumTraining
public MomentumTraining(NeuralNetwork neuralNet, DataSet dataset, TrainingSettings settings)
Create instance of a training using predefined neural network and given settings- Parameters:
neuralNet-dataset-settings-
-
MomentumTraining
public MomentumTraining(DataSet dataset, TrainingSettings settings)
Create instance of a training using given settings and create neural network from that settings- Parameters:
dataset-settings-
-
-
Method Detail
-
testNeuralNet
public void testNeuralNet()
Method that set up learning rule with given settings, learns dataset and creates statistics from results of the test- Specified by:
testNeuralNetin classAbstractTraining
-
setParameters
public LearningRule setParameters()
Create instance of learning rule and setup given parameters- Specified by:
setParametersin classAbstractTraining- Returns:
- returns learning rule with predefined parameters
-
-
DMelt 3.0 © DataMelt by jWork.ORG