public class GradientBoostingClassifier extends BasePythonClassifier
| Modifier and Type | Class and Description |
|---|---|
static class |
GradientBoostingClassifier.Builder
The type Builder.
|
| Modifier and Type | Method and Description |
|---|---|
static GradientBoostingClassifier.Builder |
builder()
Construct new builder instance.
|
CriterionType |
getCriterion()
Gets criterion.
|
int |
getEstimators()
Gets the number of boosting stages.
|
double |
getLearningRate()
Gets the learning rate.
|
LossFunctionType |
getLossFunction()
Gets loss function type (
LossFunctionType). |
Integer |
getMaxDepth()
Gets the maximum depth of the tree.
|
Object |
getMaxFeatures()
Gets number of features to consider when looking for the best split.
|
Integer |
getMaxLeafNodes()
Gets max leaf nodes.
|
double |
getMinImpurityDecrease()
Gets min impurity decrease.
|
Object |
getMinSamplesLeaf()
Gets the minimum number of samples required to be at a leaf node.
|
Object |
getMinSamplesSplit()
Gets the minimum number of samples required to split an internal node.
|
double |
getMinWeightFractionLeaf()
Gets the minimum weighted fraction of the sum total of weights (of all the input samples) required to be at a leaf node.
|
Object |
getPresort()
Whether presort is used.
|
Integer |
getSeed()
Gets the seed used by the random number generator.
|
double |
getSubsample()
Gets the fraction of samples to be used for fitting the individual base learners.
|
boolean |
isVerbose()
Whether the verbosity of the tree building process are used.
|
boolean |
isWarmStart()
Whether warm start is used.
|
close, fit, getModelName, getSerializableModel, getWorkingDir, init, predictpublic LossFunctionType getLossFunction()
LossFunctionType).public double getLearningRate()
public int getEstimators()
public Integer getMaxDepth()
public CriterionType getCriterion()
public Object getMinSamplesSplit()
public Object getMinSamplesLeaf()
public double getMinWeightFractionLeaf()
public double getSubsample()
public Object getMaxFeatures()
public Integer getMaxLeafNodes()
public double getMinImpurityDecrease()
public boolean isVerbose()
public boolean isWarmStart()
public Integer getSeed()
public Object getPresort()
public static GradientBoostingClassifier.Builder builder()
Copyright © 2020. All rights reserved.