- 15 Feb, 2021 8 commits
-
-
Zhuyi Xue authored
-
Zhuyi Xue authored
-
Zhuyi Xue authored
-
Tara Jawahar authored
* minor mypy type errors fixed * fix some warnings from mypy * fix 3 mypy warnings * selectively ignored some mypy errors * minor mypy type errors fixed * minor mypy type errors fixed * minor mypy type errors fixed * added import * Update python-package/lightgbm/callback.py * Apply suggestions from code review * Apply suggestions from code review Co-authored-by:
James Lamb <jaylamb20@gmail.com> Co-authored-by:
James Lamb <jaylamb20@gmail.com>
-
Zhuyi Xue authored
-
Zhuyi Xue authored
-
Zhuyi Xue authored
-
Zhuyi Xue authored
-
- 14 Feb, 2021 4 commits
-
-
James Lamb authored
-
Zhuyi Xue authored
-
Nikita Titov authored
-
Philip Khor authored
-
- 13 Feb, 2021 3 commits
-
-
Belinda Trotta authored
* Update docs about linear tree and monotone constraints * Fix punctuation
-
Benjamin Sergeant authored
* openmp_wrapper.h stubs signature use __GOMP_NOTHROW Fix #3915. OpenMP stubs do not use the noexcept attibute which is present in the gcc version of openmp, and which trigger compilation errors as seen below. dmlc-core uses the same technique and macro. /usr/lib/gcc/x86_64-linux-gnu/9/include/omp.h:114:12: error: declaration of ‘int omp_get_thread_num() noexcept’ has a different exception specifier 114 | extern int omp_get_thread_num (void) __GOMP_NOTHROW; | ^~~~~~~~~~~~~~~~~~ ... xxx/include/LightGBM/utils/openmp_wrapper.h:81:14: note: from previous declaration ‘int omp_get_thread_num()’ 81 | inline int omp_get_thread_num() {return 0;} | ^~~~~~~~~~~~~~~~~~ * move __GOMP_NOTHROW definition in the no open mp stub conditional branch * Update include/LightGBM/utils/openmp_wrapper.h Yes make sense, just changed it Co-authored-by:James Lamb <jaylamb20@gmail.com> * add NOLINT macro to disable cpplint on a safe line of code Co-authored-by:
James Lamb <jaylamb20@gmail.com>
-
mjmckp authored
Fix access violation exception that can occur during invocation of loop lambda function when inner_start >= inner_end in 'For' template (#3936) * Fix index out-of-range exception generated by BaggingHelper on small datasets. Prior to this change, the line "score_t threshold = tmp_gradients[top_k - 1];" would generate an exception, since tmp_gradients would be empty when the cnt input value to the function is zero. * Update goss.hpp * Update goss.hpp * Add API method LGBM_BoosterPredictForMats which runs prediction on a data set given as of array of pointers to rows (as opposed to existing method LGBM_BoosterPredictForMat which requires data given as contiguous array) * Fix incorrect upstream merge * Add link to LightGBM.NET * Fix indenting to 2 spaces * Dummy edit to trigger CI * Dummy edit to trigger CI * remove duplicate functions from merge * Fix access violation exception that can occur during invocation of loop lambda function when inner_start >= inner_end in 'For' template. In particular, this can occur in Tree::AddPredictionToScore on line 291 where the loop lambda function body (created by the PredictionFun macro) dereferences used_data_indices[start]. For reference, the particular case which triggered this exception in my case was: * start = 0 * end = 93,203 * n_block = 56 * min_block_size = 512 for which the BlockInfo method gave: * n_block = 56 * num_inner = 1,696 and so, for the case i=55 (i.e., the last case in the loop), we get * inner_start = start + num_inner * i = 93,280 which is greater than 'end' and hence triggers the exception. * Change formatting of proposed modification Co-authored-by:matthew-peacock <matthew.peacock@whiteoakam.com> Co-authored-by:
Guolin Ke <guolin.ke@outlook.com>
-
- 10 Feb, 2021 2 commits
-
-
James Lamb authored
-
Nikita Titov authored
* Update dask.py * Update sklearn.py
-
- 09 Feb, 2021 5 commits
-
-
James Lamb authored
-
James Lamb authored
* got fit() working * add predict() * predict_proba() * remove custom objective docs * Apply suggestions from code review Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * fix capitalization * Update tests/python_package_test/test_dask.py Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
Nikita Titov authored
* remove unused private field * mask Train as override * remove unused private field
-
Nikita Titov authored
* Update test_r_package.sh * Update dockerfile.gpu * Update dockerfile-python * Update setup.sh * Update setup.sh
-
jmoralez authored
* include test for training when a worker has no data * test single partition against local model for all tasks and outputs * remove futures_of * include james' comments * remove product import
-
- 08 Feb, 2021 2 commits
-
-
Nikita Titov authored
-
Nikita Titov authored
-
- 07 Feb, 2021 7 commits
-
-
Gaurav Chopra authored
* Update Python-Intro.rst * Update docs/Python-Intro.rst Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> Co-authored-by:
James Lamb <jaylamb20@gmail.com> Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
James Lamb authored
* [docs] simplify bug report template * Update .github/ISSUE_TEMPLATE/BUG_REPORT.md Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
James Lamb authored
* fix tests * fix tests * fix test comments * simplify tests * Apply suggestions from code review
-
Nikita Titov authored
* Update r_solaris.yml * Update run_rhub_solaris_checks.R * Update run_rhub_solaris_checks.R * fix lint
-
GOusignu authored
[dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (#3911) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907)
-
Nikita Titov authored
* Update r_solaris.yml * Update run_rhub_solaris_checks.R * Update run_rhub_solaris_checks.R * Update run_rhub_solaris_checks.R
-
Nikita Titov authored
* run R CRAN checks on Solaris by optional workflow * Update triggering_comments.yml * Update r_solaris.yml * Update optional_checks.yml * Update triggering_comments.yml * Update run_rhub_solaris_checks.R * Update r_solaris.yml * Update run_rhub_solaris_checks.R * Update r_solaris.yml * simplify code * fix lint and address review comments
-
- 06 Feb, 2021 2 commits
-
-
James Lamb authored
* add support for pandas categorical columns * remove commented code * quotes * syntax error * fix shape for ranker test * Apply suggestions from code review Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * Update tests/python_package_test/test_dask.py * trying * fix tests * remove unnecessary debugging stuff * skip accuracy checks on categorical * use category columns as categorical features Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
James Lamb authored
-
- 05 Feb, 2021 1 commit
-
-
Roman Grebennikov authored
-
- 03 Feb, 2021 6 commits
-
-
James Lamb authored
-
Nikita Titov authored
* Update test_dask.py * Update dask.py * Update .vsts-ci.yml * Revert "Update .vsts-ci.yml" This reverts commit 98422be5b5095f0585de333b5b5545356776ef88.
-
Nikita Titov authored
-
Nikita Titov authored
* Update dask.py * Update dask.py
-
Nikita Titov authored
-
Chen Yufei authored
* Add new task type: "save_binary". * Document for task "save_binary".
-