edu.uci.jforests.learning.boosting
Class GradientBoosting
- java.lang.Object
-
- edu.uci.jforests.learning.LearningModule
-
- edu.uci.jforests.learning.boosting.GradientBoosting
-
- Direct Known Subclasses:
- GradientBoostingBinaryClassifier, LambdaMART
public class GradientBoosting extends LearningModule
-
-
Constructor Summary
Constructors Constructor and Description GradientBoosting()GradientBoosting(java.lang.String algorithmName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublegetValidationMeasurement()voidinit(ConfigHolder configHolder, int maxNumTrainInstances, int maxNumValidInstances, EvaluationMetric evaluationMetric)Ensemblelearn(Sample trainSet, Sample validSet)voidpostProcess(Tree tree, TreeLeafInstances treeLeafInstances)-
Methods inherited from class edu.uci.jforests.learning.LearningModule
printTrainAndValidMeasurement, printValidMeasurement, setAlgorithmName, setParentModule, setProgressListener, setSubModule, setTreeWeight
-
-
-
-
Constructor Detail
-
GradientBoosting
public GradientBoosting(java.lang.String algorithmName)
-
GradientBoosting
public GradientBoosting()
-
-
Method Detail
-
init
public void init(ConfigHolder configHolder, int maxNumTrainInstances, int maxNumValidInstances, EvaluationMetric evaluationMetric) throws java.lang.Exception
- Throws:
java.lang.Exception
-
learn
public Ensemble learn(Sample trainSet, Sample validSet) throws java.lang.Exception
- Specified by:
learnin classLearningModule- Throws:
java.lang.Exception
-
getValidationMeasurement
public double getValidationMeasurement()
- Specified by:
getValidationMeasurementin classLearningModule
-
postProcess
public void postProcess(Tree tree, TreeLeafInstances treeLeafInstances)
- Overrides:
postProcessin classLearningModule
-
-
DMelt 3.0 © DataMelt by jWork.ORG