- 06 Dec, 2021 1 commit
-
-
James Lamb authored
* [R-package] remove support for '...' in predict() * restore ... in S3 method
-
- 05 Dec, 2021 1 commit
-
-
James Lamb authored
-
- 04 Dec, 2021 1 commit
-
-
david-cortes authored
[R-package] enable saving Booster with saveRDS() and loading it with readRDS() (fixes #4296) (#4685) * idiomatic serialization * linter * linter, namespace * comments, linter, fix failing test * standardize error messages for null handles * auto-restore handle in more functions * linter * missing declaration * correct wrong signature * fix docs * Update R-package/R/lgb.train.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * Update R-package/R/lgb.drop_serialized.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * Update R-package/R/lgb.restore_handle.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * Update R-package/R/lgb.restore_handle.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * Update R-package/R/lgb.make_serializable.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * move 'restore_handle' from feature importance to dump method * missing header * move arguments order, update docs * linter * avoid leaving files in working directory * add test for save_model=NULL * missing comma * Update R-package/R/lgb.restore_handle.R Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * Update R-package/src/lightgbm_R.cpp Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * change name of error function * update comment * restore old serialization functions but set as deprecated * Update R-package/R/readRDS.lgb.Booster.R Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * Update R-package/R/saveRDS.lgb.Booster.R Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * update docs * Update R-package/R/readRDS.lgb.Booster.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * Update R-package/R/saveRDS.lgb.Booster.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * Update R-package/tests/testthat/test_basic.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * Update R-package/R/readRDS.lgb.Booster.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * comments * fix variable name * restore serialization test for linear models * Update R-package/R/lightgbm.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * update docs * fix issues with null terminator Co-authored-by:
James Lamb <jaylamb20@gmail.com> Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
- 13 Nov, 2021 1 commit
-
-
david-cortes authored
* add print and summary S3 method * correct wrong signature * attempt at bypassing linter * Update R-package/R/lgb.Booster.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * Update R-package/src/lightgbm_R.h Co-authored-by:
James Lamb <jaylamb20@gmail.com> * Update include/LightGBM/c_api.h Co-authored-by:
James Lamb <jaylamb20@gmail.com> * add more tests * linter * don't pluralize single tree * remove duplicated function * update changed function name * missing declaration * Update lightgbm_R.h * Update R-package/tests/testthat/test_lgb.Booster.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * accommodate custom objectives in print * linter * linter Co-authored-by:
James Lamb <jaylamb20@gmail.com>
-
- 22 Oct, 2021 1 commit
-
-
david-cortes authored
-
- 29 Aug, 2021 1 commit
-
-
James Lamb authored
* [R-package] fix warnings in examples * fix silently-ignored parameter
-
- 25 Aug, 2021 2 commits
-
-
James Lamb authored
* [R-package] add deprecation warnings on uses of '...' in predict() * add importFrom(utils, modifyList) in NAMESPACE
-
James Lamb authored
[docs] Clarify the fact that predict() on a file does not support saved Datasets (fixes #4034) (#4545) * documentation changes * add list of supported formats to error message * add unit tests * Apply suggestions from code review Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * update per review comments * make references consistent Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
- 18 Aug, 2021 1 commit
-
-
James Lamb authored
Co-authored-by:Nikita Titov <nekit94-12@hotmail.com>
-
- 17 Jun, 2021 1 commit
-
-
James Lamb authored
* [R-package] remove unnecessary comments * Update R-package/R/lgb.Booster.R
-
- 13 Jun, 2021 1 commit
-
-
James Lamb authored
* [R-package] move more finalizer logic intoo C++ side * add C finalizers * use gc() * put skip() back * Update R-package/tests/testthat/test_lgb.Booster.R Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
- 05 Jun, 2021 1 commit
-
-
James Lamb authored
* [R-package] factor out lgb.check.r6.class() * Predictor
-
- 04 Jun, 2021 1 commit
-
-
James Lamb authored
-
- 12 May, 2021 1 commit
-
-
James Lamb authored
* started converting handles * more changes * sort of working for Dataset * yay all the tests are passing for Dataset handle changes * working for other handle types * remove debugging logging * remove unnecessary spaces * fix null logic * more NULL * updates * Apply suggestions from code review Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * consolidate steps Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
- 10 May, 2021 1 commit
-
-
James Lamb authored
-
- 09 May, 2021 1 commit
-
-
James Lamb authored
* [R-package] move creation of character vectors in some methods to C++ side * convert LGBM_BoosterGetEvalNames_R * convert LGBM_BoosterDumpModel_R and LGBM_BoosterSaveModelToString_R * remove debugging code * update docs * remove comment * add handling for larger model strings * handle large strings in feature and eval names * got long feature names working * more fixes * linting * resize * Apply suggestions from code review Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * stricter test Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
- 04 May, 2021 1 commit
-
-
James Lamb authored
* converted LGBM_BoosterSaveModel_R * switch all other non-params cases * handle params
-
- 01 May, 2021 1 commit
-
-
James Lamb authored
-
- 30 Apr, 2021 1 commit
-
-
James Lamb authored
* [R-package] prevent symbol lookup conflicts * add unit tests * only run test on Windows * move to .Call() calls * fix references * testing registration for CMake builds * revert NAMESPACE changes * revert testing changes
-
- 05 Jan, 2021 1 commit
-
-
Guangyu Zeng authored
* add explicit return statement to functions in callback.R * add explicit return statement to functions in lgb.Booster.R * add explicit return statement to functions in lgb.Dataset.R * add explicit return statement to functions in lgb.Predictor.R * add explicit return statement to functions in lgb.cv.R * add explicit return statement to functions in lgb.interprete.R * add explicit return statement to functions in lgb.plot.importance.R * add explicit return statement to functions in saveRDS.lgb.Booster.R * add explicit return statement to functions in utils.R * add explicit return statement to functions in lgb.plot.interpretation.R * add explicit return statement to functions in build_r.R * fix typo * return(self) -> return(invisible(self)) * fix some inconsistent indention * fix test failure * add another return() statement * fix linting errors
-
- 03 Jan, 2021 1 commit
-
-
James Lamb authored
* [R-package] allow access to params in Booster * remove unnecessary whitespace * fix test on resetting params * remove pytest_cache * Update R-package/tests/testthat/test_custom_objective.R
-
- 01 Dec, 2020 1 commit
-
-
Guangyu Zeng authored
* update lgb.convert_with_rules.R to use keyword arguments * update lgb.cv.R to use keyword arguments * update lgb.importance.R to use keyword arguments * update lgb.interprete.R to use keyword arguments * update lgb.plot.interpretation.R to use keyword arguments * update more internal function calls to use keyword arguments * update more internal function calls to use keyword arguments
-
- 30 Oct, 2020 1 commit
-
-
Peyara Nando authored
* Updated lgb.Booster.R with keyword arguments -I am facing problems while generating the docs Little help please * Update lgb.Booster.R * Update lgb.Booster.R * Clean up as requested * Update lgb.Booster.R * Update lgb.Booster.R * Update R-package/R/lgb.Booster.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * Update R-package/R/lgb.Booster.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * Update R-package/R/lgb.Booster.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * Update R-package/R/lgb.Booster.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * Update lgb.Booster.R * Update lgb.Booster.R * Revert "Update lgb.Booster.R" This reverts commit 9b81ce845efa310ae6e5790f0e49b73c2ec5f250. * Update R-package/R/lgb.Booster.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * Update lgb.Booster.R * Update lgb.Booster.R * Update lgb.Booster.R * Update lgb.Booster.R * Update lgb.Booster.R * Update R-package/R/lgb.Booster.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * Update R-package/R/lgb.Booster.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * Update R-package/R/lgb.Booster.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * Revert "Update lgb.Booster.R" This reverts commit 4f2cc948f6e5ba53639ec646a500dcfd6b8a51ec. * Update lgb.Booster.R * Update R-package/R/lgb.Booster.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * Update lgb.Booster.R * Update R-package/R/lgb.Booster.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * Update R-package/R/lgb.Booster.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * Update R-package/R/lgb.Booster.R Co-authored-by:
James Lamb <jaylamb20@gmail.com> * Update lgb.Booster.R Co-authored-by:
James Lamb <jaylamb20@gmail.com>
-
- 08 Oct, 2020 1 commit
-
-
James Lamb authored
* [R-package] update DESCRIPTION per CRAN comments * newlines * Apply suggestions from code review Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * more fixes * update Rbuildignore * more changes * more changes per CRAN response * add email * run examples in CI * add newest CRAN response * add Solaris patch * update patch * another attempt at ifaddrs patch * fix unnecessary comment * update configure * comments * bump version * tabs * fix address alignment, required by cran (#3415) * fix dataset binary file alignment * many fixes * fix warnings * fix bug * Update file_io.cpp * Update file_io.cpp * simplify code * Apply suggestions from code review * general * remove unneeded alignment * Update file_io.h * int32 to byte8 alignment * Apply suggestions from code review * Apply suggestions from code review * [R-package] add new copyright holder in DESCRIPTION (#3409) * [R-package] add new copyright holder in DESCRIPTION * fix role * fixing conflicts * [R-package] add new copyright holder in DESCRIPTION (#3409) * [R-package] add new copyright holder in DESCRIPTION * fix role * trying to fix conflicts * more fixes * this will work * update cran-comments * simplify solaris, add more testing docs * stuff * remove rchck docs * Apply suggestions from code review Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * remove extra use of cat() * change solaris check * update docs * remove testing code * fix warning about cleanup not having execute permissions * fix cmake builds * remove blank line Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> Co-authored-by:
Guolin Ke <guolin.ke@outlook.com>
-
- 11 Sep, 2020 1 commit
-
-
James Lamb authored
* [R-package] remove unused code and comments * put check back * other typos
-
- 15 Aug, 2020 1 commit
-
-
Guolin Ke authored
* use integer type for handle * Apply suggestions from code review * fix 64bit handle
-
- 11 Aug, 2020 1 commit
-
-
Nikita Titov authored
simplify start_iteration param for predict in Python and some code cleanup for start_iteration (#3288) * simplify start_iteration param for predict in Python and some code cleanup for start_iteration * revert docs changes about the prediction result shape
-
- 06 Aug, 2020 2 commits
-
-
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>
-
James Lamb authored
* Move all examples to dontrun * update docs * fix nested dontrun * remove :: in examples * run_dontrun in pkgdown Co-authored-by:Nikita Titov <nekit94-08@mail.ru>
-
- 15 Jul, 2020 1 commit
-
-
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>
-
- 23 Jun, 2020 1 commit
-
-
James Lamb authored
* [R-package] fix R CMD check NOTE about leftover files * update number of allowed notes
-
- 25 May, 2020 1 commit
-
-
James Lamb authored
* [R-package] fix issue where early stopping thinks higher MAPE is desirable (fixes #3099) * fix linting * only use main metrics * fix tests
-
- 25 Apr, 2020 1 commit
-
-
James Lamb authored
[R-package] fixed best_iter and best_score when training data is passed (fixes #2295, #2525) (#2961) * [R-package] fixed best_iter and best_score when early_stopping is not used (fixes #2295) * fixed tests
-
- 21 Apr, 2020 1 commit
-
-
James Lamb authored
* [R-package] fix R examples and lgb.plot.interpretation * remove space in gitignore * try data.table from conda-forge * update FAQ Co-authored-by:Nikita Titov <nekit94-08@mail.ru>
-
- 15 Apr, 2020 1 commit
-
-
James Lamb authored
* [R-package] [docs] Simplified examles to cut example run time (fixes #2988) * updated learning rates
-
- 08 Apr, 2020 1 commit
-
-
James Lamb authored
-
- 23 Feb, 2020 1 commit
-
-
James Lamb authored
* [R-package] Fixed R implementation of upper_bound() and lower_bound() for lgb.Booster * [R-package] switched return type to double * fixed R tests on Booster upper_bound() and lower_bound() * fixed linting * moved numeric tolerance into a global constant
-
- 20 Feb, 2020 1 commit
-
-
Joan Fontanals authored
* Add capability to get possible max and min values for a model * Change implementation to have return value in tree.cpp, change naming to upper and lower bound, move implementation to gdbt.cpp * Update include/LightGBM/c_api.h Co-Authored-By:
Nikita Titov <nekit94-08@mail.ru> * Change iteration to avoid potential overflow, add bindings to R and Python and a basic test * Adjust test values * Consider const correctness and multithreading protection * Update test values * Update test values * Add test to check that model is exactly the same in all platforms * Try to parse the model to get the expected values * Try to parse the model to get the expected values * Fix implementation, num_leaves can be lower than the leaf_value_ size * Do not check for num_leaves to be smaller than actual size and get back to test with hardcoded value * Change test order * Add gpu_use_dp option in test * Remove helper test method * Update src/c_api.cpp Co-Authored-By:
Nikita Titov <nekit94-08@mail.ru> * Update src/io/tree.cpp Co-Authored-By:
Nikita Titov <nekit94-08@mail.ru> * Update src/io/tree.cpp Co-Authored-By:
Nikita Titov <nekit94-08@mail.ru> * Update tests/python_package_test/test_basic.py Co-Authored-By:
Nikita Titov <nekit94-08@mail.ru> * Remoove imports Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
- 19 Feb, 2020 1 commit
-
-
Guolin Ke authored
* reset * fix a bug * fix test * Update c_api.h * support to no filter features by min_data * add warning in reset config * refine warnings for override dataset's parameter * some cleans * clean code * clean code * refine C API function doxygen comments * refined new param description * refined doxygen comments for R API function * removed stuff related to int8 * break long line in warning message * removed tests which results cannot be validated anymore * added test for warnings about unchangeable params * write parameter from dataset to booster * consider free_raw_data. * fix params * fix bug * implementing R * fix typo * filter params in R * fix R * not min_data * refined tests * fixed linting * refine * pilint * add docstring * fix docstring * R lint * updated description for C API function * use param aliases in Python * fixed typo * fixed typo * added more params to test * removed debug print * fix dataset construct place * fix merge bug * Update feature_histogram.hpp * add is_sparse back * remove unused parameters * fix lint * add data random seed * update * [R-package] centrallized Dataset parameter aliases and added tests on Dataset parameter updating (#2767) Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> Co-authored-by:
James Lamb <jaylamb20@gmail.com>
-
- 25 Jan, 2020 1 commit
-
-
James Lamb authored
-