.. _sphx_glr_auto_examples_ensemble: .. _ensemble_examples: Ensemble methods ---------------- Examples concerning the :mod:`sklearn.ensemble` module. .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/ensemble/images/thumb/sphx_glr_plot_gradient_boosting_categorical_thumb.png :alt: :ref:`sphx_glr_auto_examples_ensemble_plot_gradient_boosting_categorical.py` .. raw:: html
Categorical Feature Support in Gradient Boosting
.. raw:: html
.. only:: html .. image:: /auto_examples/ensemble/images/thumb/sphx_glr_plot_stack_predictors_thumb.png :alt: :ref:`sphx_glr_auto_examples_ensemble_plot_stack_predictors.py` .. raw:: html
Combine predictors using stacking
.. raw:: html
.. only:: html .. image:: /auto_examples/ensemble/images/thumb/sphx_glr_plot_forest_hist_grad_boosting_comparison_thumb.png :alt: :ref:`sphx_glr_auto_examples_ensemble_plot_forest_hist_grad_boosting_comparison.py` .. raw:: html
Comparing Random Forests and Histogram Gradient Boosting models
.. raw:: html
.. only:: html .. image:: /auto_examples/ensemble/images/thumb/sphx_glr_plot_random_forest_regression_multioutput_thumb.png :alt: :ref:`sphx_glr_auto_examples_ensemble_plot_random_forest_regression_multioutput.py` .. raw:: html
Comparing random forests and the multi-output meta estimator
.. raw:: html
.. only:: html .. image:: /auto_examples/ensemble/images/thumb/sphx_glr_plot_adaboost_regression_thumb.png :alt: :ref:`sphx_glr_auto_examples_ensemble_plot_adaboost_regression.py` .. raw:: html
Decision Tree Regression with AdaBoost
.. raw:: html
.. only:: html .. image:: /auto_examples/ensemble/images/thumb/sphx_glr_plot_gradient_boosting_early_stopping_thumb.png :alt: :ref:`sphx_glr_auto_examples_ensemble_plot_gradient_boosting_early_stopping.py` .. raw:: html
Early stopping in Gradient Boosting
.. raw:: html
.. only:: html .. image:: /auto_examples/ensemble/images/thumb/sphx_glr_plot_forest_importances_thumb.png :alt: :ref:`sphx_glr_auto_examples_ensemble_plot_forest_importances.py` .. raw:: html
Feature importances with a forest of trees
.. raw:: html
.. only:: html .. image:: /auto_examples/ensemble/images/thumb/sphx_glr_plot_feature_transformation_thumb.png :alt: :ref:`sphx_glr_auto_examples_ensemble_plot_feature_transformation.py` .. raw:: html
Feature transformations with ensembles of trees
.. raw:: html
.. only:: html .. image:: /auto_examples/ensemble/images/thumb/sphx_glr_plot_hgbt_regression_thumb.png :alt: :ref:`sphx_glr_auto_examples_ensemble_plot_hgbt_regression.py` .. raw:: html
Features in Histogram Gradient Boosting Trees
.. raw:: html
.. only:: html .. image:: /auto_examples/ensemble/images/thumb/sphx_glr_plot_gradient_boosting_oob_thumb.png :alt: :ref:`sphx_glr_auto_examples_ensemble_plot_gradient_boosting_oob.py` .. raw:: html
Gradient Boosting Out-of-Bag estimates
.. raw:: html
.. only:: html .. image:: /auto_examples/ensemble/images/thumb/sphx_glr_plot_gradient_boosting_regression_thumb.png :alt: :ref:`sphx_glr_auto_examples_ensemble_plot_gradient_boosting_regression.py` .. raw:: html
Gradient Boosting regression
.. raw:: html
.. only:: html .. image:: /auto_examples/ensemble/images/thumb/sphx_glr_plot_gradient_boosting_regularization_thumb.png :alt: :ref:`sphx_glr_auto_examples_ensemble_plot_gradient_boosting_regularization.py` .. raw:: html
Gradient Boosting regularization
.. raw:: html
.. only:: html .. image:: /auto_examples/ensemble/images/thumb/sphx_glr_plot_random_forest_embedding_thumb.png :alt: :ref:`sphx_glr_auto_examples_ensemble_plot_random_forest_embedding.py` .. raw:: html
Hashing feature transformation using Totally Random Trees
.. raw:: html
.. only:: html .. image:: /auto_examples/ensemble/images/thumb/sphx_glr_plot_isolation_forest_thumb.png :alt: :ref:`sphx_glr_auto_examples_ensemble_plot_isolation_forest.py` .. raw:: html
IsolationForest example
.. raw:: html
.. only:: html .. image:: /auto_examples/ensemble/images/thumb/sphx_glr_plot_monotonic_constraints_thumb.png :alt: :ref:`sphx_glr_auto_examples_ensemble_plot_monotonic_constraints.py` .. raw:: html
Monotonic Constraints
.. raw:: html
.. only:: html .. image:: /auto_examples/ensemble/images/thumb/sphx_glr_plot_adaboost_multiclass_thumb.png :alt: :ref:`sphx_glr_auto_examples_ensemble_plot_adaboost_multiclass.py` .. raw:: html
Multi-class AdaBoosted Decision Trees
.. raw:: html
.. only:: html .. image:: /auto_examples/ensemble/images/thumb/sphx_glr_plot_ensemble_oob_thumb.png :alt: :ref:`sphx_glr_auto_examples_ensemble_plot_ensemble_oob.py` .. raw:: html
OOB Errors for Random Forests
.. raw:: html
.. only:: html .. image:: /auto_examples/ensemble/images/thumb/sphx_glr_plot_forest_importances_faces_thumb.png :alt: :ref:`sphx_glr_auto_examples_ensemble_plot_forest_importances_faces.py` .. raw:: html
Pixel importances with a parallel forest of trees
.. raw:: html
.. only:: html .. image:: /auto_examples/ensemble/images/thumb/sphx_glr_plot_voting_probas_thumb.png :alt: :ref:`sphx_glr_auto_examples_ensemble_plot_voting_probas.py` .. raw:: html
Plot class probabilities calculated by the VotingClassifier
.. raw:: html
.. only:: html .. image:: /auto_examples/ensemble/images/thumb/sphx_glr_plot_voting_regressor_thumb.png :alt: :ref:`sphx_glr_auto_examples_ensemble_plot_voting_regressor.py` .. raw:: html
Plot individual and voting regression predictions
.. raw:: html
.. only:: html .. image:: /auto_examples/ensemble/images/thumb/sphx_glr_plot_voting_decision_regions_thumb.png :alt: :ref:`sphx_glr_auto_examples_ensemble_plot_voting_decision_regions.py` .. raw:: html
Plot the decision boundaries of a VotingClassifier
.. raw:: html
.. only:: html .. image:: /auto_examples/ensemble/images/thumb/sphx_glr_plot_forest_iris_thumb.png :alt: :ref:`sphx_glr_auto_examples_ensemble_plot_forest_iris.py` .. raw:: html
Plot the decision surfaces of ensembles of trees on the iris dataset
.. raw:: html
.. only:: html .. image:: /auto_examples/ensemble/images/thumb/sphx_glr_plot_gradient_boosting_quantile_thumb.png :alt: :ref:`sphx_glr_auto_examples_ensemble_plot_gradient_boosting_quantile.py` .. raw:: html
Prediction Intervals for Gradient Boosting Regression
.. raw:: html
.. only:: html .. image:: /auto_examples/ensemble/images/thumb/sphx_glr_plot_bias_variance_thumb.png :alt: :ref:`sphx_glr_auto_examples_ensemble_plot_bias_variance.py` .. raw:: html
Single estimator versus bagging: bias-variance decomposition
.. raw:: html
.. only:: html .. image:: /auto_examples/ensemble/images/thumb/sphx_glr_plot_adaboost_twoclass_thumb.png :alt: :ref:`sphx_glr_auto_examples_ensemble_plot_adaboost_twoclass.py` .. raw:: html
Two-class AdaBoost
.. raw:: html
.. toctree:: :hidden: /auto_examples/ensemble/plot_gradient_boosting_categorical /auto_examples/ensemble/plot_stack_predictors /auto_examples/ensemble/plot_forest_hist_grad_boosting_comparison /auto_examples/ensemble/plot_random_forest_regression_multioutput /auto_examples/ensemble/plot_adaboost_regression /auto_examples/ensemble/plot_gradient_boosting_early_stopping /auto_examples/ensemble/plot_forest_importances /auto_examples/ensemble/plot_feature_transformation /auto_examples/ensemble/plot_hgbt_regression /auto_examples/ensemble/plot_gradient_boosting_oob /auto_examples/ensemble/plot_gradient_boosting_regression /auto_examples/ensemble/plot_gradient_boosting_regularization /auto_examples/ensemble/plot_random_forest_embedding /auto_examples/ensemble/plot_isolation_forest /auto_examples/ensemble/plot_monotonic_constraints /auto_examples/ensemble/plot_adaboost_multiclass /auto_examples/ensemble/plot_ensemble_oob /auto_examples/ensemble/plot_forest_importances_faces /auto_examples/ensemble/plot_voting_probas /auto_examples/ensemble/plot_voting_regressor /auto_examples/ensemble/plot_voting_decision_regions /auto_examples/ensemble/plot_forest_iris /auto_examples/ensemble/plot_gradient_boosting_quantile /auto_examples/ensemble/plot_bias_variance /auto_examples/ensemble/plot_adaboost_twoclass