1. 15 Feb, 2021 7 commits
  2. 14 Feb, 2021 4 commits
  3. 13 Feb, 2021 3 commits
    • Belinda Trotta's avatar
      [docs] Update docs about linear tree and monotone constraints (#3945) · 50e061f3
      Belinda Trotta authored
      * Update docs about linear tree and monotone constraints
      
      * Fix punctuation
      50e061f3
    • Benjamin Sergeant's avatar
      openmp_wrapper.h stubs signature use __GOMP_NOTHROW (#3923) · 89da9902
      Benjamin Sergeant authored
      
      
      * openmp_wrapper.h stubs signature use __GOMP_NOTHROW
      
      Fix #3915. OpenMP stubs do not use the noexcept attibute which is present in the gcc version of openmp, and which trigger compilation errors as seen below. dmlc-core uses the same technique and macro.
      
      /usr/lib/gcc/x86_64-linux-gnu/9/include/omp.h:114:12: error: declaration of ‘int omp_get_thread_num() noexcept’ has a different exception specifier
        114 | extern int omp_get_thread_num (void) __GOMP_NOTHROW;
            |            ^~~~~~~~~~~~~~~~~~
      ...
      xxx/include/LightGBM/utils/openmp_wrapper.h:81:14: note: from previous declaration ‘int omp_get_thread_num()’
         81 |   inline int omp_get_thread_num() {return 0;}
            |              ^~~~~~~~~~~~~~~~~~
      
      * move __GOMP_NOTHROW definition in the no open mp stub conditional branch
      
      * Update include/LightGBM/utils/openmp_wrapper.h
      
      Yes make sense, just changed it
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * add NOLINT macro to disable cpplint on a safe line of code
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      89da9902
    • mjmckp's avatar
      Fix access violation exception that can occur during invocation of loop lambda... · 5abf8bb9
      mjmckp authored
      
      Fix access violation exception that can occur during invocation of loop lambda function when inner_start >= inner_end in 'For' template (#3936)
      
      * Fix index out-of-range exception generated by BaggingHelper on small datasets.
      
      Prior to this change, the line "score_t threshold = tmp_gradients[top_k - 1];" would generate an exception, since tmp_gradients would be empty when the cnt input value to the function is zero.
      
      * Update goss.hpp
      
      * Update goss.hpp
      
      * Add API method LGBM_BoosterPredictForMats which runs prediction on a data set given as of array of pointers to rows (as opposed to existing method LGBM_BoosterPredictForMat which requires data given as contiguous array)
      
      * Fix incorrect upstream merge
      
      * Add link to LightGBM.NET
      
      * Fix indenting to 2 spaces
      
      * Dummy edit to trigger CI
      
      * Dummy edit to trigger CI
      
      * remove duplicate functions from merge
      
      * Fix access violation exception that can occur during invocation of loop lambda function when inner_start >= inner_end in 'For' template.
      
      In particular, this can occur in Tree::AddPredictionToScore on line 291 where the loop lambda function body (created by the PredictionFun macro) dereferences used_data_indices[start].
      
      For reference, the particular case which triggered this exception in my case was:
        * start = 0
        * end = 93,203
        * n_block = 56
        * min_block_size = 512
      for which the BlockInfo method gave:
        * n_block = 56
        * num_inner = 1,696
      and so, for the case i=55 (i.e., the last case in the loop), we get
        * inner_start = start + num_inner * i
                      = 93,280
      which is greater than 'end' and hence triggers the exception.
      
      * Change formatting of proposed modification
      Co-authored-by: default avatarmatthew-peacock <matthew.peacock@whiteoakam.com>
      Co-authored-by: default avatarGuolin Ke <guolin.ke@outlook.com>
      5abf8bb9
  4. 10 Feb, 2021 2 commits
  5. 09 Feb, 2021 5 commits
  6. 08 Feb, 2021 2 commits
  7. 07 Feb, 2021 7 commits
    • Gaurav Chopra's avatar
      [docs] fix typo: one-hot coding should be one-hot encoding (#3898) · c10b0430
      Gaurav Chopra authored
      
      
      * Update Python-Intro.rst
      
      * Update docs/Python-Intro.rst
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      c10b0430
    • James Lamb's avatar
      [docs] simplify bug report template (#3921) · 3356778f
      James Lamb authored
      
      
      * [docs] simplify bug report template
      
      * Update .github/ISSUE_TEMPLATE/BUG_REPORT.md
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      3356778f
    • James Lamb's avatar
      [dask] Add support for 'pred_leaf' in Dask estimators (fixes #3792) (#3919) · 37485fff
      James Lamb authored
      * fix tests
      
      * fix tests
      
      * fix test comments
      
      * simplify tests
      
      * Apply suggestions from code review
      37485fff
    • Nikita Titov's avatar
      [ci] encode token in the same way as e-mail address for RHub (#3920) · 84b519b7
      Nikita Titov authored
      * Update r_solaris.yml
      
      * Update run_rhub_solaris_checks.R
      
      * Update run_rhub_solaris_checks.R
      
      * fix lint
      84b519b7
    • GOusignu's avatar
      [dask] Add unit tests that signatures are the same between Dask and... · 6f127847
      GOusignu authored
      [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators  (#3911)
      
      * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907)
      
      * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907)
      
      * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907)
      
      * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907)
      
      * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907)
      
      * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907)
      
      * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907)
      
      * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907)
      
      * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907)
      
      * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907)
      
      * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907)
      
      * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907)
      
      * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907)
      
      * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907)
      
      * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907)
      
      * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907)
      
      * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907)
      
      * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907)
      
      * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907)
      
      * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes microsoft#3907)
      6f127847
    • Nikita Titov's avatar
      [ci] update e-mail and token for R Hub builds (#3917) · e056237b
      Nikita Titov authored
      * Update r_solaris.yml
      
      * Update run_rhub_solaris_checks.R
      
      * Update run_rhub_solaris_checks.R
      
      * Update run_rhub_solaris_checks.R
      e056237b
    • Nikita Titov's avatar
      [ci][R-package] run R CRAN checks on Solaris by optional workflow (#3913) · ffebc43f
      Nikita Titov authored
      * run R CRAN checks on Solaris by optional workflow
      
      * Update triggering_comments.yml
      
      * Update r_solaris.yml
      
      * Update optional_checks.yml
      
      * Update triggering_comments.yml
      
      * Update run_rhub_solaris_checks.R
      
      * Update r_solaris.yml
      
      * Update run_rhub_solaris_checks.R
      
      * Update r_solaris.yml
      
      * simplify code
      
      * fix lint and address review comments
      ffebc43f
  8. 06 Feb, 2021 2 commits
  9. 05 Feb, 2021 1 commit
  10. 03 Feb, 2021 7 commits