- 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.
-
- 12 Nov, 2021 1 commit
-
-
Roman Shaptala authored
* Faster categorical column names selection (#1) * Faster categorical column names selection Change slow and redundant dataframe query by select_dtypes into a dataframe.dtypes list comprehension * Update compat with CategoricalDtype * sort imports * import CategoricalDtype from pandas.api.types * add categorical import try/except
-
- 11 Nov, 2021 1 commit
-
-
Michael Mahoney authored
* Add 'nrounds' as an alias for 'num_iterations' * Improve tests * Compare against nrounds directly * Fix whitespace lints
-
- 10 Nov, 2021 2 commits
-
-
José Morales authored
* initial changes * initial version * better handling of cases * warn only with positive threshold * remove early_stopping_threshold from high-level functions * remove remaining early_stopping_threshold * update test to use callback * better handling of cases * rename threshold to min_delta enhance parameter description update tests * Apply suggestions from code review Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * reduce num_boost_round in tests * Apply suggestions from code review Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * trigger ci Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> Co-authored-by:
Nikita Titov <nekit94-12@hotmail.com>
-
Nikita Titov authored
* respect objective aliases * Update test_sklearn.py * revert removal of blank lines * add argument name which is being overwritten in warning message
-
- 08 Nov, 2021 3 commits
-
-
Zhiyuan He authored
-
James Lamb authored
* [docs] [dask] Add return information to Dask fit() docs (fixes #4402) * put return before note
-
James Lamb authored
-
- 05 Nov, 2021 2 commits
-
-
Nikita Titov authored
* add n_estimators_ and n_iter_ post-fit attributes * address review comments
-
Nikita Titov authored
-