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.6K

Last 30 days

1582nd

5.6K

Last 90 days

5.6K

Last year

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 (14 non-OK)
OK 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

*


            
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
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
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 9, 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 (20)

Dependency Network

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

Version History

new 4.6.0 Mar 9, 2026