How does a Quantile Regression Forest estimate prediction intervals?

Last updated 5 November 2026

  • A Quantile Regression Forest grows ordinary regression trees but keeps all training responses in each leaf, not just their mean.

  • For a query x, each training point is weighted by how often it shares leaves with x. These weights give an estimated conditional CDF, and quantiles are read off it (e.g. [q0.05, q0.95] for a 90% interval).

  • It is nonparametric and adapts to heteroscedastic noise. It cannot extrapolate beyond observed y, costs memory, and lacks finite-sample coverage guarantees (conformal calibration can help).

  • https://www.geeksforgeeks.org/machine-learning/prediction-intervals-for-machine-learning/
  • https://medium.com/@icvandenende/embrace-the-uncertainty-start-building-your-probabilistic-forecast-with-a-level-set-forecaster-or-c55d9f44f0c4
  • https://metricgate.com/blogs/quantile-regression-forests-for-prediction-intervals/
All Random Forests interview questions