:orphan: XGBoost Python Feature Walkthrough ================================== This is a collection of examples for using the XGBoost Python package. .. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_sklearn_parallel_thumb.png :alt: :doc:`/python/examples/sklearn_parallel` .. raw:: html
Demo for using xgboost with sklearn
.. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_predict_leaf_indices_thumb.png :alt: :doc:`/python/examples/predict_leaf_indices` .. raw:: html
Demo for obtaining leaf index
.. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_evals_result_thumb.png :alt: :doc:`/python/examples/evals_result` .. raw:: html
This script demonstrate how to access the eval metrics
.. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_gamma_regression_thumb.png :alt: :doc:`/python/examples/gamma_regression` .. raw:: html
Demo for gamma regression
.. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_boost_from_prediction_thumb.png :alt: :doc:`/python/examples/boost_from_prediction` .. raw:: html
Demo for boosting from prediction
.. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_sklearn_evals_result_thumb.png :alt: :doc:`/python/examples/sklearn_evals_result` .. raw:: html
Demo for accessing the xgboost eval metrics by using sklearn interface
.. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_feature_weights_thumb.png :alt: :doc:`/python/examples/feature_weights` .. raw:: html
Demo for using feature weight to change column sampling
.. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_generalized_linear_model_thumb.png :alt: :doc:`/python/examples/generalized_linear_model` .. raw:: html
Demo for GLM
.. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_predict_first_ntree_thumb.png :alt: :doc:`/python/examples/predict_first_ntree` .. raw:: html
Demo for prediction using number of trees
.. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_basic_walkthrough_thumb.png :alt: :doc:`/python/examples/basic_walkthrough` .. raw:: html
Getting started with XGBoost
.. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_sklearn_examples_thumb.png :alt: :doc:`/python/examples/sklearn_examples` .. raw:: html
Collection of examples for using sklearn interface
.. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_cross_validation_thumb.png :alt: :doc:`/python/examples/cross_validation` .. raw:: html
Demo for using cross validation
.. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_categorical_thumb.png :alt: :doc:`/python/examples/categorical` .. raw:: html
Getting started with categorical data
.. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_external_memory_thumb.png :alt: :doc:`/python/examples/external_memory` .. raw:: html
Experimental support for external memory
.. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_quantile_data_iterator_thumb.png :alt: :doc:`/python/examples/quantile_data_iterator` .. raw:: html
Demo for using data iterator with Quantile DMatrix
.. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_update_process_thumb.png :alt: :doc:`/python/examples/update_process` .. raw:: html
Demo for using process_type with prune and refresh
.. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_individual_trees_thumb.png :alt: :doc:`/python/examples/individual_trees` .. raw:: html
Demo for prediction using individual trees and model slices
.. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_spark_estimator_examples_thumb.png :alt: :doc:`/python/examples/spark_estimator_examples` .. raw:: html
Collection of examples for using xgboost.spark estimator interface
.. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_cat_in_the_dat_thumb.png :alt: :doc:`/python/examples/cat_in_the_dat` .. raw:: html
Train XGBoost with cat_in_the_dat dataset
.. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_multioutput_regression_thumb.png :alt: :doc:`/python/examples/multioutput_regression` .. raw:: html
A demo for multi-output regression
.. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_quantile_regression_thumb.png :alt: :doc:`/python/examples/quantile_regression` .. raw:: html
Quantile Regression
.. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_continuation_thumb.png :alt: :doc:`/python/examples/continuation` .. raw:: html
Demo for training continuation
.. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_cat_pipeline_thumb.png :alt: :doc:`/python/examples/cat_pipeline` .. raw:: html
Feature engineering pipeline for categorical data
.. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_callbacks_thumb.png :alt: :doc:`/python/examples/callbacks` .. raw:: html
Demo for using and defining callback functions
.. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_custom_softmax_thumb.png :alt: :doc:`/python/examples/custom_softmax` .. raw:: html
Demo for creating customized multi-class objective function
.. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_learning_to_rank_thumb.png :alt: :doc:`/python/examples/learning_to_rank` .. raw:: html
Getting started with learning to rank
.. raw:: html
.. only:: html .. image:: /python/examples/images/thumb/sphx_glr_custom_rmsle_thumb.png :alt: :doc:`/python/examples/custom_rmsle` .. raw:: html
Demo for defining a custom regression objective and metric
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /python/examples/sklearn_parallel /python/examples/predict_leaf_indices /python/examples/evals_result /python/examples/gamma_regression /python/examples/boost_from_prediction /python/examples/sklearn_evals_result /python/examples/feature_weights /python/examples/generalized_linear_model /python/examples/predict_first_ntree /python/examples/basic_walkthrough /python/examples/sklearn_examples /python/examples/cross_validation /python/examples/categorical /python/examples/external_memory /python/examples/quantile_data_iterator /python/examples/update_process /python/examples/individual_trees /python/examples/spark_estimator_examples /python/examples/cat_in_the_dat /python/examples/multioutput_regression /python/examples/quantile_regression /python/examples/continuation /python/examples/cat_pipeline /python/examples/callbacks /python/examples/custom_softmax /python/examples/learning_to_rank /python/examples/custom_rmsle .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: examples_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: examples_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_