1. 05 Jan, 2021 1 commit
    • Guangyu Zeng's avatar
      [R-package] Add explicit return statement to R functions. (#3703) · 3fd48864
      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
      3fd48864
  2. 03 Jan, 2021 1 commit
  3. 01 Dec, 2020 1 commit
    • Guangyu Zeng's avatar
      [R-package] Update remaining internal function calls to use keyword arguments (#3617) · ab0d71d6
      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
      ab0d71d6
  4. 30 Oct, 2020 1 commit
  5. 08 Oct, 2020 1 commit
    • James Lamb's avatar
      [R-package] miscellaneous changes to comply with CRAN requirements (#3338) · 186711de
      James Lamb authored
      
      
      * [R-package] update DESCRIPTION per CRAN comments
      
      * newlines
      
      * Apply suggestions from code review
      Co-authored-by: default avatarNikita 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: default avatarNikita 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: default avatarNikita Titov <nekit94-08@mail.ru>
      Co-authored-by: default avatarGuolin Ke <guolin.ke@outlook.com>
      186711de
  6. 11 Sep, 2020 1 commit
  7. 15 Aug, 2020 1 commit
  8. 11 Aug, 2020 1 commit
  9. 06 Aug, 2020 2 commits
  10. 15 Jul, 2020 1 commit
  11. 23 Jun, 2020 1 commit
  12. 25 May, 2020 1 commit
  13. 25 Apr, 2020 1 commit
  14. 21 Apr, 2020 1 commit
  15. 15 Apr, 2020 1 commit
  16. 08 Apr, 2020 1 commit
  17. 23 Feb, 2020 1 commit
  18. 20 Feb, 2020 1 commit
    • Joan Fontanals's avatar
      Add capability to get possible max and min values for a model (#2737) · 18e7de4f
      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: default avatarNikita 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: default avatarNikita Titov <nekit94-08@mail.ru>
      
      * Update src/io/tree.cpp
      Co-Authored-By: default avatarNikita Titov <nekit94-08@mail.ru>
      
      * Update src/io/tree.cpp
      Co-Authored-By: default avatarNikita Titov <nekit94-08@mail.ru>
      
      * Update tests/python_package_test/test_basic.py
      Co-Authored-By: default avatarNikita Titov <nekit94-08@mail.ru>
      
      * Remoove imports
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      18e7de4f
  19. 19 Feb, 2020 1 commit
    • Guolin Ke's avatar
      [python] [R-package] refine the parameters for Dataset (#2594) · 9f79e840
      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: default avatarNikita Titov <nekit94-08@mail.ru>
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      9f79e840
  20. 25 Jan, 2020 1 commit
  21. 24 Jan, 2020 1 commit
  22. 20 Jan, 2020 1 commit
  23. 14 Jan, 2020 1 commit
  24. 12 Dec, 2019 1 commit
    • Belinda Trotta's avatar
      auc-mu metric (#2567) · 222775ca
      Belinda Trotta authored
      * Fix bug where small values of max_bin cause crash.
      
      * Revert "Fix bug where small values of max_bin cause crash."
      
      This reverts commit fe5c8e2547057c1fa5750bcddd359dd7708fab4b.
      
      * Add auc-mu multiclass metric.
      
      * Fix bug where scores are equal.
      
      * Merge.
      
      * Change name to auc_mu everywhere (instead of auc-mu).
      
      * Fix comparison between signed and unsigned int.
      
      * Change name to AUC-mu in docs and output messages.
      
      * Improve test.
      
      * Use prefix increment.
      
      * Update R package.
      
      * Fix style issues.
      
      * Tidy up test code.
      
      * Read all lines first then process.
      
      * Allow passing AUC-mu weights directly as a list in parameters.
      
      * Remove unused code, improve example and docs.
      222775ca
  25. 16 Nov, 2019 1 commit
    • James Lamb's avatar
      [R-package][ci] Added more R linters (fixes #2477) (#2533) · 1f7b06b9
      James Lamb authored
      
      
      * Added more linters on R code
      
      * started working on implicit integers
      
      * finished style changes to handle implicit integers
      
      * regenned documentation and added concatenation linter
      
      * changed channel for r-lintr
      
      * try building stringi before lintr
      
      * trying to get libicui18n
      
      * trying another thing
      
      * trying conda-forge again
      
      * added re-install of stringi
      
      * uncommented other stages
      
      * Update .ci/test.sh
      Co-Authored-By: default avatarNikita Titov <nekit94-08@mail.ru>
      
      * removed apt update and changed lintr version floor
      
      * get lintr from CRAN
      
      * R needs to come before C++ linting
      
      * testing lintr install from CRAN
      
      * trying one more thing
      
      * more verbose
      
      * order might matter
      
      * removed commented code
      
      * cleaned up linting block in test.sh
      
      * grouped conda install calls and fixed a few integer array things
      1f7b06b9
  26. 24 Oct, 2019 1 commit
  27. 01 Sep, 2019 1 commit
    • Nikita Titov's avatar
      [docs][R] added R-package docs generation routines (#2176) · faba6caf
      Nikita Titov authored
      * added R-package docs generation routines
      
      * change theme to be more consistent with sphinx_rtd_theme on main site in terms of color scheme
      
      * placed man folder with old Rd files back
      
      * specify full path to conda and make script more readable by one line - one pkg
      
      * removed commented lines from build_r_site script
      
      * made one line - one argument in build_reference() call
      
      * pin R package versions
      
      * fixed conflict
      faba6caf
  28. 27 May, 2019 1 commit
    • Laurae's avatar
      [R-package] Fix best_iter and best_score (#2159) · f70a0532
      Laurae authored
      * Callback for NA handling
      
      * lgb.Booster default score => NA
      
      * lgb.cv default best score => NA
      
      * Fix back callback
      
      * lgb.train with booster check at the end
      
      manual tests done: 
      * With early stopping + with validation set
      * With early stopping + without validation set
      * Without early stopping + with validation set
      * Without early stopping + without validation set
      
      And with multiple metrics / validation sets.
      
      * lgb.cv with booster check at the end
      
      manual tests done: 
      * With early stopping + with validation set
      * With early stopping + without validation set
      * Without early stopping + with validation set
      * Without early stopping + without validation set
      
      And with multiple metrics / validation sets.
      f70a0532
  29. 18 May, 2019 1 commit
  30. 09 Sep, 2018 1 commit
  31. 31 Aug, 2018 1 commit
  32. 29 Aug, 2018 1 commit
    • James Lamb's avatar
      [R-package] CRAN fixes (#1499) · eded794e
      James Lamb authored
      * Fixed typos in docs
      
      * Fixed inconsistencies in documentation
      
      * Updated strategy for registering routines
      
      * Fixed issues caused by smashing multiple functions into one Rd
      
      * Fixed issues with documentation
      
      * Removed VignetteBuilder and updated Rbuildignore
      
      * Added R build artefacts to gitignore
      
      * Added namespacing on data.table set function. Updated handling of CMakeLists file to get around CRAN check.
      
      * Updated build instructions
      
      * Added R build script
      
      * Removed build_r.sh script and updated R-package install instructions
      eded794e
  33. 19 Apr, 2018 1 commit
  34. 16 Mar, 2018 1 commit
  35. 11 Mar, 2018 1 commit
  36. 28 Feb, 2018 1 commit
  37. 08 Feb, 2018 1 commit
  38. 06 Oct, 2017 1 commit
  39. 29 Sep, 2017 1 commit