OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

quantile-forest

quantile-forest is a Cython-optimized Python library implementing scikit-learn-compatible quantile regression forest estimators. It uses tree ensembles to estimate conditional response quantiles and lets users request arbitrary quantiles at prediction time.

Independent OpenViST project profile, based on linked sources.

quantile-forest — Adding quantile outputs to scikit-learn-style forest regression
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when a tree-based regression workflow needs conditional quantiles or distribution-oriented outputs, rather than only an estimate of the conditional mean.

Who it is for

  • Python practitioners who use scikit-learn-style regression workflows and need more than a conditional-mean prediction.
  • Analysts building prediction intervals or investigating unusual observations in high-dimensional regression data.

Documented uses

  • Estimate selected conditional quantiles of a regression target.
  • Produce lower, median and upper quantile predictions for prediction intervals.
  • Obtain out-of-bag estimates, quantile ranks or proximity counts for tree-ensemble analyses.
Before you choose

Requirements & limits

  • The estimator follows a scikit-learn regressor fitting pattern and accepts quantile choices at prediction time.
  • The documented installation prerequisites include Python 3.11 or later and scikit-learn 1.9 or later.
  • Leaf sampling and weighting settings affect how training responses contribute to empirical quantile estimates.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install quantile-forest and fit a quantile regressor

Install the library and use its documented diabetes example to request a median and 95% prediction interval.

Before you start

  • Python 3.11 or later
  • NumPy 1.23 or later
  • scikit-learn 1.9 or later
  • SciPy 1.6 or later
  • A pip or conda environment

Steps

  1. Install with the command below or conda install quantile-forest -c conda-forge.

    Documented command
    pip install quantile-forest
  2. Load the diabetes dataset and split its features and target into training and test sets.

  3. Fit RandomForestQuantileRegressor on the training data.

  4. Call predict on the test features with quantiles [0.025, 0.5, 0.975].

Expected outcome

Predictions for the requested lower percentile, median and upper percentile; the documented example returns three columns.

Guide limitations

  • The example produces quantile predictions; it does not establish predictive coverage for other datasets.
  • Quantile estimation depends on the documented leaf-sampling and weighting configuration.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
15 November 2026
Original website title
quantile-forest — quantile-forest 1.5.0 documentation · Official homepage title · retained in its source language