org.encog.ensemble
Interface EnsembleML
-
- All Superinterfaces:
- MLClassification, MLInput, MLInputOutput, MLMethod, MLOutput, MLRegression
- All Known Implementing Classes:
- GenericEnsembleML
public interface EnsembleML extends MLMethod, MLClassification, MLRegression
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description doublegetError(EnsembleDataSet testset)Get the error for this ML on the datasetjava.lang.StringgetLabel()MLMethodgetMl()MLTraingetTraining()EnsembleDataSetgetTrainingSet()voidsetMl(MLMethod newMl)Set the MLMethod to runvoidsetTraining(MLTrain train)Set the training for this membervoidsetTrainingSet(EnsembleDataSet dataSet)Set the dataset for this membervoidtrain(double targetError)Train the ML to a certain accuracy.voidtrain(double targetError, boolean verbose)Train the ML to a certain accuracy.voidtrain(double targetError, int maxIterations)Train the ML to a certain accuracy.voidtrain(double targetError, int maxIterations, boolean verbose)Train the ML to a certain accuracy.voidtrainStep()-
Methods inherited from interface org.encog.ml.MLClassification
classify
-
Methods inherited from interface org.encog.ml.MLRegression
compute
-
Methods inherited from interface org.encog.ml.MLInput
getInputCount
-
Methods inherited from interface org.encog.ml.MLOutput
getOutputCount
-
-
-
-
Method Detail
-
setTrainingSet
void setTrainingSet(EnsembleDataSet dataSet)
Set the dataset for this member- Parameters:
dataSet- The data set.
-
setTraining
void setTraining(MLTrain train)
Set the training for this member- Parameters:
train- The trainer.
-
getTrainingSet
EnsembleDataSet getTrainingSet()
- Returns:
- Get the dataset for this member
-
getTraining
MLTrain getTraining()
- Returns:
- Get the dataset for this member.
-
train
void train(double targetError)
Train the ML to a certain accuracy.- Parameters:
targetError- The target error.
-
train
void train(double targetError, int maxIterations, boolean verbose)Train the ML to a certain accuracy.- Parameters:
targetError- Target error.verbose- Verbose mode.maxIterations- Stop after this number of iterations
-
train
void train(double targetError, int maxIterations)Train the ML to a certain accuracy.- Parameters:
targetError- Target error.maxIterations- Stop after this number of iterations
-
train
void train(double targetError, boolean verbose)Train the ML to a certain accuracy.- Parameters:
targetError- Target error.verbose- Verbose mode.
-
getError
double getError(EnsembleDataSet testset)
Get the error for this ML on the dataset- Parameters:
testset- The dataset.- Returns:
- The error.
-
setMl
void setMl(MLMethod newMl)
Set the MLMethod to run- Parameters:
newMl- The new ML.
-
getMl
MLMethod getMl()
- Returns:
- Returns the current MLMethod
-
trainStep
void trainStep()
-
getLabel
java.lang.String getLabel()
-
-
DMelt 3.0 © DataMelt by jWork.ORG