Forests and trees#
Random forests, Extra Trees, single trees, bagging, AdaBoost, isolation forests and saved-model tree inference.
An AdaBoost classifier (SAMME). |
|
An AdaBoost regressor (AdaBoost.R2). |
|
A bagging ensemble of classifiers. |
|
A bagging ensemble of regressors. |
|
Calibrate a classifier's probabilities with cross-validation. |
|
Gradient boosting with DART dropout, classification. |
|
Gradient boosting with DART dropout, squared-error loss. |
|
A single classification tree (CART). |
|
A single regression tree (CART). |
|
Extra-trees classifier with scikit-learn's defaults. |
|
Extra-trees regressor with scikit-learn's defaults. |
|
Load a saved model for prediction on the CPU. |
|
Predict on the CPU with a saved model: |
|
Class probabilities on the CPU from a saved classifier: |
|
A saved random forest or extra-trees model that predicts on the CPU. |
|
CPU inference for a saved gradient-boosting model. |
|
Isolation Forest anomaly detector with scikit-learn's interface. |
|
Model-agnostic Kernel SHAP values. |
|
Fit one classifier per label column. |
|
Fit one regressor per target column. |
|
Multiclass classification with one binary classifier per class. |
|
Model-agnostic Permutation SHAP values. |
|
Random forest classifier with cuML's defaults. |
|
Random forest regressor with cuML's defaults. |
|
An unsupervised embedding by totally random trees. |
|
Stack classifiers and train a final classifier on their cross-validated outputs. |
|
Stack regressors and train a final regressor on their cross-validated outputs. |
|
Exact SHAP values for mojolearn tree models. |
|
Combine classifiers by a weighted majority vote or averaged probabilities. |
|
Average the predictions of several regressors. |