- 20 Jun, 2025 1 commit
-
-
Ralph Weires authored
Co-authored-by:James Lamb <jaylamb20@gmail.com>
-
- 19 Mar, 2024 1 commit
-
-
James Lamb authored
-
- 11 May, 2023 1 commit
-
-
Scott Votaw authored
-
- 10 Aug, 2022 1 commit
-
-
Scott Votaw authored
* Extract streaming to own PR * small merge fixes and cleanup * linting fixes * fix cast warning * Fix accidental deletion during branch transfer * responded to initial triage comments * Added more tests to use create-from-samples APIs * added mutex and adjusted nclasses logic * Fix thread-safety for pushing data to sparse bins through Push APIs * lint and doc fixes * Small SWIG fix * nit fix * Responded to StrikerRUS comments * fix breaking change after merge with master * Extract streaming to own PR * small merge fixes and cleanup * Fix accidental deletion during branch transfer * responded to initial triage comments * Added more tests to use create-from-samples APIs * Fix rstcheck call in ci * remove TODOs * Extract streaming to own PR * small merge fixes and cleanup * Fix accidental deletion during branch transfer * responded to initial triage comments * Added more tests to use create-from-samples APIs * Small SWIG fix * remove ci change * responded to shiyu1994 comments * responded to StrikerRUS comments * Fixes from StrikerRUS comments
-
- 30 Jun, 2021 1 commit
-
-
Nikita Titov authored
* Update StringArray.i * Update StringArray_API_extensions.i
-
- 15 Apr, 2021 1 commit
-
-
Roman Grebennikov authored
-
- 28 Mar, 2021 1 commit
-
-
Nikita Titov authored
* Update chunked_array.hpp * Update ChunkedArray_API_extensions.i * Update StringArray.i * apply cpplint to cpp tests * Update test_chunked_array to please cpplint (#4121) * Update test_chunked_array to please cpplint * Simplify var name * Add comment Co-authored-by:Alberto Ferreira <AlbertoEAF@users.noreply.github.com>
-
- 21 Mar, 2021 1 commit
-
-
Alberto Ferreira authored
* [feature] Add ChunkedArray to SWIG * Add ChunkedArray * Add ChunkedArray_API_extensions.i * Add SWIG class wrappers * Address some review comments * Fix linting issues * Move test to tests/test_ChunkedArray_manually.cpp * Add test note * Move ChunkedArray to include/LightGBM/utils/ * Declare more explicit types of ChunkedArray in the SWIG API. * Port ChunkedArray tests to googletest * Please C++ linter * Address StrikerRUS' review comments * Update SWIG doc & disable ChunkedArray<int64_t> * Use CHECK_EQ instead of assert * Change include order (linting) * Rename ChunkedArray -> chunked_array files * Change header guards * Address last comments from StrikerRUS
-
- 05 Feb, 2021 1 commit
-
-
Roman Grebennikov authored
-
- 24 Nov, 2020 1 commit
-
-
Alberto Ferreira authored
* [refactor] SWIG - Split pointer manipulation to individual .i file * Update module docstring * space
-
- 07 Oct, 2020 1 commit
-
-
Nikita Titov authored
-
- 06 Aug, 2020 1 commit
-
-
shiyu1994 authored
* [python] add start_iteration to python predict interface (#3058) * Apply suggestions from code review * Update lightgbm_R.h * Apply suggestions from code review * Apply suggestions from code review * fix R interface * update R documentation Co-authored-by:Guolin Ke <guolin.ke@outlook.com>
-
- 05 Aug, 2020 1 commit
-
-
Alberto Ferreira authored
* Fix bug introduced in PR #2992 for Fast predict * Faster Fast predict API * Add const to SingleRow Fast methods
-
- 20 Jul, 2020 1 commit
-
-
Nikita Titov authored
-
- 15 Jul, 2020 2 commits
-
-
Alberto Ferreira authored
* [performance] Add Fast methods to C API for SingleRow Predictions * Add methods to C API to make single-row predictions faster: - LGBM_BoosterPredictForMatSingleRowFastInit (setup) - LGBM_BoosterPredictForMatSingleRowFast (predict) - LGBM_FastConfigFree (cleanup setup outputs) * Code syle cleanup * Fix lint errors * [performance] Revert FastConfig improvement to pass data at init This reduces optimization by 5% / 30% with this branch but makes it so it can be used for higher level wrappers in MMLSpark. And outside it as well. * [performance] Introduce Fast variants for SingleRow predictors. Although this already provides performance gains by itself for any callers, two new functions were added to Java's SWIG interfaces to exploit that AND the GetPrimitiveArrayCritical data fetches. * [tests/profiling] Profile Fast predict methods Build with -DBUILD_PROFILING_TESTS=ON and copy the default model trained on the Higgs dataset from the benchmarks repo https://github.com/guolinke/boosting_tree_benchmarks.git to LightGBM repo root and run the lightgbm_profile_* binaries. The single instance used is the first row from that dataset. * Update comment on CMakeLists. * Fix doxygen-introduced issue (#threads) * Fix conflicts due to new RowFunctionFromCSR signature in master * Change FastConfig ncol to int32_t. * Removed profiling folder * fix doxygen typo include/LightGBM/c_api.h Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * fix doxygen typo include/LightGBM/c_api.h Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * fix doxygen typo include/LightGBM/c_api.h Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * Doxygen: change new docstrings to double back-quote Co-authored-by:
alberto.ferreira <alberto.ferreira@feedzai.com> Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
Guolin Ke authored
* feature importance type in saved model file * fix nullptr * fixed formatting * fix python/R * Update src/c_api.cpp * Apply suggestions from code review Co-authored-by:
James Lamb <jaylamb20@gmail.com> * fix c_api test * fix swig * minor docs improvements and added defines for importance types Co-authored-by:
StrikerRUS <nekit94-12@hotmail.com> Co-authored-by:
James Lamb <jaylamb20@gmail.com>
-
- 19 Apr, 2020 1 commit
-
-
Ilya Matiach authored
-
- 01 Apr, 2020 1 commit
-
-
Ilya Matiach 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>
-
- 13 Nov, 2019 1 commit
-
-
Joan Fontanals authored
[Java] MMLSPARK-ISSUE-720 - Create SWIG version of BoosterDumpModel that returns string to be used in Java (#2560)
-
- 26 Sep, 2019 1 commit
-
-
Ilya Matiach authored
* add missing JNI exception checks to fix warnings * updated based on comments * removed rethrow logic * replace tabs with spaces
-
- 30 Aug, 2019 1 commit
-
-
Ilya Matiach authored
-
- 25 Jul, 2019 1 commit
-
-
Nikita Titov authored
-
- 04 May, 2019 1 commit
-
-
Ilya Matiach authored
-
- 29 Apr, 2019 1 commit
-
-
Ilya Matiach authored
* added typemap for string arrays in SWIG interface * added voidp pointer casts
-
- 18 Mar, 2019 1 commit
-
-
Markus Cozowicz authored
* added API changes required for JNI performance optimizations (e.g. predict is 3-4x faster) * removed commented variables * removed commented header * renamed method to make it obvious it is created for Spark * fixed comment alignment * replaced GetPrimitiveArrayCritical with GetIntArrayElements for training. fixed dead-lock on databricks
-
- 16 Mar, 2019 1 commit
-
-
Ilya Matiach authored
* lightgbm SWIG Java wrapper changes needed to add early stopping in mmlspark * updated based on comments
-
- 25 Aug, 2018 1 commit
-
-
Ilya Matiach authored
-
- 31 Jan, 2018 1 commit
-
-
Ilya Matiach authored
* Adding Java wrappers to LightGBM by updating CMakeLists and adding SWIG file * Set SWIG generation to OFF by default * Added -package option to SWIG_FLAGS * Fixed jar structure to have class files in proper location * removed link with OpenMP flags
-