- 23 Feb, 2022 2 commits
-
-
Miguel Trejo Marrufo authored
* docs: weight parameter non-negative * docs: weights non negative only for train data * docs: weights should be non negative for validation data * typo in html render * docs: brief weights non-negative description
-
José Morales authored
[python-package] use 2d collections for predictions, grads and hess in multiclass custom objective (#4925) * reshape predictions, grad and hess in multiclass custom objective * add sklearn test. move custom obj to utils. docs for numpy * use num_model_per_iteration to get num_classes * update docs and dask multiclass custom objective test * move reshaping to __inner_predict. add test for feval * add missing note. remove extra line
-
- 20 Feb, 2022 1 commit
-
-
José Morales authored
* clarify that categoricals will be converted to ints and not that they should be ints in the input data * update remaining sections * update config.h * add suggestions
-
- 17 Feb, 2022 1 commit
-
-
James Lamb authored
-
- 16 Feb, 2022 2 commits
-
-
Nikita Titov authored
-
Akshita Dixit authored
-
- 15 Feb, 2022 1 commit
-
-
José Morales authored
* make record_evaluation compatible with cv * test multiple metrics in cv * lint * fix cv with train metric. save stdv as well * always add dataset prefix to cv_agg * remove unused function
-
- 22 Jan, 2022 1 commit
-
-
Miguel Trejo Marrufo authored
* feat: refit additional kwargs for dataset and predict * test: kwargs for refit method * fix: __init__ got multiple values for argument * fix: pycodestyle E302 error * refactor: dataset_params to avoid breaking change * refactor: expose all Dataset params in refit * feat: dataset_params updates new_params * fix: remove unnecessary params to test * test: parameters input are the same * docs: address StrikeRUS changes * test: refit test changes in train dataset * test: set init_score and decay_rate to zero
-
- 17 Jan, 2022 1 commit
-
-
James Lamb authored
* add test for custom objective with regressor * add test for custom binary classification objective with classifier * isort * got tests working for multiclass * update docs * train deeper model for classifier * Apply suggestions from code review Co-authored-by:
José Morales <jmoralz92@gmail.com> * Apply suggestions from code review Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * update multiclass tests * Apply suggestions from code review Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * fix multiclass probabilities * linting Co-authored-by:
José Morales <jmoralz92@gmail.com> Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
- 30 Dec, 2021 1 commit
-
-
Yaqub Alwan authored
[python] raise an informative error instead of segfaulting when custom objective produces incorrect output (#4815) * fix for bad grads causing segfault * adjust checking criteria to properly reflect reality of multi-class classifiers * fix styling * Line break before operator * Update python-package/lightgbm/basic.py Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * Update python-package/lightgbm/basic.py Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * add a note to the C-API docs * rearrange text s;ightly * add some tests to python package * Update include/LightGBM/c_api.h Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * PR comments * match argument is a regex and our expression has brackets .. * rework tests * isorting imports * updating test to relfect that the python APi does not take pres/labels as a fobj function Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
- 26 Dec, 2021 1 commit
-
-
Nikita Titov authored
-
- 23 Dec, 2021 1 commit
-
-
Nikita Titov authored
-
- 18 Dec, 2021 2 commits
-
-
Nikita Titov authored
* Update test_sklearn.py * Update python_package.yml * Update python_package.yml * Update callback.py * Update callback.py
-
Nikita Titov authored
* Update sklearn.py * Update sklearn.py * Update test_sklearn.py
-
- 12 Dec, 2021 1 commit
-
-
Nikita Titov authored
* remove `verbose_eval` argument * update example Notebook
-
- 11 Dec, 2021 1 commit
-
-
Nikita Titov authored
-
- 10 Dec, 2021 2 commits
-
-
Nikita Titov authored
-
Nikita Titov authored
-
- 06 Dec, 2021 2 commits
-
-
James Lamb authored
* [python-package][dask] handle failures parsing work host names * add tests * revert local testing changes
-
James Lamb authored
-
- 05 Dec, 2021 2 commits
-
-
Nikita Titov authored
-
Nikita Titov authored
* unify values of `best_iteration` for sklearn and standard APIs * update Dask test
-
- 04 Dec, 2021 1 commit
-
-
James Lamb authored
-
- 03 Dec, 2021 1 commit
-
-
Nikita Titov authored
* add C API function that returns all param names with aliases * add C API function that returns all param names with aliases * add R code * test R code * remove debug CI * fix R lint * refactor * run CI * fix R * fix * revert CI checks * revert changes in docs * Try to make function `const` Co-authored-by:
James Lamb <jaylamb20@gmail.com> * add `const` in cpp file * address review comments and sync with `master` Co-authored-by:
James Lamb <jaylamb20@gmail.com>
-
- 02 Dec, 2021 5 commits
-
-
James Lamb authored
* [python-package] fix mypy errors in engine.py * Apply suggestions from code review Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * allow for stdv * whitespace Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
James Lamb authored
-
James Lamb authored
* [python-package] fix mypy errors in sklearn.py * use ignore comments
-
Nikita Titov authored
* in predict(), respect params set via `set_params()` after fit() * continue * add test * fix return name * hotfix * simplify
-
James Lamb authored
* [python-package] fix mypy errors in plotting.py * empty commit
-
- 01 Dec, 2021 1 commit
-
-
James Lamb authored
* [python-package] fix mypy error about missing type hint in dask.py * list of lists * use different variable * use append()
-
- 30 Nov, 2021 2 commits
-
-
James Lamb authored
-
Nikita Titov authored
-
- 29 Nov, 2021 1 commit
-
-
Nikita Titov authored
-
- 26 Nov, 2021 3 commits
-
-
Nikita Titov authored
-
Nikita Titov authored
* Update __init__.py * Update callback.py
-
Nikita Titov authored
* Update sklearn.py * Update engine.py * Update sklearn.py * Update engine.py * Update basic.py * Update engine.py
-
- 23 Nov, 2021 1 commit
-
-
Nikita Titov authored
-
- 20 Nov, 2021 1 commit
-
-
Nikita Titov authored
* Update test_plotting.py * Update dask.py * Update sklearn.py * Update test_sklearn.py * Update basic.py * Update engine.py * Update test_engine.py * Update basic.py * Update basic.py * Update engine.py
-
- 15 Nov, 2021 2 commits
-
-
James Lamb authored
* [python] add type hints for custom objective and metric functions in scikit-learn interface * update type hints * remote unnecessary input * Update python-package/lightgbm/sklearn.py Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * remove type hint on objective being callable Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
Drew Miller authored
* [c_api] Improve ANSI compatibility by avoiding <stdbool.h> * fixes in response to CI linting * inline NOLINT instead of separate test * moving length declaration to non-ANSI C conditional * [c_api] Align expected return type in `basic.py` with new c_api type.
-