1. 20 Apr, 2024 1 commit
  2. 19 Apr, 2024 1 commit
  3. 19 Mar, 2024 1 commit
  4. 18 Mar, 2024 1 commit
  5. 29 Feb, 2024 1 commit
  6. 23 Feb, 2024 1 commit
    • shiyu1994's avatar
      [c++][fix] Support Quantized Training with Categorical Features on CPU (#6301) · 776c5c3c
      shiyu1994 authored
      * support quantized training with categorical features on cpu
      
      * remove white spaces
      
      * add tests for quantized training with categorical features
      
      * skip tests for cuda version
      
      * fix cases when only 1 data block in row-wise quantized histogram construction with 8 inner bits
      
      * remove useless capture
      
      * fix compilation warnings
      
      revert useless changes
      
      * revert useless change
      
      * separate functions in feature histogram into cpp file
      
      * add feature_histogram.o in Makevars
      776c5c3c
  7. 22 Feb, 2024 1 commit
  8. 20 Feb, 2024 1 commit
  9. 17 Jan, 2024 1 commit
  10. 14 Dec, 2023 1 commit
  11. 07 Dec, 2023 1 commit
  12. 04 Dec, 2023 1 commit
  13. 22 Nov, 2023 2 commits
  14. 13 Nov, 2023 1 commit
  15. 07 Nov, 2023 1 commit
  16. 01 Nov, 2023 1 commit
  17. 10 Oct, 2023 1 commit
  18. 09 Oct, 2023 1 commit
  19. 08 Oct, 2023 1 commit
    • shiyu1994's avatar
      [CUDA] CUDA Quantized Training (fixes #5606) (#5933) · f901f471
      shiyu1994 authored
      * add quantized training (first stage)
      
      * add histogram construction functions for integer gradients
      
      * add stochastic rounding
      
      * update docs
      
      * fix compilation errors by adding template instantiations
      
      * update files for compilation
      
      * fix compilation of gpu version
      
      * initialize gradient discretizer before share states
      
      * add a test case for quantized training
      
      * add quantized training for data distributed training
      
      * Delete origin.pred
      
      * Delete ifelse.pred
      
      * Delete LightGBM_model.txt
      
      * remove useless changes
      
      * fix lint error
      
      * remove debug loggings
      
      * fix mismatch of vector and allocator types
      
      * remove changes in main.cpp
      
      * fix bugs with uninitialized gradient discretizer
      
      * initialize ordered gradients in gradient discretizer
      
      * disable quantized training with gpu and cuda
      
      fix msvc compilation errors and warnings
      
      * fix bug in data parallel tree learner
      
      * make quantized training test deterministic
      
      * make quantized training in test case more accurate
      
      * refactor test_quantized_training
      
      * fix leaf splits initialization with quantized training
      
      * check distributed quantized training result
      
      * add cuda gradient discretizer
      
      * add quantized training for CUDA version in tree learner
      
      * remove cuda computability 6.1 and 6.2
      
      * fix parts of gpu quantized training errors and warnings
      
      * fix build-python.sh to install locally built version
      
      * fix memory access bugs
      
      * fix lint errors
      
      * mark cuda quantized training on cuda with categorical features as unsupported
      
      * rename cuda_utils.h to cuda_utils.hu
      
      * enable quantized training with cuda
      
      * fix cuda quantized training with sparse row data
      
      * allow using global memory buffer in histogram construction with cuda quantized training
      
      * recover build-python.sh
      
      enlarge allowed package size to 100M
      f901f471
  20. 07 Oct, 2023 1 commit
  21. 13 Sep, 2023 1 commit
  22. 12 Sep, 2023 1 commit
  23. 05 Sep, 2023 1 commit
  24. 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
  25. 03 Sep, 2023 1 commit
  26. 15 Aug, 2023 1 commit
  27. 13 Aug, 2023 1 commit
  28. 12 Jul, 2023 1 commit
  29. 30 Jun, 2023 1 commit
  30. 16 Jun, 2023 1 commit
  31. 05 May, 2023 1 commit
    • shiyu1994's avatar
      Add quantized training (CPU part) (#5800) · 17ecfab3
      shiyu1994 authored
      * add quantized training (first stage)
      
      * add histogram construction functions for integer gradients
      
      * add stochastic rounding
      
      * update docs
      
      * fix compilation errors by adding template instantiations
      
      * update files for compilation
      
      * fix compilation of gpu version
      
      * initialize gradient discretizer before share states
      
      * add a test case for quantized training
      
      * add quantized training for data distributed training
      
      * Delete origin.pred
      
      * Delete ifelse.pred
      
      * Delete LightGBM_model.txt
      
      * remove useless changes
      
      * fix lint error
      
      * remove debug loggings
      
      * fix mismatch of vector and allocator types
      
      * remove changes in main.cpp
      
      * fix bugs with uninitialized gradient discretizer
      
      * initialize ordered gradients in gradient discretizer
      
      * disable quantized training with gpu and cuda
      
      fix msvc compilation errors and warnings
      
      * fix bug in data parallel tree learner
      
      * make quantized training test deterministic
      
      * make quantized training in test case more accurate
      
      * refactor test_quantized_training
      
      * fix leaf splits initialization with quantized training
      
      * check distributed quantized training result
      17ecfab3
  32. 29 Mar, 2023 1 commit
  33. 21 Mar, 2023 1 commit
  34. 16 Mar, 2023 1 commit
  35. 15 Mar, 2023 1 commit
  36. 14 Feb, 2023 1 commit
  37. 11 Feb, 2023 1 commit
  38. 01 Feb, 2023 1 commit
    • James Lamb's avatar
      [CUDA] consolidate CUDA versions (#5677) · 4f47547c
      James Lamb authored
      
      
      * [ci] speed up if-else, swig, and lint conda setup
      
      * add 'source activate'
      
      * python constraint
      
      * start removing cuda v1
      
      * comment out CI
      
      * remove more references
      
      * revert some unnecessaary changes
      
      * revert a few more mistakes
      
      * revert another change that ignored params
      
      * sigh
      
      * remove CUDATreeLearner
      
      * fix tests, docs
      
      * fix quoting in setup.py
      
      * restore all CI
      
      * Apply suggestions from code review
      Co-authored-by: default avatarshiyu1994 <shiyu_k1994@qq.com>
      
      * Apply suggestions from code review
      
      * completely remove cuda_exp, update docs
      
      ---------
      Co-authored-by: default avatarshiyu1994 <shiyu_k1994@qq.com>
      4f47547c
  39. 05 Jan, 2023 1 commit