| Documentation · Release Notes | |
|---|---|
| Open Source | Apache 2.0 |
| CI/CD | github-actions Documentation status badge |
| Code | !pypi !python-versions Code coverage status badge |
| Downloads | Pepy Total Downlods |
| Citation | Arxiv link |
We introduce a comprehensive framework that models and predicts the full conditional distribution of a univariate target 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 LightGBM, as it allows to create probabilistic forecasts from which prediction intervals and quantiles of interest can be derived.
✅ Estimation of all distributional parameters.
✅ Normalizing Flows allow modelling of complex and multi-modal distributions.
✅ Mixture-Densities can model a diverse range of data characteristics.
✅ Zero-Adjusted and Zero-Inflated Distributions for modelling excess of zeros in the data.
✅ Automatic derivation of Gradients and Hessian of all distributional parameters using PyTorch.
✅ Automated hyper-parameter search, including pruning, is done via Optuna.
✅ The output of LightGBMLSS is explained using SHapley Additive exPlanations.
✅ LightGBMLSS provides full compatibility with all the features and functionality of LightGBM.
✅ LightGBMLSS is available in Python.
💥 [2025年12月11日] Release of v0.6.1 LightGBMLSS to PyPI. See the release notes for an overview.
💥 [2024年01月19日] Release of LightGBMLSS to PyPI.
💥 [2023年08月28日] Release of v0.4.0 introduces Mixture-Densities. See the release notes for an overview.
💥 [2023年07月20日] Release of v0.3.0 introduces Normalizing Flows. See the release notes for an overview.
💥 [2023年06月22日] Release of v0.2.2. See the release notes for an overview.
💥 [2023年06月15日] LightGBMLSS now supports Zero-Inflated and Zero-Adjusted Distributions.
💥 [2023年05月26日] Release of v0.2.1. See the release notes for an overview.
💥 [2023年05月23日] Release of v0.2.0. See the release notes for an overview.
💥 [2022年01月05日] LightGBMLSS now supports estimating the full predictive distribution via Expectile Regression.
💥 [2022年01月05日] LightGBMLSS now supports automatic derivation of Gradients and Hessians.
💥 [2022年01月04日] LightGBMLSS is initialized with suitable starting values to improve convergence of estimation.
💥 [2022年01月04日] LightGBMLSS v0.1.0 is released!
To install the development version, please use
pip install git+https://github.com/StatMixedML/LightGBMLSS.git
For the PyPI version, please use
pip install lightgbmlss
Our framework is built upon PyTorch and Pyro, enabling users to harness a diverse set of distributional families. LightGBMLSS currently supports the following distributions.
Please visit the example section for guidance on how to use the framework.
For more information and context, please visit the documentation.
We encourage you to provide feedback on how to enhance LightGBMLSS or request the implementation of additional distributions by opening a new discussion.
If you use LightGBMLSS in your research, please cite it as:
@misc{Maerz2023, author = {Alexander M\"arz}, title = {{LightGBMLSS: An Extension of LightGBM to Probabilistic Modelling}}, year = {2023}, note = {GitHub repository, Version 0.6.1}, howpublished = {\url{https://github.com/StatMixedML/LightGBMLSS}} }