Граф коммитов

3524 Коммитов

Автор SHA1 Сообщение Дата
James Lamb 69b5bd311d
[python-package] drop Python 3.6 support, add Python 3.12 (#6459) 2024-05-27 15:27:39 -05:00
James Lamb 7d1529848b
[ci] fix CUDA 11.8 builds (fixes #6466) (#6465) 2024-05-27 10:03:34 -05:00
James Lamb 4b5d549d0d
[ci] simplify CI configurations, parallelize compilation, test CUDA on Ubuntu 22.04 (#6458) 2024-05-22 21:03:55 -05:00
dependabot[bot] dd9da91fae
[ci]: Bump actions/checkout from 1 to 4 in the ci-dependencies group (#6453)
* [ci]: Bump actions/checkout from 1 to 4 in the ci-dependencies group

Bumps the ci-dependencies group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 1 to 4
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v1...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: ci-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>

* downgrade a few

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Lamb <jaylamb20@gmail.com>
2024-05-22 00:12:13 +02:00
Marco Vela 3e9ab53c7d
[cmake] switch to FindCUDAToolkit (#6457) 2024-05-16 22:29:52 -05:00
Michael Mayer e0ac63568c
[R-package] expose start_iteration to dump/save/lgb.model.dt.tree (#6398) 2024-05-15 22:35:11 -05:00
James Lamb a70e832782
[R-package] [python-package] deprecate Dataset arguments to cv() and train() (#6446) 2024-05-10 19:26:39 -05:00
Oliver Borchert ae55f32b5a
[ci] Add dependabot configuration (#6449) 2024-05-09 22:55:40 -05:00
James Lamb 20f20928f0
[python-package] upgrade to scikit-build-core 0.9.3 (#6263) 2024-05-08 16:08:29 -05:00
James Lamb 88cec4776e
deprecate HDFS support (#6443) 2024-05-07 12:36:59 -05:00
James Lamb f539536073
[docs] ensure pkgdown site index accurately reflects R-package public API (fixes #6444) (#6445) 2024-05-06 12:50:48 -05:00
James Lamb 6e78e697f8
[c++] remove uses of '..' in headers (#6409) 2024-05-03 22:37:27 -05:00
Oliver Borchert 9f5fbb6479
[python-package] Allow to pass early stopping min delta in params (#6274)
* [python-package] Allow to pass early stopping min delta in params

* Fix test

* Add separate test

* Fix

* Add to cpp config

* Adjust test

* Adjust test

* Debug

* Revert

* Apply suggestions from code review

---------

Co-authored-by: James Lamb <jaylamb20@gmail.com>
2024-05-01 19:57:55 +02:00
James Lamb da9bb5fd72
[R-package] always name the shared library 'lightgbm', not 'lib_lightgbm' (#6432) 2024-05-01 12:55:33 -05:00
なるみ d7fcb3c200
upgrade CMake in dockerfile-cli (fixes #6420) (#6426) 2024-04-30 11:31:00 -05:00
James Lamb cd365e974f
[R-package] [ci] Manually install 'Matrix' (fixes #6433) (#6434) 2024-04-30 08:02:48 -05:00
Oliver Borchert 92a8741b9c
[ci] Skip Arrow tests on AppVeyor, use Intel macOS runners, upgrade to XCode 14.3 on macOS jobs, disable MacOS MPI jobs (#6425) 2024-04-29 10:36:53 -05:00
James Lamb 14435485bd
[ci] raise floors on CI dependencies (#6375) 2024-04-23 08:09:13 -05:00
James Lamb c906cfde85
[cmake] [c++] use .dylib extension unconditionally on macOS (#6418) 2024-04-22 23:15:32 -05:00
Yohei Kishimoto 1871350515
remove unnecessary omp single that cause deadlock (fixes #6273) (#6394) 2024-04-22 21:52:02 -05:00
James Lamb 52441c478f
[ci] make shell scripts stricter (#6266) 2024-04-22 19:28:51 -05:00
Parsiad Azimzadeh 89824a6c70
[docs] document how to use a custom objective function via the C API (#6396) 2024-04-20 01:37:32 -05:00
Darcie Delzell 1ce2357193
[python-package] allow use of early_stopping_round<=0 to turn off early stopping (fixes #6401) (#6406) 2024-04-19 23:31:30 -05:00
James Lamb f6ecd4de9b
[python-package] prevent build-python.sh from modifying already-installed dependencies (#6403) 2024-04-19 21:48:18 -05:00
James Lamb 050a35f003
[ci] reduce hard-coding of host architecture (#6395) 2024-04-19 20:02:16 -05:00
James Lamb 4466349cb9
[c++] remove unused variable 'need_connect_cnt' (#6410) 2024-04-19 17:36:25 -05:00
James Lamb 0901aa6486
[ci] clean source directory at the beginning of every Azure DevOps build (#6416) 2024-04-19 13:06:22 -05:00
Michael Mayer 5dfe7168d4
[R-package] Speed-up lgb.importance() (#6364) 2024-04-10 15:31:40 -04:00
shiyu1994 628e91a959
[ci] Fix Azure Pipeline Agents (#6407) 2024-04-10 09:24:55 -04:00
James Lamb 28536a0a5d
[ci] [R-package] re-enable r-sanitizers jobs (fixes #6367) (#6374) 2024-03-25 08:46:12 -05:00
James Lamb 4332b9d515
[docs] [ci] encourage use of `cmake --build` (#6368) 2024-03-20 12:21:46 -05:00
James Lamb 631e0a2a7b
[ci] prevent trailing whitespace, ensure files end with newline (#6373) 2024-03-18 23:24:14 -05:00
James Lamb 6a1ec44437
[ci] [docs] update some docs and CI dependencies (#6346) 2024-03-18 21:17:48 -05:00
Oliver Borchert faba817787
[python-package] Allow to pass Arrow table with boolean columns to dataset (#6353) 2024-03-18 21:03:26 -05:00
Thomas B 0a3e1a550c
Fix single row prediction performance in a multi-threaded environment (#6024) 2024-03-18 16:46:48 -05:00
James Lamb 43f021bfcc
[docs] remove language about CUDA version being experimental (fixes #6340) (#6371) 2024-03-18 14:53:14 -05:00
James Lamb 6265c98002
[ci] [python-package] remove unused flake8 configuration (#6372) 2024-03-18 13:24:18 -05:00
James Lamb 8bc4578610
[ci] put ceiling on graphviz in Python 3.7 jobs (#6370) 2024-03-18 09:39:59 -05:00
Oliver Borchert cb4972eeef
[ci] Fix R 3.6 tests, dask tests, compatibility with dask>=2024.3.1 (#6357) 2024-03-17 21:26:26 -05:00
James Lamb b27d81ea41
[ci] [python-package] check for untyped definitions with mypy (#6339) 2024-03-04 12:06:08 -06:00
James Lamb 1a292f898e
[ci] ignore ruff-format changes in git blame (fixes #6304) (#6345) 2024-02-28 23:30:27 -06:00
James Lamb a26302f57b
[c++] remove unnecessary include in CLI (#6342) 2024-02-28 18:52:58 -06:00
James Lamb dd31208ab7
[ci] [python-package] enable ruff-format on all Python code (#6336) 2024-02-27 10:53:12 -06:00
James Lamb 2a08565513
[python-package] remove unused type alias (#6341) 2024-02-25 21:15:27 -06:00
James Lamb 6f19edde52
[ci] [python-package] enforce 'pylint' checks (fixes #4308) (#6334) 2024-02-23 23:07:03 -06:00
shiyu1994 776c5c3c49
[c++][fix] Support Quantized Training with Categorical Features on CPU (#6301)
* support quantized training with categorical features on cpu

* remove white spaces

* add tests for quantized training with categorical features

* skip tests for cuda version

* fix cases when only 1 data block in row-wise quantized histogram construction with 8 inner bits

* remove useless capture

* fix compilation warnings

revert useless changes

* revert useless change

* separate functions in feature histogram into cpp file

* add feature_histogram.o in Makevars
2024-02-23 13:41:21 +08:00
Oliver Borchert 8b61a15085
[c++] Fix memory leak in Arrow table implementation (#6314)
Co-authored-by: James Lamb <jaylamb20@gmail.com>
2024-02-22 23:57:45 +08:00
Christian Lorentzen 894066dbcd
ENH more stable gradient of CrossEntropy (#6327)
* ENH more stable gradient of CrossEntropy

* FIX missing }

* FIX index score

* FIX missing parenthesis in hessian

---------

Co-authored-by: shiyu1994 <shiyu_k1994@qq.com>
2024-02-22 11:26:09 +08:00
James Lamb 1b792e7166
[ci] [python-package] enable ruff-format on tests and examples (#6317) 2024-02-21 12:15:38 -06:00
James Lamb b60068c810
[python-package] fix mypy error about pyarrow data (#6333) 2024-02-21 09:18:36 -06:00