James Lamb
83c0ff3de1
[docs] add note about pyodide support ( #6715 )
...
* [docs] add note about pyodide support
* Update README.md
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
---------
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2024-11-15 15:30:23 +03:00
James Lamb
4531ff548d
[python-package] adapt to scikit-learn 1.6 testing changes, pin more packages in R 3.6 CI jobs ( #6718 )
2024-11-14 20:35:16 -06:00
James Lamb
5151fe85f0
[ci] [R-package] re-enable 'rchk' checks ( #6713 )
...
* intentionally miss an unprotect()
* re-enable rchk
* grep for errors
* restore all CI
2024-11-05 15:04:38 +03:00
Nikita Titov
e0071911c8
[ci] check PowerShell scripts with PSScriptAnalyzer (part 3) ( #6710 )
...
Co-authored-by: James Lamb <jaylamb20@gmail.com>
2024-11-03 13:12:20 -06:00
Nikita Titov
13f2e92bb0
[ci] check JavaScript code with `biome` tool ( #6711 )
...
* lint js code
* hotfix
* Update .editorconfig
Co-authored-by: James Lamb <jaylamb20@gmail.com>
---------
Co-authored-by: James Lamb <jaylamb20@gmail.com>
2024-11-03 19:32:25 +03:00
Nikita Titov
92aa07b4b8
[ci] check PowerShell scripts with PSScriptAnalyzer (part 2) ( #6709 )
2024-10-31 23:09:16 -05:00
James Lamb
8d5dca2e3a
[python-package] remove support for passing 'feature_name' and 'categorical_feature' through train() and cv() ( #6706 )
2024-10-31 16:48:47 +03:00
Nikita Titov
dc0ed538aa
[ci] check PowerShell scripts with PSScriptAnalyzer (part 1) ( #6704 )
...
* introdure PSScriptAnalyzer
* revert workflow
* run PSScriptAnalyzer before conda installation
2024-10-30 01:49:43 +03:00
James Lamb
4a60a53c38
[ci] [R-package] remove code for 'rchk' checks ( #6545 )
...
* [ci] [R-package] re-enable 'rchk' checks
* comment out most CI
* it would be helpful to actually enable rchk
* remove all Rf_unprotect() calls to try to trigger failure
* try removing some Rf_protect() calls
* revert CI changes
* just remove rchk
* revert whitespace changes
2024-10-29 13:47:25 +03:00
Nikita Titov
9b351e6ead
[ci] Fix version matching between RTD pages and R-package pages ( #6673 )
...
* Update script.js
* Update script.js
* Update script.js
* Update script.js
* replace url at build time
* manipulate with raw files
2024-10-29 12:43:12 +03:00
James Lamb
c9d1ac7bea
[python-package] remove MSVS solution files from sdist ( #6698 )
...
* [python-package] remove MSVS solution files from sdist
* remove one more line
---------
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2024-10-26 20:31:39 +03:00
Jirair Aroyan
81ceaec08d
[docs] Remove only cpu note due to gpu support for linear trees ( #6686 )
...
* Remove only cpu note
* Change Note for linear tree
---------
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
Co-authored-by: James Lamb <jaylamb20@gmail.com>
2024-10-25 18:59:32 +03:00
Nikita Titov
b7de71df53
[docs] fix inaccurate comment for `force_col_wise` param with CUDA version ( #6695 )
2024-10-24 22:45:38 -04:00
Nikita Titov
f8230aeaa7
[ci] set `MinimumVisualStudioVersion` to MSVS 2015 ( #6689 )
2024-10-24 22:44:41 -04:00
Nikita Titov
d2b4e73749
[docs] group logically external projects in README and add some new libraries ( #6691 )
2024-10-21 14:25:22 -05:00
Nikita Titov
99e27b8190
[ci] fix build of LightGBM with MSVS GUI ( #6690 )
...
Update LightGBM.vcxproj
2024-10-21 18:34:51 +03:00
Nikita Titov
b82d0dcb1c
[cmake] group sanitizer options together ( #6688 )
2024-10-21 09:28:50 -05:00
dragonbra
c7d3ac1b41
[GPU] Add support for linear tree with device=gpu ( #6567 )
...
* basic gpu_linear_tree_learner implementation
* corresponding config of gpu linear tree
* Update src/io/config.cpp
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
* work around for gpu linear tree learner without gpu enabled
* add #endif
* add #ifdef USE_GPU
* fix lint problems
* fix compilation when USE_GPU is OFF
* add destructor
* add gpu_linear_tree_learner.cpp in make file list
* use template for linear tree learner
---------
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
Co-authored-by: shiyu1994 <shiyu_k1994@qq.com>
2024-10-18 13:55:28 +08:00
James Lamb
283cdde415
[ci] add shellcheck, use latest pre-commit hook versions ( #6685 )
2024-10-18 02:33:28 +03:00
vnherdeiro
989361555b
[ci] fix some shellcheck warnings in package-building scripts ( #6641 )
...
* Shellcheck compliance improvement (commit squashing)
* rolledback some sh files to address PR review
* Addressing comments on PR review
* Update docs/build-docs.sh
* checking gh login
* fixing cmakelint
* another fix to failing ci
* fixing linting ignoring files
* Fixing shellcheck issues on build-python and build-cran-package scripts
* Update build-cran-package.sh
Co-authored-by: James Lamb <jaylamb20@gmail.com>
* Update build-cran-package.sh
Co-authored-by: James Lamb <jaylamb20@gmail.com>
* Update build-cran-package.sh
Co-authored-by: James Lamb <jaylamb20@gmail.com>
* Adressing PR comments
* fixing CI
* Update build-python.sh
Co-authored-by: James Lamb <jaylamb20@gmail.com>
* Update build-python.sh
Co-authored-by: James Lamb <jaylamb20@gmail.com>
* Update build-python.sh
Co-authored-by: James Lamb <jaylamb20@gmail.com>
* Update build-python.sh
Co-authored-by: James Lamb <jaylamb20@gmail.com>
* Update build-python.sh
Co-authored-by: James Lamb <jaylamb20@gmail.com>
* fixing quotemark typo
* fix CI
* fix CI
* triggering new CI (scikit-learn dev has changed)
* adressing PR comments
* ignore warnings about BUILD_ARGS and PIP_INSTALL_ARGS
---------
Co-authored-by: vnherdeiro <vnherdeiro@github.com>
Co-authored-by: James Lamb <jaylamb20@gmail.com>
2024-10-17 23:07:21 +03:00
James Lamb
668bf5dadf
[python-package] deprecate support for H2O 'datatable' ( #6670 )
...
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2024-10-15 08:32:14 -05:00
Nikita Titov
5b675461e7
[ci] enable OpenMP support in cpp tests ( #6676 )
...
* Update test-windows.ps1
* Update test.sh
---------
Co-authored-by: James Lamb <jaylamb20@gmail.com>
2024-10-15 15:51:03 +03:00
James Lamb
2b8a2bb84e
[python-package] ignore scikit-learn 'check_sample_weight_equivalence' estimator check ( fixes #6678 ) ( #6679 )
...
* [python-package] ignore scikit-learn 'check_sample_weight_equivalence' estimator check (fixes #6678 )
* pin pyparsing in Python 3.8 environment
2024-10-15 14:17:02 +03:00
Atanas Dimitrov
bbeecc09af
[c++] Fix `dump_model()` information for root node ( #6569 )
...
Co-authored-by: Atanas Dimitrov <nasko119@abv.bg>
Co-authored-by: James Lamb <jaylamb20@gmail.com>
2024-10-13 16:03:04 -05:00
vnherdeiro
562157ecbd
[ci] fix shellcheck warnings in CI scripts ( #6646 )
...
Co-authored-by: James Lamb <jaylamb20@gmail.com>
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2024-10-13 15:56:16 -05:00
vnherdeiro
7eae66a7bd
[python-package] require `scikit-learn>=0.24.2`, make scikit-learn estimators compatible with `scikit-learn>=1.6.0dev` ( #6651 )
...
Co-authored-by: James Lamb <jaylamb20@gmail.com>
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2024-10-09 18:46:26 -05:00
Nikita Titov
06432300c0
[ci] Restore MPI jobs on macOS ( #6664 )
2024-10-07 10:11:18 -05:00
Nikita Titov
e8a68f2e22
[docs] use consistent naming for R-package and Python-package across the repo ( #6655 )
2024-10-06 21:49:20 -05:00
Nikita Titov
718da7ddd5
[ci] Update CUDA versions for CI ( #6539 )
...
* Update CUDA versions for CI
* use latest CUDA
---------
Co-authored-by: James Lamb <jaylamb20@gmail.com>
2024-10-06 13:54:28 +03: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
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
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
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