public class DecisionTreeTrainer extends ClassifierTrainer implements Boostable
| Constructor and Description |
|---|
DecisionTreeTrainer() |
DecisionTreeTrainer(int maxDepth) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
splitTree(DecisionTree.Node node,
FeatureSelection selectedFeatures,
int depth) |
Classifier |
train(InstanceList trainingList,
InstanceList validationList,
InstanceList testSet,
ClassifierEvaluating evaluator,
Classifier initialClassifier)
Return a new classifier tuned using the three arguments.
|
public DecisionTreeTrainer(int maxDepth)
public DecisionTreeTrainer()
protected void splitTree(DecisionTree.Node node, FeatureSelection selectedFeatures, int depth)
public Classifier train(InstanceList trainingList, InstanceList validationList, InstanceList testSet, ClassifierEvaluating evaluator, Classifier initialClassifier)
ClassifierTrainertrain in class ClassifierTrainertrainingList - examples used to set parameters.validationList - examples used to tune meta-parameters. May be null.testSet - examples not examined at all for training, but passed on to diagnostic routines. May be null.initialClassifier - training process may start from here. The parameters of the initialClassifier are not modified. May be null.Copyright © 2019 JULIE Lab, Germany. All rights reserved.