- 21 Jul, 2022 1 commit
-
-
Scott Votaw authored
* Adjust LGBM_DatasetCreateFromSampledColumn to handle distributed data better * linting fix * switch to 1 API with breaking change * Fix pything native call * more python test fixes
-
- 12 Jul, 2022 1 commit
-
-
José Morales authored
[R-package] raise an informative error when custom objective produces incorrect output (fixes #5323) (#5329)
-
- 10 Jul, 2022 1 commit
-
-
James Lamb authored
* [python-package] add type hints on Booster.update() * add __boost()
-
- 07 Jul, 2022 2 commits
-
-
James Lamb authored
-
James Lamb authored
-
- 03 Jul, 2022 1 commit
-
-
José Morales authored
add validate_features to refit
-
- 01 Jul, 2022 2 commits
-
-
James Lamb authored
* [python-package] remove inner function _construct_dataset() in LGBMModel.fit() * switch order
-
James Lamb authored
* [python-package] add type hints on predict() methods * formatting
-
- 28 Jun, 2022 1 commit
-
-
James Lamb authored
-
- 27 Jun, 2022 3 commits
-
-
José Morales authored
* allow custom weighing in sklearn api * add suggestions from review Co-authored-by:Nikita Titov <nekit94-08@mail.ru>
-
david-cortes authored
* switch to single prediction type argument * linter * missing piece of code * comments * linter * fix test * revert incorrect 'fix' * fix failing test * fix test again * modify recently introduced tests after changes here * rename prediction types * rebase * restore tests for prediction type in params * Update R-package/tests/testthat/test_Predictor.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> Co-authored-by:
James Lamb <jaylamb20@gmail.com>
-
José Morales authored
* check feature names and order in predict with dataframe * slice df in predict to remove the target * scramble features * handle int column names * only change column order when needed * include validate_features param in booster and sklearn estimators * document validate_features argument * use all_close in preds checks and check for assertion error to compare different arrays * perform remapping and checks in cpp * remove extra logs * fixes * revert cpp * proposal * remove extra arg * lint * restore _data_from_pandas arguments * Apply suggestions from code review Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * move data conversion to Predictor.predict * use Vector2Ptr Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
- 26 Jun, 2022 2 commits
-
-
Nikita Titov authored
Update basic.py
-
Nikita Titov authored
* Update utils.R * Update lint_r_code.R * Update lint_r_code.R * Update lint_r_code.R * Update lint_r_code.R
-
- 25 Jun, 2022 1 commit
-
-
James Lamb authored
* [python-package] add more type hints in engine.py * Update python-package/lightgbm/engine.py Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
- 23 Jun, 2022 2 commits
-
-
CuriousCorrelation authored
-
James Lamb authored
[python-package] add more hints on Booster
-
- 22 Jun, 2022 2 commits
-
-
CuriousCorrelation authored
[ci] [R-package] Add paste_linter (#5303)
-
James Lamb authored
-
- 20 Jun, 2022 5 commits
-
-
Saumya authored
* Add duplicate_argument_linter * Add duplicate_argument_linter * added acomment for duplicate argument * Update R-package/tests/testthat/test_utils.R Co-authored-by:
José Morales <jmoralz92@gmail.com> Co-authored-by:
José Morales <jmoralz92@gmail.com>
-
CuriousCorrelation authored
* [ci] Fix any_is_na linter key * [ci] Add several linter checks (#5303) Includes following linters - any_duplicated_linter() - inner_combine_linter() - literal_coercion_linter() - missing_argument_linter() - numeric_leading_zero_linter() - outer_negation_linter() - package_hooks_linter() - sprintf_linter() - regex_subset_linter() - unreachable_code_linter() - vector_logic_linter() These required no changes to the code base
-
CuriousCorrelation authored
-
Nikita Titov authored
Simplify params handling in `predict()` with `_choose_param_value()`
-
CuriousCorrelation authored
-
- 19 Jun, 2022 6 commits
-
-
James Lamb authored
-
James Lamb authored
* [python] preserve None in _choose_param_value() * Update python-package/lightgbm/basic.py Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
Nikita Titov authored
* Install PoCL in Docker for old Ubuntu 14.04 * Update .vsts-ci.yml * Try with Clang * switch back to gcc * Switch from dev container to stable one
-
Nikita Titov authored
* Update make-r-def.R * Update make-r-def.R * Update build_r.R * Update utils.R * Update install.libs.R
-
James Lamb authored
* [python-package] add type hints on cv() * remove inadvertent changes * Apply suggestions from code review Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
david-cortes authored
[python-package] Use scikit-learn interpretation of negative `n_jobs` and change default to number of cores (#5105) * use joblib formula for negative n_jobs * correction for n_jobs calculation * use more robust cpu_count from joblib * change default n_jobs to number of cores * fix detection of num_threads under parameters * better handling of n_jobs at prediction time * fix incorrect usage of list.pop * correct pop/remove yet again * Update python-package/lightgbm/sklearn.py Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * Update tests/python_package_test/test_sklearn.py Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * Update tests/python_package_test/test_sklearn.py Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * add comments clarifying negative n_jobs * fix CI (code taken from PR comment) * change default to n_jobs=None in dask interface * corrections for handling of n_jobs * linter * corrections for predict-time n_jobs * linter * add more comments about n_jobs values * linter * more corrections * linter * linter * linter * Update python-package/lightgbm/compat.py Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * Update python-package/lightgbm/sklearn.py Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * Update python-package/lightgbm/sklearn.py Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * Update python-package/lightgbm/sklearn.py Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * Update python-package/lightgbm/sklearn.py Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * workaround for passing test about outputs with multiple threads * Update tests/python_package_test/test_sklearn.py Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * Update tests/python_package_test/test_sklearn.py Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
- 17 Jun, 2022 1 commit
-
-
david-cortes authored
* add predcontrib for sparse inputs * register newly-added function * comments * correct wrong types in test * forcibly take transpose function from Matrix * keep row names, test comparison to dense inputs * workaround for passing test while PR for row names is not merged * Update R-package/R/lgb.Predictor.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * Update R-package/R/lgb.Predictor.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * Update R-package/R/lgb.Predictor.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * proper handling of integer overflow * add test for CSR contrib row names * add more tests for predict(<sparse>, predcontrib=TRUE) * make linter happy * linter * linter * check error messages for bad input shapes * fix regex * hard-coded number of columns in regex for tests Co-authored-by:
James Lamb <jaylamb20@gmail.com>
-
- 16 Jun, 2022 1 commit
-
-
James Lamb authored
-
- 14 Jun, 2022 2 commits
-
-
Jonathan Giannuzzi authored
Do not use r-lintr 3.0+
-
James Lamb authored
* [R-package] [docs] document difference between lightgbm() and lgb.train() (fixes #5203) * clarify language * Apply suggestions from code review Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
- 13 Jun, 2022 2 commits
-
-
Nikita Titov authored
Use https links in docs
-
Jonathan Giannuzzi authored
* Run OpenCL tests against POCL instead of the AMD App SDK * Update .ci/setup.sh Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * Run Linux gpu source on default Python version * [docs] Update GPU Targets Table Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
- 12 Jun, 2022 1 commit
-
-
James Lamb authored
-
- 08 Jun, 2022 1 commit
-
-
shiyu1994 authored
Clear split info buffer in cost efficient gradient boosting before every iteration (fix partially #3679) (#5164) * clear split info buffer in cegb_ before every iteration * check nullable of cegb_ in serial_tree_learner.cpp * add a test case for checking the split buffer in CEGB * swith to Threading::For instead of raw OpenMP * apply review suggestions * apply review comments * remove device cpu
-
- 05 Jun, 2022 2 commits
-
-
Nikita Titov authored
* Update test_basic.py * Address review comment
-
James Lamb authored
* [python] add more type hints in basic.py * Update python-package/lightgbm/basic.py Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-