

.. _example_ensemble_plot_gradient_boosting_quantile.py:


=====================================================
Prediction Intervals for Gradient Boosting Regression
=====================================================

This example shows how quantile regression can be used
to create prediction intervals.


**Python source code:** :download:`plot_gradient_boosting_quantile.py <plot_gradient_boosting_quantile.py>`

.. literalinclude:: plot_gradient_boosting_quantile.py
    :lines: 9-
    