- 08 Apr, 2020 1 commit
-
-
Guolin Ke authored
* indent and constructor * fix more * fix long Co-authored-by:StrikerRUS <nekit94-12@hotmail.com>
-
- 05 Apr, 2020 1 commit
-
-
James Lamb authored
* [ci] fixed cpplint errors about string& members * add constructor * [ci] fixed cpplint errors about string& members * add constructor * refix Co-authored-by:guolinke <guolin.ke@outlook.com>
-
- 04 Apr, 2020 1 commit
-
-
Nikita Titov authored
-
- 03 Apr, 2020 1 commit
-
-
Nikita Titov authored
-
- 02 Apr, 2020 1 commit
-
-
Alberto Ferreira authored
* [refactor] Cleanup MissingType enum constants * Update tree.cpp Co-authored-by:Alberto Ferreira <alberto.ferreira@feedzai.com>
-
- 01 Apr, 2020 1 commit
-
-
James Lamb authored
-
- 30 Mar, 2020 1 commit
-
-
Nikita Titov authored
-
- 23 Mar, 2020 1 commit
-
-
CharlesAuguste authored
* Add util functions. * Added monotone_constraints_method as a parameter. * Add the intermediate constraining method. * Updated tests. * Minor fixes. * Typo. * Linting. * Ran the parameter generator for the doc. * Removed usage of the FeatureMonotone function. * more fixes * Fix. * Remove duplicated code. * Add debug checks. * Typo. * Bug fix. * Disable the use of intermediate monotone constraints and feature sampling at the same time. * Added an alias for monotone constraining method. * Use the right variable to get the number of threads. * Fix DEBUG checks. * Add back check to determine if histogram is splittable. * Added forgotten override keywords. * Perform monotone constraint update only when necessary. * Small refactor of FastLeafConstraints. * Post rebase commit. * Small refactor. * Typo. * Added comment and slightly improved logic of monotone constraints. * Forgot a const. * Vectors that are to be modified need to be pointers. * Rename FastLeafConstraints to IntermediateLeafConstraints to match documentation. * Remove overload of GoUpToFindLeavesToUpdate. * Stop memory leaking. * Fix cpplint issues. * Fix checks. * Fix more cpplint issues. * Refactor config monotone constraints method. * Typos. * Remove useless empty lines. * Add new line to separate includes. * Replace unsigned ind by size_t. * Reduce number of trials in tests to decrease CI time. * Specify monotone constraints better in tests. * Removed outer loop in test of monotone constraints. * Added categorical features to the monotone constraints tests. * Add blank line. * Regenerate parameters automatically. * Speed up ShouldKeepGoingLeftRight. Co-authored-by:
Charles Auguste <auguste@dubquantdev801.ire.susq.com> Co-authored-by:
guolinke <guolin.ke@outlook.com>
-
- 21 Mar, 2020 1 commit
-
-
James Lamb authored
-
- 20 Mar, 2020 1 commit
-
-
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>
-
- 17 Mar, 2020 1 commit
-
-
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>
-
- 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 2 commits
- 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 3 commits
-
-
Nikita Titov authored
-
Nikita Titov authored
-
Nikita Titov authored
* fixed cpplint errors * fixed more cpplint errors
-
- 03 Mar, 2020 2 commits
-
-
James Lamb authored
-
Guolin Ke authored
* speed up for const hessian * rename template * fix clang build * template init * add comment
-
- 02 Mar, 2020 5 commits
-
-
Guolin Ke authored
* refix * fix config * avoid to rely on config
-
Guolin Ke authored
* reduce overhead of get num_threads * add warning * Apply suggestions from code review * Apply suggestions from code review
-
Guolin Ke authored
* speed up multi-val bin subset for bagging * remove the duplicated codes * code refine * some codes refactoring * move `is_constant_hessian` into `TrainingShareStates` * refine * fix bug * fix bug when num_groups_ < 0 * fix gpu * fix gpu bagging * fix gpu bug * typo * Update src/treelearner/serial_tree_learner.h
-
Guolin Ke authored
* don't cache `num_thread`, to avoid change outside * rename * update document * Update docs/Parameters.rst * Update include/LightGBM/config.h * Apply suggestions from code review Co-Authored-By:
Nikita Titov <nekit94-08@mail.ru> * Apply suggestions from code review Co-Authored-By:
Nikita Titov <nekit94-08@mail.ru> Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
Nikita Titov authored
-
- 29 Feb, 2020 2 commits
- 28 Feb, 2020 1 commit
-
-
Nikita Titov authored
-
- 27 Feb, 2020 3 commits
-
-
Guolin Ke authored
* avoid most_freq_bin to be 0 in categorical features * Apply suggestions from code review * add tests * update test * Apply suggestions from code review * Apply suggestions from code review
-
Nikita Titov authored
-
Nikita Titov authored
* removed unused includes * fixed index
-
- 26 Feb, 2020 2 commits
-
-
Guolin Ke authored
* code refactoring * update vcproject * refine * fix test * Update tests/python_package_test/test_sklearn.py * fix test
-
Guolin Ke authored
* fix bagging * fixed cpplint issues * updated docs Co-authored-by:Nikita Titov <nekit94-08@mail.ru>
-