← all repositories
StatMixedML/XGBoostLSS

XGBoost learns entire distributions, not just means

It reworks XGBoost to predict full conditional distributions—intervals, quantiles, and all—instead of single point estimates.

717 stars Python ML FrameworksDomain Apps
XGBoostLSS
Not currently ranked — collecting fresh signals.
star history

What it does

XGBoostLSS reframes gradient boosting as a distributional regression problem. Rather than predicting a single outcome, it estimates every parameter of a conditional distribution—location, scale, and beyond—as a function of the input features. The result is a full predictive distribution from which you can pull quantiles, prediction intervals, and probabilistic forecasts without post-hoc hacks.

The interesting bit

Instead of hand-deriving gradients for each new distribution, the project leans on PyTorch autograd to generate the necessary gradients and Hessians automatically and feed them into XGBoost’s native boosting loop. It also squeezes multi-target regression, normalizing flows, and mixture densities into the same XGBoost-compatible API, which is not a combination you see often in boosting libraries.

Key highlights

  • Models complete conditional distributions across continuous, discrete, and mixed discrete-continuous families.
  • Normalizing flows and mixture densities capture complex, multi-modal data shapes that a single standard family cannot.
  • Joint multi-target regression handles multivariate responses and their dependencies in one model.
  • PyTorch automatically derives all gradients and Hessians for distributional parameters, removing manual calculus from the loop.
  • Automated hyperparameter search via Optuna and SHAP-based explanations are built in.
  • Retains full compatibility with the standard XGBoost feature set.

Verdict

Forecasters and modelers who need native uncertainty quantification without leaving the XGBoost ecosystem should try this. If your work stops at point predictions, the extra distributional machinery is likely overkill.

Frequently asked

What is StatMixedML/XGBoostLSS?
It reworks XGBoost to predict full conditional distributions—intervals, quantiles, and all—instead of single point estimates.
Is XGBoostLSS open source?
Yes — StatMixedML/XGBoostLSS is open source, released under the Apache-2.0 license.
What language is XGBoostLSS written in?
StatMixedML/XGBoostLSS is primarily written in Python.
How popular is XGBoostLSS?
StatMixedML/XGBoostLSS has 717 stars on GitHub.
Where can I find XGBoostLSS?
StatMixedML/XGBoostLSS is on GitHub at https://github.com/StatMixedML/XGBoostLSS.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.