- 23 Mar, 2020 1 commit
-
-
James Lamb authored
* [ci] changed sprintf uses to snprintf * checked for encoding issues with snprintf
-
- 22 Mar, 2020 3 commits
-
-
James Lamb authored
-
James Lamb authored
-
Alberto Ferreira authored
Co-authored-by:Alberto Ferreira <alberto.ferreira@feedzai.com>
-
- 21 Mar, 2020 3 commits
-
-
James Lamb authored
-
James Lamb authored
-
James Lamb authored
-
- 20 Mar, 2020 3 commits
-
-
James Lamb authored
-
Alberto Ferreira authored
* [swig] Fix SWIG methods that return char** with StringArray. + [new] Add StringArray class to manage and manipulate arrays of fixed-length strings: This class is now used to wrap any char** parameters, manage memory and manipulate the strings. Such class is defined at swig/StringArray.hpp and wrapped in StringArray.i. + [API+fix] Wrap LGBM_BoosterGetFeatureNames it resulted in segfault before: Added wrapper LGBM_BoosterGetFeatureNamesSWIG(BoosterHandle) that only receives the booster handle and figures how much memory to allocate for strings and returns a StringArray which can be easily converted to String[]. + [API+safety] For consistency, LGBM_BoosterGetEvalNamesSWIG was wrapped as well: * Refactor to detect any kind of errors and removed all the parameters besides the BoosterHandle (much simpler API to use in Java). * No assumptions are made about the required string space necessary (128 before). * The amount of required string memory is computed internally + [safety] No possibility of undefined behaviour The two methods wrapped above now compute the necessary string storage space prior to allocation, as the low-level C API calls would crash the process irreversibly if they write more memory than which is passed to them. * Changes to C API and wrappers support char** To support the latest SWIG changes that enable proper char** return support that is safe, the C API was changed. The respecive wrappers in R and Python were changed too. * Cleanup indentation in new lightgbm_R.cpp code * Adress review code-style comments. * Update swig/StringArray.hpp Co-Authored-By:Nikita Titov <nekit94-08@mail.ru> * Update python-package/lightgbm/basic.py Co-Authored-By:
Nikita Titov <nekit94-08@mail.ru> * Update src/lightgbm_R.cpp Co-Authored-By:
Nikita Titov <nekit94-08@mail.ru> Co-authored-by:
alberto.ferreira <alberto.ferreira@feedzai.com> Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
Lukas Pfannschmidt authored
* Add handling of RandomState object, which is standard for sklearn methods. LightGBM expects an integer seed instead of an object. If passed object is RandomState, we choose random integer based on its state to seed the underlying low level code. While chosen random integer is only in the range between 1 and 1e10 I expect it to have enough entropy (?) to not matter in practice. * Add RandomState object to random_state docstring. * remove blank line * Use property to handle setting random_state. This enables setting cloned estimators with the set_params method in sklearn. * Add docstring to attribute. * Fix and simplify docstring. * Add test case. * Use maximal int for datatype in seed derivation. * Replace random_state property with interfacing in fit method. Derives int seed for C code only when fitting and keeps RandomState object as param. * Adapt unit test to property change. * Extended test case and docstring Co-Authored-By:
Nikita Titov <nekit94-08@mail.ru> * Add more equality checks (feature importance, best iteration/score). * Add equality comparison of boosters represented by strings. Remove useless best_iteration_ comparison (we do not use early_stopping). * fix whitespace * Test if two subsequent fits produce different models * Apply suggestions from code review Co-Authored-By:
Nikita Titov <nekit94-08@mail.ru> Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
- 19 Mar, 2020 1 commit
-
-
Nikita Titov authored
* Update LightGBM.vcxproj * Update LightGBM.vcxproj.filters
-
- 17 Mar, 2020 2 commits
-
-
James Lamb authored
* [R-package] [ci] added more linters * Update R-package/tests/testthat/test_parameters.R Co-Authored-By:
Nikita Titov <nekit94-08@mail.ru> * added cbind() to undesirable_function_linter * fixed linting * Update .ci/lint_r_code.R * Apply suggestions from code review Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
Alberto Ferreira authored
* Fix Booster read/write locale dependency * Address review comments * Move LocaleContext.h->locale_context.h Co-authored-by:alberto.ferreira <alberto.ferreira@feedzai.com>
-
- 16 Mar, 2020 4 commits
-
-
Guolin Ke authored
* fix * fix return * fix test * fix test * fix predictor is none * Apply suggestions from code review * Update basic.py * Update basic.py * Apply suggestions from code review Co-Authored-By:
Nikita Titov <nekit94-08@mail.ru> Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
Guolin Ke authored
* fix the bug when use different params with reference * fix * Update basic.py * Apply suggestions from code review Co-Authored-By:
Nikita Titov <nekit94-08@mail.ru> * Update basic.py * add test * Apply suggestions from code review * added asserts in test Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> Co-authored-by:
StrikerRUS <nekit94-12@hotmail.com>
-
Crissman Loomis authored
* Add LightGBM Tuner by Optuna links to README.md * Removing Optuna Integrated badge * Update README.md Add repository code link. * Update README.md Co-authored-by:Nikita Titov <nekit94-08@mail.ru>
-
James Lamb authored
-
- 15 Mar, 2020 1 commit
-
-
James Lamb authored
-
- 14 Mar, 2020 2 commits
-
-
Guolin Ke authored
* Update release-drafter.yml * Apply suggestions from code review Co-Authored-By:
Nikita Titov <nekit94-08@mail.ru> * Update .github/release-drafter.yml * Apply suggestions from code review Co-Authored-By:
Nikita Titov <nekit94-08@mail.ru> Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
James Lamb authored
-
- 12 Mar, 2020 1 commit
-
-
Crissman Loomis authored
Add Optuna link for automated hyperparameter tuning.
-
- 11 Mar, 2020 1 commit
-
-
Nikita Titov authored
* fixed cpplint errors and disable warning only for VS * wrap more pragma warning
-
- 10 Mar, 2020 2 commits
-
-
James Lamb authored
* [R-package] cleaned up formatting in R C/C++ files * reverted some indentation changes * fixed spacing for comments * lightgbm to LightGBM
-
James Lamb authored
* [R-package] Introduced define LGB_BUILD_R to control compilation of lib_lightgbm for the R package * fixed comment * switched to cmake options * fixed typo
-
- 08 Mar, 2020 3 commits
-
-
Guolin Ke authored
* Update Experiments.rst * Update docs/Experiments.rst * Update Experiments.rst * Update Experiments.rst * fix extra -> exact and some grammar Co-authored-by:Nikita Titov <nekit94-08@mail.ru>
-
Guolin Ke authored
* commit * fix msvc * fix format
-
Guolin Ke authored
-
- 07 Mar, 2020 1 commit
-
-
Guolin Ke authored
* Create release-drafter.yml * Create no-response.yml * disable comments * Apply suggestions from code review * Update release-drafter.yml * Apply suggestions from code review * Update .vsts-ci.yml
-
- 06 Mar, 2020 3 commits
-
-
Nikita Titov authored
-
Guolin Ke authored
* only one fix * add more * add more
-
Nikita Titov authored
* save all param values into model file * revert storing predict params * do not save params for predict and convert tasks * fixed test: 10 is found successfully for default 100 * specify more params as no-save
-
- 05 Mar, 2020 3 commits
-
-
guolinke authored
-
Guolin Ke authored
* speed up for const hessian * rename template * some refactorings * refine * refine * simplify codes * fix random in feature histogram * code refine * refine * try fix * make gcc happy * remove timer * rollback some changes * more templates * fix a bug * reduce the cost of timer * fix gpu * fix bug * fix gpu
-
James Lamb authored
* [ci] fixed cpplint warnings about braces * removed excess line
-
- 04 Mar, 2020 5 commits
-
-
Nikita Titov authored
* [R-package] [docs] Added documentation on lgb.dl() and data.table version * added missed table of contents item * moved known issues to FAQ docs * fixed formatting
-
Guolin Ke authored
-
Nikita Titov authored
-
Nikita Titov authored
-
Nikita Titov authored
* fixed cpplint errors * fixed more cpplint errors
-
- 03 Mar, 2020 1 commit
-
-
James Lamb authored
-