org.encog.ensemble
public interface EnsembleML extends MLMethod, MLClassification, MLRegression
Modifier and Type | Method and Description |
---|---|
double |
getError(EnsembleDataSet testset)
Get the error for this ML on the dataset
|
String |
getLabel() |
MLMethod |
getMl() |
MLTrain |
getTraining() |
EnsembleDataSet |
getTrainingSet() |
void |
setMl(MLMethod newMl)
Set the MLMethod to run
|
void |
setTraining(MLTrain train)
Set the training for this member
|
void |
setTrainingSet(EnsembleDataSet dataSet)
Set the dataset for this member
|
void |
train(double targetError)
Train the ML to a certain accuracy.
|
void |
train(double targetError,
boolean verbose)
Train the ML to a certain accuracy.
|
void |
trainStep() |
classify
compute
getInputCount
getOutputCount
void setTrainingSet(EnsembleDataSet dataSet)
dataSet
- The data set.void setTraining(MLTrain train)
train
- The trainer.EnsembleDataSet getTrainingSet()
MLTrain getTraining()
void train(double targetError)
targetError
- The target error.void train(double targetError, boolean verbose)
targetError
- Target error.verbose
- Verbose mode.double getError(EnsembleDataSet testset)
void setMl(MLMethod newMl)
newMl
- The new ML.MLMethod getMl()
void trainStep()
String getLabel()
Copyright © 2014. All Rights Reserved.