Quantile Prediction Intervals (Gradient Boosting and Quantile Regression Forest)
Quantile prediction intervals estimate lower and upper conditional quantiles of the outcome, here with gradient boosting under the pinball loss or with Meinshausen's quantile regression forest, and check their held-out coverage.
분위수 예측구간은 결과의 조건부 하위·상위 분위수를 핀볼 손실 그래디언트 부스팅이나 마인스하우젠의 분위수 회귀 숲으로 추정하고, 별도 검증 자료에서 포함률을 확인하는 방법입니다.
Besides a point forecast of delivery time, I need a range that contains the true value about 90% of the time for each order; how can a machine learning model give that?
배송 시간의 점 예측 말고도 주문마다 실제 값을 90% 정도 포함하는 범위가 필요한데, 머신러닝 모형으로 이런 구간을 어떻게 얻나요?
Fit models for the 5th and 95th conditional percentiles, either by gradient boosting with the pinball loss or by a quantile regression forest that reads quantiles from the outcomes stored in its leaves. Then verify on held-out data that about 90% of outcomes fall inside the intervals and compare their widths.
When to use Quantile Prediction Intervals (Gradient Boosting and Quantile Regression Forest)
- Uncertainty differs across cases (heteroscedastic or skewed outcomes).
- You need case-specific prediction intervals from a nonlinear model.
- You want to compare interval methods by coverage, width and pinball loss.
When to use something else
- You need intervals with a finite-sample coverage guarantee; use conformal prediction.
- A linear relationship is adequate; use linear quantile regression.
Assumptions and requirements
- The outcome is numeric and test rows come from the same distribution as training rows.
- Separate boosted models can cross; crossed quantiles are sorted and their rate reported.
- The quantile forest uses at most 3,000 training rows.
What the analysis reports
- Held-out coverage and mean interval width per method
- Pinball loss for each requested quantile
- Predicted intervals for the first held-out rows
How to report it
On [value] held-out cases, 90% prediction intervals from the quantile regression forest covered [value]% of outcomes with a mean width of [value], compared with [value]% and [value] for gradient-boosted quantiles.
Related methods
- Quantile Regression
- Conformal Prediction
- Random Forest
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with scikit-learn.
독립 계산. scikit-learn 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Quantile Prediction Intervals (Gradient Boosting and Quantile Regression Forest) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.