Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==3.3.5
->==4.3.0
Release Notes
microsoft/LightGBM (lightgbm)
v4.3.0
Compare Source
Changes
💡 New Features
🔨 Breaking
🚀 Efficiency Improvement
🐛 Bug Fixes
📖 Documentation
🧰 Maintenance
v4.2.0
Compare Source
✨ v4.2.0 of the R package is now available on CRAN (link), the first major release of the R package in 2+ years.
✨ The Python package now accepts Apache Arrow Tables and Arrays (thanks @borchero!)
🔧 A critical bug in quantized training support is fixed
Changes
💡 New Features
random_state
@david-cortes (#6174)🔨 Breaking
🚀 Efficiency Improvement
🐛 Bug Fixes
parallel
region @jameslamb (#6135)LGBMClassifier.fit
@david-cortes (#6002)📖 Documentation
🧰 Maintenance
cat()
instead ofprint()
for metrics and callbacks @david-cortes (#6171)mamba
instead ofconda
in macOS and Linux CI jobs @borchero (#6140)v4.1.0
Compare Source
Changes
💡 New Features
🐛 Bug Fixes
lgb.Dataset
instance tolightgbm()
@david-cortes (#6005)📖 Documentation
🧰 Maintenance
v4.0.0
Compare Source
Changes
This release contains all previously-unreleased changes since
v3.3.1
over 1.5 years ago (link).Summary of improvements:
scikit-build-core
(link) as its build backendmanylinux_2_28
Linux wheels now support GPU (OpenCL-based, not CUDA) build automatically... justpip install lightgbm
then pass{"device": "gpu"}
in params (thanks @jgiannuzzi!)py.typed
so any code using LightGBM can benefitpandas
nullable typeslgb.early_stopping(..., min_delta=n)
) for how much eval metrics must improve to be considered "improved" for early stoppingscikit-learn
is no longer a required dependencyray
, Dask) (thanks @Yard1!)dgCMatrix
anddsparseMatrix
(thanks @david-cortes!)saveRDS()
andreadRDS()
forBooster
,print()
andsummary()
methods forDataset
(thanks @david-cortes!)Summary of breaking changes:
from lightgbm import *
setup.py
,pip install --install-option
supportpip install --install-option
(to work with newerpip
, see https://github.com/pypa/pip/issues/11358)MSBUild.exe
... that now requires compilinglib_lightgbm.dll
separately and then building a wheel that bundles it...
lgb.unloader()
predict(newdata, type = ...)
inpredict()
, for consistency with base R and most other machine learning projects💡 New Features
plot_tree
andcreate_tree_digraph
(fixes #4784) @jmoralez (#5119)predict
@david-cortes (#4977)reset_parameter
callback pickleable @StrikerRUS (#5109)record_evaluation
callback pickleable @StrikerRUS (#5107)log_evaluation
callback pickleable @StrikerRUS (#5101)weight
->weights
@david-cortes (#4975)early_stopping
callback pickleable @Yard1 (#5012)lightgbm()
@david-cortes (#4976)init()
andset_params()
methods @StrikerRUS (#4822)print()
andsummary()
methods for Booster @david-cortes (#4686)n_estimators_
andn_iter_
post-fit attributes @StrikerRUS (#4753)🔨 Breaking
setup.py
) (fixes #5061) @jameslamb (#5759)type
argument to control prediction types @david-cortes (#5133)n_jobs
and change default to number of cores @david-cortes (#5105)reshape
argument inpredict
@david-cortes (#4971)lightgbm()
and change default to number of cores @david-cortes (#4972)data
->newdata
inpredict
@david-cortes (#4973)windows-2019
image instead ofvs2017-win2016
@StrikerRUS (#5059)early_stopping_rounds
argument oftrain()
andcv()
functions @StrikerRUS (#4908)evals_result
argument oftrain()
function @StrikerRUS (#4882)None
forevals_result_
@StrikerRUS (#4884)verbose_eval
argument oftrain()
andcv()
functions @StrikerRUS (#4878)verbose
argument ofmodel_from_string()
method of Booster class @StrikerRUS (#4877)early_stopping_rounds
argument offit()
method @StrikerRUS (#4846)slice()
@jameslamb (#4872)lgb.Dataset()
@jameslamb (#4874)dim.lgb.Dataset()
@jameslamb (#4873)create_valid()
@jameslamb (#4865)best_iteration
for sklearn and standard APIs @StrikerRUS (#4845)verbose
argument fromfit()
method @StrikerRUS (#4832)learning_rates
argument oftrain()
function @StrikerRUS (#4831)ylabel
argument ofplot_metric()
function @StrikerRUS (#4818)print_evaluation()
function @StrikerRUS (#4819)silent
argument @StrikerRUS (#4800)🚀 Efficiency Improvement
🐛 Bug Fixes
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.