James Lamb
86b5ab3b7b
move __version__ import to compat.py, test with all ML tasks
2024-10-05 23:46:22 -05:00
James Lamb
722474d07c
Merge branch 'master' of github.com:microsoft/LightGBM into fix_sklearn_more_tags_deprecation
2024-10-05 22:19:38 -05:00
James Lamb
436f826714
[ci] replace uses of 'mamba' with 'conda', use Python 12 for test-python-latest-job ( #6663 )
2024-10-05 22:18:32 -05:00
James Lamb
ffebe41753
correct comment
2024-10-05 00:23:31 -05:00
James Lamb
815433fa6d
remove now-unnecessary _LGBMCheckXY()
2024-10-05 00:16:22 -05:00
James Lamb
9a05670184
fix return type
2024-10-05 00:13:29 -05:00
James Lamb
6689faaa6c
fix n_features_in setting
2024-10-05 00:04:05 -05:00
James Lamb
33fb5b6806
more changes
2024-10-04 00:12:49 -05:00
James Lamb
58d77e7257
Merge branch 'master' of github.com:microsoft/LightGBM into fix_sklearn_more_tags_deprecation
2024-10-03 23:39:25 -05:00
James Lamb
c42c53df4d
fix validate_data() for older versions, update tests
2024-10-03 23:39:12 -05:00
James Lamb
4fb82f3080
optionally use validate_data(), starting in scikit-learn 1.6
2024-10-02 23:38:09 -05:00
shiyu1994
d1d218c329
[c++] Add Bagging by Query for Lambdarank ( #6623 )
...
* add bagging by query for lambdarank
* fix pre-commit
* fix bagging by query with cuda
* fix bagging by query test case
* fix bagging by query test case
* fix bagging by query test case
* add #include <vector>
* Update include/LightGBM/objective_function.h
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
* Update tests/python_package_test/test_engine.py
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
* Update tests/python_package_test/test_engine.py
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
---------
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2024-10-03 00:19:28 +08:00
James Lamb
118efd95b8
use scikit-learn 1.6 nightlies again, move some code to compat.py, restructure tests
2024-10-01 22:58:19 -05:00
James Lamb
b5663aad2b
Merge branch 'fix_sklearn_more_tags_deprecation' of github.com:vnherdeiro/LightGBM into fix_sklearn_more_tags_deprecation
2024-09-25 21:44:31 -05:00
James Lamb
6cf2158cad
Merge branch 'master' into fix_sklearn_more_tags_deprecation
2024-09-25 21:44:21 -05:00
Nikita Titov
59a3432b9d
[cmake] simplify SWIG config ( #6648 )
...
Co-authored-by: James Lamb <jaylamb20@gmail.com>
2024-09-25 21:39:45 -05:00
James Lamb
696b904874
[ci] [R-package] re-enable R-devel clang16 job ( fixes #6607 ) ( #6642 )
2024-09-25 10:21:37 -05:00
Nikita Titov
17b739cebb
[cmake] remove unused variable ( #6647 )
...
Co-authored-by: James Lamb <jaylamb20@gmail.com>
2024-09-25 10:21:20 -05:00
James Lamb
e057ae08e6
[ci] [python-package] temporarily stop testing against scikit-learn nightlies, load lib_lightgbm earlier ( #6654 )
2024-09-24 16:51:46 -05:00
James Lamb
d1915c0f00
Update python-package/lightgbm/sklearn.py
2024-09-24 08:25:51 -05:00
James Lamb
b137ba25a0
fix version constraint in lint job, add one more comment
2024-09-24 00:49:21 -05:00
James Lamb
7eb861adde
remove uses of super()
2024-09-24 00:38:43 -05:00
James Lamb
b0a47035ea
updates
2024-09-20 23:57:32 -05:00
James Lamb
c4ec9a4939
move comment
2024-09-16 11:32:51 -05:00
vnherdeiro
d715311f3a
adressing PR comments
2024-09-16 07:35:41 +01:00
vnherdeiro
6d20ef8583
Update python-package/lightgbm/sklearn.py
...
Co-authored-by: James Lamb <jaylamb20@gmail.com>
2024-09-16 07:34:15 +01:00
vnherdeiro
34d9eb4d0a
lint fix
2024-09-15 19:19:11 +01:00
vnherdeiro
3b15646fe2
bringing back _more_tags, adding convertsion from more_tags to sklearn_tags
2024-09-15 13:10:48 +01:00
vnherdeiro
fcc4e1299c
triggering new CI (scikit-learn dev has changed)
2024-09-14 10:11:06 +01:00
vnherdeiro
a9ec348890
fix linting
2024-09-11 12:30:24 +01:00
vnherdeiro
2085a12852
remove type hint
2024-09-11 12:22:16 +01:00
vnherdeiro
ade9798d46
remove type hint
2024-09-11 12:18:43 +01:00
vnherdeiro
32ec431605
fixing wrong import
2024-09-11 12:03:16 +01:00
vnherdeiro
8ed87d2c0c
fixing tags dict -> dataclass
2024-09-11 12:01:17 +01:00
vnherdeiro
1adb77be70
__sklearn_tags__ replacing sklearn's BaseEstimator._more_tags_
2024-09-11 11:40:51 +01:00
James Lamb
41ba9e8f00
[ci] prevent C API tests from leaving files behind ( fixes #6361 ) ( #6637 )
2024-09-03 22:30:30 -05:00
James Lamb
3ccdea1a08
[python-package] limit when num_boost_round warnings are emitted ( fixes #6324 ) ( #6579 )
...
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2024-09-02 22:46:24 -05:00
vnherdeiro
d5150394b8
[ci] prevent Python tests from leaving behind files ( #6626 )
...
Co-authored-by: James Lamb <jaylamb20@gmail.com>
2024-09-02 21:06:05 -05:00
vnherdeiro
15ac2f7bb8
fix some shellcheck warnings ( #6621 )
...
Co-authored-by: James Lamb <jaylamb20@gmail.com>
2024-09-02 21:03:20 -05:00
Piotr
b1203c975c
[docs] add supertree in README ( #6625 )
...
Co-authored-by: James Lamb <jaylamb20@gmail.com>
2024-09-02 20:45:17 -05:00
James Lamb
b9a2262b60
[ci] fix linux runners running out of disk space ( fixed #6635 ) ( #6636 )
2024-09-02 15:34:00 -05:00
James Lamb
16c12ef630
[cmake] [R-package] include R-for-macOS vendored libs dir in OpenMP search path ( fixes #6628 ) ( #6629 )
...
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2024-08-30 09:18:56 -05:00
James Lamb
fde01573c3
[python-package] remove setup.cfg ( #6624 )
2024-08-27 11:54:30 +03:00
Nikita Titov
a9df7f113f
[docs] unify language and make small improvements in some param descriptions ( #6618 )
2024-08-26 21:52:12 -05:00
Serkan Korkmaz
5fa615bc48
[R-package] only warn about early stopping and DART boosting being incompatible if early stopping was requested ( #6619 )
2024-08-21 15:34:15 -05:00
Dmitry Mottl
d67ecf9425
[doc] Updates Rust bindings library link in README.md ( #6611 )
...
Co-authored-by: James Lamb <jaylamb20@gmail.com>
2024-08-16 00:44:44 -05:00
James Lamb
874f6fbeb4
[cmake] consolidate set_target_properties() calls ( #6594 )
...
* [cmake] consolidate set_target_properties() calls
* address review feedback
2024-08-15 17:48:06 +03:00
Bilyana Indzheva
602528315c
[ci] prevent `train.binary.bin` and `lgb_train_data.bin` files being left behind after testing ( #6606 )
...
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2024-08-14 23:56:35 -05:00
Dmitry Mottl
047c4fd25b
[cmake] fixes static build for macos with OpenMP enabled ( fixes #6601 ) ( #6600 )
...
Co-authored-by: James Lamb <jaylamb20@gmail.com>
2024-08-14 23:56:16 -05:00
James Lamb
5e4ab24b30
[ci] update some linting versions ( #6598 )
2024-08-14 20:51:22 -05:00