Quantile regression forests for scikit-learn compatible probabilistic forecasting. Version 1.4.1, actively maintained. Provides quantile predictions from random forest models with scikit-learn API.
pip install quantile-forestNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Fit a quantile regression forest and predict 5th and 95th percentiles.
Always use quantiles as a list even for single value: quantiles=[0.5] to get consistent shape.
Squeeze y: y = y.ravel() before fitting.
Explicitly set bootstrap=False if you relied on old default.
Use quantiles=None to get mean and std; use quantiles=[0.5] to get median separately.