public class ExtraTreesClassifier extends BasePythonClassifier
| Modifier and Type | Class and Description |
|---|---|
static class |
ExtraTreesClassifier.Builder
The type Builder.
|
| Modifier and Type | Method and Description |
|---|---|
static ExtraTreesClassifier.Builder |
builder()
Construct new builder instance.
|
ClassWeightType |
getClassWeight()
Gets class weight.
|
CriterionType |
getCriterion()
Gets criterion.
|
int |
getEstimators()
Gets the number of estimators(trees) in the forest.
|
int |
getJobs()
Gets the number of jobs to run in parallel for both fit and predict.
|
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.
|
Integer |
getSeed()
Gets the seed used by the random number generator.
|
boolean |
isBootstrap()
Whether bootstrap samples are used when building trees.
|
boolean |
isOobScore()
Whether to use out-of-bag samples to estimate the generalization accuracy.
|
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 int getEstimators()
public CriterionType getCriterion()
public Object getMaxFeatures()
public Integer getMaxDepth()
public Object getMinSamplesSplit()
public Object getMinSamplesLeaf()
public double getMinWeightFractionLeaf()
public Integer getMaxLeafNodes()
public double getMinImpurityDecrease()
public boolean isBootstrap()
public boolean isOobScore()
public int getJobs()
public Integer getSeed()
public boolean isVerbose()
public boolean isWarmStart()
public ClassWeightType getClassWeight()
public static ExtraTreesClassifier.Builder builder()
Copyright © 2020. All rights reserved.