github microsoft/LightGBM v4.4.0

latest releases: v4.5.0, stable
4 months ago

Changes

💡 New Features

  • [ci] [python-package] add arm64 macOS wheels @jameslamb (#6391)
  • [python-package] Add support for NumPy 2.0, test against nightly versions of dependencies (fixes #6454) @jameslamb (#6467)
  • [R-package] expose start_iteration to dump/save/lgb.model.dt.tree @mayer79 (#6398)
  • [python-package] Allow to pass early stopping min delta in params @borchero (#6274)
  • [python-package] Allow to pass Arrow table with boolean columns to dataset @borchero (#6353)
  • [c++][fix] Support Quantized Training with Categorical Features on CPU @shiyu1994 (#6301)

🔨 Breaking

  • [python-package] remove uses of deprecated NumPy random number generation APIs, require 'numpy>=1.17.0' @jameslamb (#6468)
  • [python-package] drop Python 3.6 support, add Python 3.12 @jameslamb (#6459)
  • [cmake] [c++] use .dylib extension unconditionally on macOS @jameslamb (#6418)
  • ENH more stable gradient of CrossEntropy @lorentzenchr (#6327)
  • [R-package] Rename slice() to lgb.slice.Dataset() @david-cortes (#6293)

🚀 Efficiency Improvement

  • [R-package] Use ALTREP system to return C++-allocated arrays @david-cortes (#6213)
  • [R-package] Speed-up lgb.importance() @mayer79 (#6364)
  • Fix single row prediction performance in a multi-threaded environment @Ten0 (#6024)

🐛 Bug Fixes

  • [R-package] ensure use of interaction_constraints does not lead to features being ignored @mayer79 (#6377)
  • [R-package] skip integer categorical feature check when building dataset subset (fixes #6412) @jmoralez (#6442)
  • [cmake] always target Windows SDK v10.x when using Visual Studio generators (fixes #6448) @jameslamb (#6451)
  • upgrade CMake in dockerfile-cli (fixes #6420) @narumiruna (#6426)
  • remove unnecessary omp single that cause deadlock (fixes #6273) @morokosi (#6394)
  • [python-package] allow use of early_stopping_round<=0 to turn off early stopping (fixes #6401) @ddelzell (#6406)
  • [c++] Fix memory leak in Arrow table implementation @borchero (#6314)
  • Fix calculation of number of bins in FindGroup @CVPaul (#6019)

📖 Documentation

  • [docs] ensure pkgdown site index accurately reflects R-package public API (fixes #6444) @jameslamb (#6445)
  • [docs] document how to use a custom objective function via the C API @parsiad (#6396)
  • [docs] [ci] encourage use of cmake --build @jameslamb (#6368)
  • [docs] remove language about CUDA version being experimental (fixes #6340) @jameslamb (#6371)

🧰 Maintenance

Don't miss a new LightGBM release

NewReleases is sending notifications on new releases.