1. 02 Oct, 2024 1 commit
  2. 10 Oct, 2023 1 commit
  3. 09 Oct, 2023 1 commit
  4. 04 Sep, 2023 1 commit
    • Pavel Metrikov's avatar
      Treat position bias via GAM in LambdaMART (#5929) · 7e34d23c
      Pavel Metrikov authored
      
      
      * Update dataset.h
      
      * Update metadata.cpp
      
      * Update rank_objective.hpp
      
      * Update metadata.cpp
      
      * Update rank_objective.hpp
      
      * Update metadata.cpp
      
      * Update dataset.h
      
      * Update rank_objective.hpp
      
      * Update metadata.cpp
      
      * Update test_engine.py
      
      * Update test_engine.py
      
      * Add files via upload
      
      * Update test_engine.py
      
      * Update test_engine.py
      
      * Update test_engine.py
      
      * Update test_engine.py
      
      * Update test_engine.py
      
      * Update _rank.train.position
      
      * Update test_engine.py
      
      * Update test_engine.py
      
      * Update test_engine.py
      
      * Update test_engine.py
      
      * Update _rank.train.position
      
      * Update _rank.train.position
      
      * Update test_engine.py
      
      * Update _rank.train.position
      
      * Update test_engine.py
      
      * Update test_engine.py
      
      * Update test_engine.py
      
      * Update test_engine.py
      
      * Update test_engine.py
      
      * Update the position of import statement
      
      * Update rank_objective.hpp
      
      * Update config.h
      
      * Update config_auto.cpp
      
      * Update rank_objective.hpp
      
      * Update rank_objective.hpp
      
      * update documentation
      
      * remove extra blank line
      
      * Update src/io/metadata.cpp
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * Update src/io/metadata.cpp
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * remove _rank.train.position
      
      * add position in python API
      
      * fix set_positions in basic.py
      
      * Update Advanced-Topics.rst
      
      * Update Advanced-Topics.rst
      
      * Update Advanced-Topics.rst
      
      * Update Advanced-Topics.rst
      
      * Update Advanced-Topics.rst
      
      * Update Advanced-Topics.rst
      
      * Update Advanced-Topics.rst
      
      * Update Advanced-Topics.rst
      
      * Update Advanced-Topics.rst
      
      * Update Advanced-Topics.rst
      
      * Update Advanced-Topics.rst
      
      * Update docs/Advanced-Topics.rst
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * Update docs/Advanced-Topics.rst
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * Update Advanced-Topics.rst
      
      * Update Advanced-Topics.rst
      
      * Update Advanced-Topics.rst
      
      * Update Advanced-Topics.rst
      
      * remove List from _LGBM_PositionType
      
      * move new position parameter to the last in Dataset constructor
      
      * add position_filename as a parameter
      
      * Update docs/Advanced-Topics.rst
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * Update docs/Advanced-Topics.rst
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * Update Advanced-Topics.rst
      
      * Update src/objective/rank_objective.hpp
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * Update src/io/metadata.cpp
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * Update metadata.cpp
      
      * Update python-package/lightgbm/basic.py
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * Update python-package/lightgbm/basic.py
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * Update python-package/lightgbm/basic.py
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * Update python-package/lightgbm/basic.py
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * Update src/io/metadata.cpp
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * more infomrative fatal message
      
      address more comments
      
      * update documentation for more flexible position specification
      
      * fix SetPosition
      
      add tests for get_position and set_position
      
      * remove position_filename
      
      * remove useless changes
      
      * Update python-package/lightgbm/basic.py
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * remove useless files
      
      * move position file when position set in Dataset
      
      * warn when positions are overwritten
      
      * skip ranking with position test in cuda
      
      * split test case
      
      * remove useless import
      
      * Update test_engine.py
      
      * Update test_engine.py
      
      * Update test_engine.py
      
      * Update docs/Advanced-Topics.rst
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * Update Parameters.rst
      
      * Update rank_objective.hpp
      
      * Update config.h
      
      * update config_auto.cppp
      
      * Update docs/Advanced-Topics.rst
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * fix randomness in test case for gpu
      
      ---------
      Co-authored-by: default avatarshiyu1994 <shiyu_k1994@qq.com>
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      7e34d23c
  5. 27 Nov, 2022 1 commit
    • shiyu1994's avatar
      [CUDA] Add Poisson regression objective for cuda_exp and refactor objective... · 24af9fa5
      shiyu1994 authored
      
      [CUDA] Add Poisson regression objective for cuda_exp and refactor objective functions for cuda_exp (#5486)
      
      * add poisson regression objective for cuda_exp
      
      * enable Poisson regression for cuda_exp
      
      * refactor cuda objective functions
      
      * remove useless changes
      
      * fix linter errors
      
      * remove redundant buffer in cuda poisson regression objective
      
      * fix log of cuda_exp binary objective
      
      * fix threshold of poisson objective result
      
      * remove useless changes
      
      * fix compilation errors
      
      * add cuda quantile regression objective
      
      * remove cuda quantile regression objective
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      24af9fa5
  6. 05 Sep, 2022 1 commit
  7. 04 May, 2021 1 commit
  8. 17 Mar, 2021 1 commit
    • ashok-ponnuswami-msft's avatar
      Range check for DCG position discount lookup (#4069) · 4580393f
      ashok-ponnuswami-msft authored
      * Add check to prevent out of index lookup in the position discount table. Add debug logging to report number of queries found in the data.
      
      * Change debug logging location so that we can print the data file name as well.
      
      * Revert "Change debug logging location so that we can print the data file name as well."
      
      This reverts commit 3981b34bd6e0530f89c4733e78e6b6603bf50d48.
      
      * Add data file name to debug logging.
      
      * Move log line to a place where it is output even when query IDs are read from a separate file.
      
      * Also add the out-of-range check to rank metrics.
      
      * Perform check after number of queries is initialized.
      
      * Update
      4580393f
  9. 27 Oct, 2020 1 commit
    • 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
  10. 05 Jun, 2020 1 commit
  11. 01 Jun, 2020 1 commit
  12. 21 May, 2020 1 commit
  13. 30 Apr, 2020 1 commit
  14. 27 Feb, 2020 1 commit
  15. 26 Feb, 2020 1 commit
  16. 22 Sep, 2019 1 commit
  17. 24 Aug, 2019 1 commit
    • Guolin Ke's avatar
      normalize the lambdas in lambdamart objective (#2331) · 0dfda826
      Guolin Ke authored
      * norm the lambda scores
      
      * change default to false
      
      * update doc
      
      * typo
      
      * Update Parameters.rst
      
      * Update config.h
      
      * Update test_sklearn.py
      
      * Update test_sklearn.py
      
      * Update test_sklearn.py
      
      * Update test_sklearn.py
      
      * Update test_sklearn.py
      
      * Update rank_objective.hpp
      
      * Update Parameters.rst
      
      * Update config.h
      
      * Update test_sklearn.py
      
      * Update test_sklearn.py
      
      * Update test_sklearn.py
      0dfda826
  18. 17 Aug, 2019 1 commit
    • sbruch's avatar
      sigmoid_ in grad and hess for rank objective (#2322) · aee92f63
      sbruch authored
      * Lambdas and hessians need to factor sigmoid_ into the computation. Additionally, the sigmoid function has an arbitrary factor of 2 in the exponent; it is not just non-standard but the gradients are not computed correctly anyway.
      
      * Update unit test
      
      * Also remove a heuristic that normalizes the gradient by the difference in scores.
      
      * Also fix unit test after removing the heuristic
      aee92f63
  19. 13 Apr, 2019 1 commit
  20. 11 Apr, 2019 1 commit
  21. 06 Feb, 2019 1 commit
  22. 02 Feb, 2019 1 commit
  23. 10 Oct, 2018 1 commit
  24. 20 May, 2018 1 commit
    • Guolin Ke's avatar
      Refine config object (#1381) · dc699574
      Guolin Ke authored
      * [WIP] refine config
      
      * [wip] ready for the auto code generate
      
      * auto generate config codes
      
      * use with to open file
      
      * fix bug
      
      * fix pylint
      
      * fix bug
      
      * fix pylint
      
      * fix bugs.
      
      * tmp for failed test.
      
      * fix tests.
      
      * added nthreads alias
      
      * added new aliases from new config.h
      
      * fixed duplicated alias
      
      * refactored parameter_generator.py
      
      * added new aliases from config.h and removed remaining old names
      
      * fix bugs & some miss alias
      
      * added aliases
      
      * add more descriptions.
      
      * add comment.
      dc699574
  25. 17 Dec, 2017 1 commit
  26. 21 Jul, 2017 1 commit
  27. 30 May, 2017 1 commit
    • Guolin Ke's avatar
      Support early stopping of prediction in CLI (#565) · 6d4c7b03
      Guolin Ke authored
      * fix multi-threading.
      
      * fix name style.
      
      * support in CLI version.
      
      * remove warnings.
      
      * Not default parameters.
      
      * fix if...else... .
      
      * fix bug.
      
      * fix warning.
      
      * refine c_api.
      
      * fix R-package.
      
      * fix R's warning.
      
      * fix tests.
      
      * fix pep8 .
      6d4c7b03
  28. 17 Apr, 2017 1 commit
  29. 16 Apr, 2017 1 commit
    • Guolin Ke's avatar
      faster histogram sum up (#418) · 98c7c2a3
      Guolin Ke authored
      * some refactor.
      
      * two stage sum up to reduce sum up error.
      
      * add more two-stage sumup.
      
      * some refactor.
      
      * add alignment.
      
      * change name to aligned_allocator.
      
      * remove some useless sumup.
      
      * fix a warning.
      
      * add -march=native .
      
      * remove the padding of gradients.
      
      * no alignment.
      
      * fix test.
      
      * change KNumSumupGroup to 32768.
      
      * change gcc flags.
      98c7c2a3
  30. 06 Apr, 2017 1 commit
  31. 01 Mar, 2017 2 commits
    • Guolin Ke's avatar
      Squashed commit of the following: · 9ea487b1
      Guolin Ke authored
      commit 70f88c54f6820d4c3824d97b34042c617fb21635
      Author: Guolin Ke <i@yumumu.me>
      Date:   Wed Feb 22 19:40:10 2017 +0800
      
          futher reduce guided
      
      commit f54620b807c68f5ac6cef521d787ca2750efe464
      Author: Guolin Ke <i@yumumu.me>
      Date:   Wed Feb 22 19:32:36 2017 +0800
      
          avoid to use guided
      9ea487b1
    • Guolin Ke's avatar
      update to v2. · 4f77bd28
      Guolin Ke authored
      4f77bd28
  32. 10 Jan, 2017 1 commit
  33. 18 Nov, 2016 1 commit
    • Guolin Ke's avatar
      Refactor for RAII (#86) · 5442ed78
      Guolin Ke authored
      * RAII for utils, application and c_api(partical)
      
      * raii for class in include folder
      
      * raii for application and boosting
      
      * raii for dataset and dataset loader
      
      * raii for dense bin and parser
      
      * RAII refactor for almost all classes
      
      * RAII for c_api
      
      * clean code
      
      * refine repeated code
      
      * Decouple the "sigmoid" between objective and boosting.
      
      * change std::vector<bool> back to std::vector<char> due to concurrence problem
      
      * slight reduce some memory cost
      5442ed78
  34. 03 Nov, 2016 1 commit
  35. 02 Nov, 2016 1 commit
  36. 01 Nov, 2016 2 commits
  37. 31 Oct, 2016 1 commit
  38. 28 Oct, 2016 1 commit