| Documentation · Release Notes | |
|---|---|
| Open Source | |
| CI/CD | |
| Code | |
| Downloads | |
| Citation |
XGBoostLSS - An extension of XGBoost to probabilistic modelling
We introduce a comprehensive framework that models and predicts the full conditional distribution of univariate and multivariate targets as a function of covariates. Choosing from a wide range of continuous, discrete, and mixed discrete-continuous distributions, modelling and predicting the entire conditional distribution greatly enhances the flexibility of XGBoost, as it allows to create probabilistic forecasts from which prediction intervals and quantiles of interest can be derived.
Features
:white_check_mark: Estimation of all distributional parameters.
:white_check_mark: Normalizing Flows allow modelling of complex and multi-modal distributions.
:white_check_mark: Mixture-Densities can model a diverse range of data characteristics.
:white_check_mark: Multi-target regression allows modelling of multivariate responses and their dependencies.
:white_check_mark: Zero-Adjusted and Zero-Inflated Distributions for modelling excess of zeros in the data.
:white_check_mark: Automatic derivation of Gradients and Hessian of all distributional parameters using PyTorch.
:white_check_mark: Automated hyper-parameter search, including pruning, is done via Optuna.
:white_check_mark: The output of XGBoostLSS is explained using SHapley Additive exPlanations.
:white_check_mark: XGBoostLSS provides full compatibility with all the features and functionality of XGBoost.
:white_check_mark: XGBoostLSS is available in Python.
News
:boom: [2025-12-11] Release of v0.6.1 to PyPI. See the release notes for an overview.
:boom: [2025-10-31] Release of v0.5.0 - python 3.13 support and dependency minimization. See the release notes for an overview.
:boom: [2024-01-19] Release of XGBoostLSS to PyPI.
:boom: [2023-08-25] Release of v0.4.0 introduces Mixture-Densities. See the release notes for an overview.
:boom: [2023-07-19] Release of v0.3.0 introduces Normalizing Flows. See the release notes for an overview.
:boom: [2023-06-22] Release of v0.2.2. See the release notes for an overview.
:boom: [2023-06-21] XGBoostLSS now supports multi-target regression.
:boom: [2023-06-07] XGBoostLSS now supports Zero-Inflated and Zero-Adjusted Distributions.
:boom: [2023-05-26] Release of v0.2.1. See the release notes for an overview.
:boom: [2023-05-18] Release of v0.2.0. See the release notes for an overview.
:boom: [2021-12-22] XGBoostLSS now supports estimating the full predictive distribution via Expectile Regression.
:boom: [2021-12-20] XGBoostLSS is initialized with suitable starting values to improve convergence of estimation.
:boom: [2021-12-04] XGBoostLSS now supports automatic derivation of Gradients and Hessians.
:boom: [2021-12-02] XGBoostLSS now supports pruning during hyperparameter optimization.
:boom: [2021-11-14] XGBoostLSS v0.1.0 is released!
Installation
To install the development version, please use
pip install git+https://github.com/StatMixedML/XGBoostLSS.git
For the PyPI version, please use
pip install xgboostlss
Available Distributions
Our framework is built upon PyTorch and Pyro, enabling users to harness a diverse set of distributional families. XGBoostLSS currently supports the following distributions.
How to Use
Please visit the example section for guidance on how to use the framework.
Documentation
For more information and context, please visit the documentation.
Feedback
We encourage you to provide feedback on how to enhance XGBoostLSS or request the implementation of additional distributions by opening a new discussion.
How to Cite
If you use XGBoostLSS in your research, please cite it as:
@misc{Maerz2023,
author = {Alexander M\"arz},
title = {{XGBoostLSS: An Extension of XGBoost to Probabilistic Modelling}},
year = {2023},
note = {GitHub repository, Version 0.6.1},
howpublished = {\url{https://github.com/StatMixedML/XGBoostLSS}}
}
Reference Paper
Star History
Metadata
Release files for xgboostlss 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| xgboostlss-0.6.1.tar.gz | 3.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xgboostlss-0.6.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.3 MB
Release files / xgboostlss-0.6.1.tar.gz
| Download URL | xgboostlss-0.6.1.tar.gz |
|---|---|
| Size | 3.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d3f44878459169faf389b1948499f6d58ba462298a2c0d784f79022ac4901bbf
|
|
BLAKE2b-256 checksum How to use checksums |
d2dab4ad83f475e18eaa68bd660ac933f4ec083bf21c7c25b453c54270ad1f62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 11, 2025.
Transparency logRelease files / xgboostlss-0.6.1-py3-none-any.whl
| Download URL | xgboostlss-0.6.1-py3-none-any.whl |
|---|---|
| Size | 3.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ae1de732bef58ece4d066fe8d75730328f92ff849417b8581facfefebbf1ee6b
|
|
BLAKE2b-256 checksum How to use checksums |
be4f2cb2be8c9ce9776a69ba2e9b1486008ccbf93a9dbdcc886b1b2d1d67b86d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 11, 2025.
Transparency log