<a id="dask-examples"></a>

# XGBoost Dask Feature Walkthrough

This directory contains some demonstrations for using dask with XGBoost.  For an
overview, see [Distributed XGBoost with Dask](../../tutorials/dask.html.md)

<div id='sg-tag-list' class='sphx-glr-tag-list'></div><div class="sphx-glr-thumbnails">
<!-- thumbnail-parent-div-open --><div class="sphx-glr-thumbcontainer" tooltip="Use scikit-learn regressor interface with CPU histogram tree method">![](python/dask-examples/images/thumb/sphx_glr_sklearn_cpu_training_thumb.png)

[Use scikit-learn regressor interface with CPU histogram tree method](sklearn_cpu_training.html.md)

  <div class="sphx-glr-thumbnail-title">Use scikit-learn regressor interface with CPU histogram tree method</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="Use scikit-learn regressor interface with GPU histogram tree method">![](python/dask-examples/images/thumb/sphx_glr_sklearn_gpu_training_thumb.png)

[Use scikit-learn regressor interface with GPU histogram tree method](sklearn_gpu_training.html.md)

  <div class="sphx-glr-thumbnail-title">Use scikit-learn regressor interface with GPU histogram tree method</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="Example of training with Dask on CPU">![](python/dask-examples/images/thumb/sphx_glr_cpu_training_thumb.png)

[Example of training with Dask on CPU](cpu_training.html.md)

  <div class="sphx-glr-thumbnail-title">Example of training with Dask on CPU</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="Example of training survival model with Dask on CPU">![](python/dask-examples/images/thumb/sphx_glr_cpu_survival_thumb.png)

[Example of training survival model with Dask on CPU](cpu_survival.html.md)

  <div class="sphx-glr-thumbnail-title">Example of training survival model with Dask on CPU</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="Example of using callbacks with Dask">![](python/dask-examples/images/thumb/sphx_glr_dask_callbacks_thumb.png)

[Example of using callbacks with Dask](dask_callbacks.html.md)

  <div class="sphx-glr-thumbnail-title">Example of using callbacks with Dask</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="Example of training with Dask on GPU">![](python/dask-examples/images/thumb/sphx_glr_gpu_training_thumb.png)

[Example of training with Dask on GPU](gpu_training.html.md)

  <div class="sphx-glr-thumbnail-title">Example of training with Dask on GPU</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="The example runs on GPU. Two classes are defined to show how to use Dask builtins to forward the logs to the client process.">![](python/dask-examples/images/thumb/sphx_glr_forward_logging_thumb.png)

[Example of forwarding evaluation logs to the client](forward_logging.html.md)

  <div class="sphx-glr-thumbnail-title">Example of forwarding evaluation logs to the client</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="  .. versionadded:: 3.0.0">![](python/dask-examples/images/thumb/sphx_glr_dask_learning_to_rank_thumb.png)

[Learning to rank with the Dask Interface](dask_learning_to_rank.html.md)

  <div class="sphx-glr-thumbnail-title">Learning to rank with the Dask Interface</div>
</div>
<!-- thumbnail-parent-div-close --></div>

[`Download all examples in Python source code: dask-examples_python.zip`](_downloads/40c2529b2b472a2cd89b9d5819154b9e/dask-examples_python.zip)

[`Download all examples in Jupyter notebooks: dask-examples_jupyter.zip`](_downloads/b39acb4d2749c1abee14d95cdcc4919a/dask-examples_jupyter.zip)

[Gallery generated by Sphinx-Gallery](https://sphinx-gallery.github.io)
