.. blogpost:: :title: Quantile regression with scikit-learn. :keywords: scikit-learn, quantile regression :date: 2018-05-07 :categories: machine learning :epkg:`scikit-learn` does not have any quantile regression. :epkg:`statsmodels` does have one `QuantReg `_ but I wanted to try something I did for my teachings `RĂ©gression Quantile `_ based on `Iteratively reweighted least squares `_. I thought it was a good case study to turn a simple algorithm into a learner :epkg:`scikit-learn` can reused in a pipeline. The notebook :ref:`quantileregressionrst` demonstrates it and it is implemented in :class:`QuantileLinearRegression `.