Statistical Foundation
Computational Efficiency
Data Requirements
Parameter | Type | Default | Description |
---|---|---|---|
n_estimators | Integer | 100 | Number of trees in the forest. |
max_depth | Integer | None | Maximum depth of the tree. |
min_samples_split | Integer | 2 | Minimum number of samples required to split an internal node. |
min_samples_leaf | Integer | 1 | Minimum number of samples required to be at a leaf node. |
max_features | String | sqrt | Number of features to consider when looking for the best split. |
bootstrap | Boolean | True | Whether bootstrap samples are used when building trees. |
oob_score | Boolean | False | Whether to use out-of-bag samples to estimate generalization accuracy. |
class_weight | String or Dict | None | Weights associated with classes in the form {class_label: weight}. |
criterion | String | gini | Function to measure the quality of a split. |
random_state | Integer | None | Controls the randomness of the estimator. |
ccp_alpha | Float | 0.0 | Complexity parameter used for Minimal Cost-Complexity Pruning. |
max_leaf_nodes | Integer | None | Grow trees with max_leaf_nodes in best-first fashion. |
max_samples | Float or Integer | None | Number of samples to draw from X to train each base estimator. |
min_impurity_decrease | Float | 0.0 | A node will be split if this split induces a decrease of the impurity greater than or equal to this ... |
min_weight_fraction_leaf | Float | 0.0 | Minimum weighted fraction of the sum total of weights required to be at a leaf node. |
monotonic_cst | Array of Integers | None | Constraint to enforce monotonicity in the predictions with respect to certain features. |
n_jobs | Integer | None | Number of jobs to run in parallel. |
verbose | Integer | 0 | Controls the verbosity when fitting and predicting. |
warm_start | Boolean | False | When True, reuse the solution of the previous call to fit and add more estimators to the ensemble. |