1. 27 Oct, 2020 2 commits
    • Guolin Ke's avatar
      speed up multi-threading sum (#3485) · ca7a01cd
      Guolin Ke authored
      * speed up multi-threading sum
      
      * Apply suggestions from code review
      ca7a01cd
    • Pavel Metrikov's avatar
      Add support to optimize for NDCG at a given truncation level (#3425) · ba0a1f8d
      Pavel Metrikov authored
      
      
      * Add support to optimize for NDCG at a given truncation level
      
      In order to correctly optimize for NDCG@_k_, one should exclude pairs containing both documents beyond the top-_k_ (as they don't affect NDCG@_k_ when swapped).
      
      * Update rank_objective.hpp
      
      * Apply suggestions from code review
      Co-authored-by: default avatarGuolin Ke <guolin.ke@outlook.com>
      
      * Update rank_objective.hpp
      
      remove the additional branching: get high_rank and low_rank by one "if".
      
      * Update config.h
      
      add description to lambdarank_truncation_level parameter
      
      * Update Parameters.rst
      
      * Update test_sklearn.py
      
      update expected NDCG value for a test, as it was affected by the underlying change in the algorithm
      
      * Update test_sklearn.py
      
      update NDCG@3 reference value
      
      * fix R learning-to-rank tests
      
      * Update rank_objective.hpp
      
      * Update include/LightGBM/config.h
      Co-authored-by: default avatarGuolin Ke <guolin.ke@outlook.com>
      
      * Update Parameters.rst
      Co-authored-by: default avatarGuolin Ke <guolin.ke@outlook.com>
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      ba0a1f8d
  2. 26 Oct, 2020 3 commits
  3. 23 Oct, 2020 1 commit
  4. 22 Oct, 2020 1 commit
  5. 20 Oct, 2020 1 commit
  6. 18 Oct, 2020 3 commits
    • Anshu Trivedi's avatar
    • James Lamb's avatar
      [ci] [R-package] Fix memory leaks found by valgrind (#3443) · 81d76113
      James Lamb authored
      
      
      * fix int64 write error
      
      * attempt
      
      * [WIP] [ci] [R-package] Add CI job that runs valgrind tests
      
      * update all-successful
      
      * install
      
      * executable
      
      * fix redirect stuff
      
      * Apply suggestions from code review
      Co-authored-by: default avatarGuolin Ke <guolin.ke@outlook.com>
      
      * more flags
      
      * add mc to msvc proj
      
      * fix memory leak in mc
      
      * Update monotone_constraints.hpp
      
      * Update r_package.yml
      
      * remove R_INT64_PTR
      
      * disable openmp
      
      * Update gbdt_model_text.cpp
      
      * Update gbdt_model_text.cpp
      
      * Apply suggestions from code review
      
      * try to free vector
      
      * free more memories.
      
      * Update src/boosting/gbdt_model_text.cpp
      
      * fix using
      
      * try the UNPROTECT(1);
      
      * fix a const pointer
      
      * fix Common
      
      * reduce UNPROTECT
      
      * remove UNPROTECT(1);
      
      * fix null handle
      
      * fix predictor
      
      * use NULL after free
      
      * fix a leaking in test
      
      * try more fixes
      
      * test the effect of tests
      
      * throw exception in Fatal
      
      * add test back
      
      * Apply suggestions from code review
      
      * commet some tests
      
      * Apply suggestions from code review
      
      * Apply suggestions from code review
      
      * trying to comment out tests
      
      * Update openmp_wrapper.h
      
      * Apply suggestions from code review
      
      * Update configure
      
      * Update configure.ac
      
      * trying to uncomment
      
      * more comments
      
      * more uncommenting
      
      * more uncommenting
      
      * fix comment
      
      * more uncommenting
      
      * uncomment fully-commented out stuff
      
      * try uncommenting more dataset tests
      
      * uncommenting more tests
      
      * ok getting closer
      
      * more uncommenting
      
      * free dataset
      
      * skipping a test, more uncommenting
      
      * more skipping
      
      * re-enable OpenMP
      
      * allow on OpenMP thing
      
      * move valgrind to comment-only job
      
      * Apply suggestions from code review
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      
      * changes from code review
      
      * Apply suggestions from code review
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      
      * linting
      
      * issue comments too
      
      * remove issue_comment
      Co-authored-by: default avatarGuolin Ke <guolin.ke@outlook.com>
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      81d76113
    • James Lamb's avatar
      [ci] ignore R CMD CHECK warnings on new R version (#3468) · c182555d
      James Lamb authored
      * [ci] ignore R CMD CHECK warnings on new R version
      
      * just update version
      c182555d
  7. 17 Oct, 2020 2 commits
  8. 16 Oct, 2020 1 commit
    • Josh Maxwell's avatar
      [R-package] Suppresses unknown pragma warnings during CRAN build (#3460) · 2e1b39ba
      Josh Maxwell authored
      
      
      * Modified script to also remove pragma warnings.
      
      This also includes modifying the scope of the pragma removal.
      Previously this script only searched inside the ./src/include/LightGMB directory.
      This was not inclusive enough to remove the warnings in files shown in the ticket.
      
      * Adds CI test that exits if unknown pragma warnings are present.
      
      * Expanding pragma removal to cpp and hpp files.
      
      * Update .ci/test_r_package.sh
      
      Removing unneeded conditions since this script will only run on Linux and Mac builds anyway.
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * Update .ci/test_r_package.sh
      
      Fixes typo
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * replacing double quotes with single quotes
      
      * Using a more portable find syntax so it works on macOS and Linux
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      2e1b39ba
  9. 13 Oct, 2020 2 commits
  10. 10 Oct, 2020 1 commit
  11. 09 Oct, 2020 4 commits
  12. 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
  13. 07 Oct, 2020 1 commit
  14. 06 Oct, 2020 1 commit
  15. 04 Oct, 2020 1 commit
  16. 03 Oct, 2020 1 commit
  17. 02 Oct, 2020 1 commit
    • Nikita Titov's avatar
      [ci] rename R-package GitHub Actions workflow (#3429) · 5b0ab05c
      Nikita Titov authored
      * rename R-package workflow
      
      * Revert "[ci] fix R CMD check issue 'unable to verify current time' (#3341)"
      
      This reverts commit 0038a662.
      
      * Revert "Revert "[ci] fix R CMD check issue 'unable to verify current time' (#3341)""
      
      This reverts commit e2307418aa7aa7b237f0eb46f43c0535473cf462.
      5b0ab05c
  18. 30 Sep, 2020 5 commits
  19. 29 Sep, 2020 4 commits
  20. 27 Sep, 2020 1 commit
  21. 26 Sep, 2020 1 commit
  22. 25 Sep, 2020 1 commit
  23. 23 Sep, 2020 1 commit
    • Belinda Trotta's avatar
      Average precision score (#3347) · 28704900
      Belinda Trotta authored
      * Implement average precision score
      
      * Fix lint errors
      
      * Change name to average_precision
      
      * Add to R-package list of metrics
      
      * Empty commit to trigger CI jobs
      
      * Change name to average_precision
      28704900