Skip to content

v4.6.0

Latest
Compare
Choose a tag to compare
@guolinke guolinke released this 15 Feb 03:46
d02a01a

Changes

💡 New Features

🔨 Breaking

  • [R-package] require lgb.Dataset, remove support for passing 'colnames' and 'categorical_feature' for lgb.train() and lgb.cv() @jameslamb (#6714)
  • [python-package] support sub-classing scikit-learn estimators @jameslamb (#6783)
  • [python-package] do not copy column-major numpy arrays when creating Dataset from list of arrays @jmoralez (#6773)
  • [python-package] remove support for passing 'feature_name' and 'categorical_feature' through train() and cv() @jameslamb (#6706)
  • [python-package] require scikit-learn>=0.24.2, make scikit-learn estimators compatible with scikit-learn>=1.6.0dev @vnherdeiro (#6651)
  • [ci] Require CMake 3.28 and replace FetchContent_Populate with FetchContent_MakeAvailable @StrikerRUS (#6550)

🚀 Efficiency Improvement

  • [python-package] do not copy column-major numpy arrays when predicting @jmoralez (#6751)
  • [python-package] do not copy column-major numpy arrays when creating Dataset @jmoralez (#6721)

🐛 Bug Fixes

  • [python-package] Separately check whether pyarrow and cffi are installed @mlondschien (#6785)
  • [c++] Fixed Predictor lifecycle and trees initialization in Contrib mode @AndreyOrb (#6778)
  • [python-package] Infer feature names from pyarrow.Table @mlondschien (#6781)
  • [python-package] Fix inconsistency in predict() output shape for 1-tree models @RektPunk (#6753)
  • [fix] resolve potential attack in linker connection building @shiyu1994 (#6752)
  • [R-package] Avoid bashisms (non-POSIX code) in R-package/configure @smoser (#6746)
  • [c++] fix parallel_tree_learner_split_info @moming39 (#6738)
  • [c++] Fix dump_model() information for root node @neNasko1 (#6569)
  • [cmake] [R-package] include R-for-macOS vendored libs dir in OpenMP search path (fixes #6628) @jameslamb (#6629)
  • [R-package] only warn about early stopping and DART boosting being incompatible if early stopping was requested @serkor1 (#6619)
  • [cmake] fixes static build for macos with OpenMP enabled (fixes #6601) @Mottl (#6600)

📖 Documentation

  • [docs] update installation guide @StrikerRUS (#6696)
  • [docs] add note about pyodide support @jameslamb (#6715)
  • [docs] Remove only cpu note due to gpu support for linear trees @JAroyan (#6686)
  • [docs] fix inaccurate comment for force_col_wise param with CUDA version @StrikerRUS (#6695)
  • [docs] group logically external projects in README and add some new libraries @StrikerRUS (#6691)
  • [docs] use consistent naming for R-package and Python-package across the repo @StrikerRUS (#6655)
  • [docs] add supertree in README @pplonski (#6625)
  • [docs] unify language and make small improvements in some param descriptions @StrikerRUS (#6618)
  • [doc] Updates Rust bindings library link in README.md @Mottl (#6611)
  • [R-package] [docs] update cran-comments for v4.5.0 release @jameslamb (#6578)
  • [docs] add conda version badge @StrikerRUS (#6576)

🧰 Maintenance