Skip to content

lightgbm

Light Gradient Boosting Machine

v4.6.0 · Feb 13, 2025 · MIT + file LICENSE

Description

Tree based algorithms can be improved by introducing boosting frameworks. 'LightGBM' is one such framework, based on Ke, Guolin et al. (2017) <https://papers.nips.cc/paper/6907-lightgbm-a-highly-efficient-gradient-boosting-decision>. 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.

Downloads

5.7K

Last 30 days

1639th

18.9K

Last 90 days

97.3K

Last year

Trend: -1.5% (30d vs prior 30d)

CRAN Check Status

2 WARNING
3 NOTE
9 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 WARNING
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 WARNING
Check details (5 non-OK)
WARNING r-devel-windows-x86_64

whether package can be installed

Found the following significant warnings:
  Warning: src/Makevars.win: Unknown C++ standard '@CXX_STD@' was ignored
See 'd:/Rcompile/CRANpkg/local/4.6/lightgbm.Rcheck/00install.out' for details.
* used C++ compiler: 'g++.exe (GCC) 14.3.0'
NOTE r-oldrel-macos-arm64

installed package size

installed size is 68.8Mb
  sub-directories of 1Mb or more:
    libs  68.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 71.7Mb
  sub-directories of 1Mb or more:
    libs  71.1Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  6.4Mb
  sub-directories of 1Mb or more:
    libs   5.8Mb
WARNING r-release-windows-x86_64

whether package can be installed

Found the following significant warnings:
  Warning: src/Makevars.win: Unknown C++ standard '@CXX_STD@' was ignored
See 'd:/Rcompile/CRANpkg/local/4.5/lightgbm.Rcheck/00install.out' for details.
* used C++ compiler: 'g++.exe (GCC) 14.3.0'

Check History

WARNING 9 OK · 3 NOTE · 2 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
WARNING r-devel-windows-x86_64

whether package can be installed

Found the following significant warnings:
  Warning: src/Makevars.win: Unknown C++ standard '@CXX_STD@' was ignored
See 'd:/Rcompile/CRANpkg/local/4.6/lightgbm.Rcheck/00install.out' for details.
* used C++ compiler: 'g++.exe (GCC) 14.3.0'
WARNING r-release-windows-x86_64

whether package can be installed

Found the following significant warnings:
  Warning: src/Makevars.win: Unknown C++ standard '@CXX_STD@' was ignored
See 'd:/Rcompile/CRANpkg/local/4.5/lightgbm.Rcheck/00install.out' for details.
* used C++ compiler: 'g++.exe (GCC) 14.3.0'
NOTE r-oldrel-macos-arm64

installed package size

installed size is 68.8Mb
  sub-directories of 1Mb or more:
    libs  68.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 71.7Mb
  sub-directories of 1Mb or more:
    libs  71.1Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  6.4Mb
  sub-directories of 1Mb or more:
    libs   5.8Mb

Reverse Dependencies (24)

Dependency Network

Dependencies Reverse dependencies R6 data.table jsonlite (>= 1.0) Matrix MFF cbl misspi predhy predhy.GUI qshap sae.projection ubair BORG EIX PatientLevelPrediction SHAPforxgboost bonsai comets fastml +9 more reverse deps lightgbm

Version History

new 4.6.0 Mar 10, 2026
updated 4.6.0 ← 4.5.0 diff Feb 12, 2025
updated 4.5.0 ← 4.4.0 diff Jul 25, 2024
updated 4.4.0 ← 4.3.0 diff Jun 14, 2024
updated 4.3.0 ← 4.2.0 diff Jan 17, 2024
updated 4.2.0 ← 3.3.5 diff Dec 7, 2023
updated 3.3.5 ← 3.3.4 diff Jan 15, 2023
updated 3.3.4 ← 3.3.3 diff Dec 15, 2022
updated 3.3.3 ← 3.3.2 diff Oct 9, 2022
updated 3.3.2 ← 3.3.1 diff Jan 13, 2022
updated 3.3.1 ← 3.3.0 diff Oct 29, 2021
updated 3.3.0 ← 3.2.1 diff Oct 8, 2021
updated 3.2.1 ← 3.2.0 diff Apr 12, 2021
updated 3.2.0 ← 3.1.1 diff Mar 21, 2021
updated 3.1.1 ← 3.1.0 diff Dec 7, 2020
updated 3.1.0 ← 3.0.0.2 diff Nov 18, 2020
updated 3.0.0.2 ← 3.0.0 diff Sep 30, 2020
new 3.0.0 Sep 20, 2020