lightgbm: Light Gradient Boosting Machine

Tree based algorithms can be improved by introducing boosting frameworks. 'LightGBM' is one such framework, based on Ke, Guolin et al. (2017) <>. This package offers an R interface to work with it. It is designed to be distributed and efficient with the following advantages: 1. Faster training speed and higher efficiency. 2. Lower memory usage. 3. Better accuracy. 4. Parallel learning supported. 5. Capable of handling large-scale data. In recognition of these advantages, 'LightGBM' has been widely-used in many winning solutions of machine learning competitions. Comparison experiments on public datasets suggest that 'LightGBM' can outperform existing boosting frameworks on both efficiency and accuracy, with significantly lower memory consumption. In addition, parallel experiments suggest that in certain circumstances, 'LightGBM' can achieve a linear speed-up in training time by using multiple machines.

Version: 4.4.0
Depends: R (≥ 3.5)
Imports: R6 (≥ 2.0), data.table (≥ 1.9.6), graphics, jsonlite (≥ 1.0), Matrix (≥ 1.1-0), methods, parallel, utils
Suggests: knitr, markdown, RhpcBLASctl, testthat
Published: 2024-06-15
DOI: 10.32614/CRAN.package.lightgbm
Author: Yu Shi [aut], Guolin Ke [aut], Damien Soukhavong [aut], James Lamb [aut, cre], Qi Meng [aut], Thomas Finley [aut], Taifeng Wang [aut], Wei Chen [aut], Weidong Ma [aut], Qiwei Ye [aut], Tie-Yan Liu [aut], Nikita Titov [aut], Yachen Yan [ctb], Microsoft Corporation [cph], Dropbox, Inc. [cph], Alberto Ferreira [ctb], Daniel Lemire [ctb], Victor Zverovich [cph], IBM Corporation [ctb], David Cortes [aut], Michael Mayer [ctb]
Maintainer: James Lamb <jaylamb20 at>
License: MIT + file LICENSE
NeedsCompilation: yes
SystemRequirements: C++17
Materials: README
In views: MachineLearning, ModelDeployment
CRAN checks: lightgbm results [issues need fixing before 2024-08-03]


Reference manual: lightgbm.pdf
Vignettes: Basic Walkthrough


Package source: lightgbm_4.4.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): lightgbm_4.4.0.tgz, r-oldrel (arm64): lightgbm_4.4.0.tgz, r-release (x86_64): lightgbm_4.4.0.tgz, r-oldrel (x86_64): lightgbm_4.4.0.tgz
Old sources: lightgbm archive

Reverse dependencies:

Reverse imports: cbl, misspi, predhy, predhy.GUI
Reverse suggests: bonsai, EIX, mllrnrs, qeML, SHAPforxgboost, stackgbm, treeshap
Reverse enhances: fastshap, shapviz, vip


Please use the canonical form to link to this page.