1. 13 Oct, 2025 2 commits
  2. 23 Sep, 2025 1 commit
  3. 22 Sep, 2025 1 commit
    • Jeff Daily's avatar
      [ROCm] re-add support for ROCm builds · 61ec4f1a
      Jeff Daily authored
      Previously #6086 added ROCm support but after numerous rebases it lost
      critical changes. This PR restores the ROCm build.
      
      There are many source file changes but most were automated using the
      following:
      
      ```bash
      for f in `grep -rl '#ifdef USE_CUDA'`
      do
          sed -i 's@#ifdef USE_CUDA@#if defined(USE_CUDA) || defined(USE_ROCM)@g' $f
      done
      
      for f in `grep -rl '#endif  // USE_CUDA'`
      do
          sed -i 's@#endif  // USE_CUDA@#endif  // USE_CUDA || USE_ROCM@g' $f
      done
      ```
      61ec4f1a
  4. 16 Jun, 2023 1 commit
  5. 16 Mar, 2023 1 commit
  6. 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
  7. 29 Dec, 2022 1 commit
  8. 27 Dec, 2022 1 commit
    • shiyu1994's avatar
      [CUDA] Add L2 metric for new CUDA version (#5633) · 6482b47e
      shiyu1994 authored
      * add rmse metric for new cuda version
      
      * add Init for CUDAMetricInterface
      
      * fix lint errors
      
      * fix rmse and add l2 metric for new cuda version
      
      * use CUDAL2Metric
      
      * explicit template instantiation
      
      * write result only with the first thread
      
      * pre allocate buffer for output converting
      
      * fix l2 regression with cuda metric evaluation
      
      * weighting loss in cuda metric evaluation
      
      * mark CUDATree::AsConstantTree as override
      6482b47e
  9. 02 Dec, 2022 1 commit
  10. 29 Jul, 2022 1 commit
  11. 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
  12. 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
  13. 25 Jul, 2019 1 commit
    • Guolin Ke's avatar
      fix metric alias (#2273) · 5d3a3ea4
      Guolin Ke authored
      * fix metric alias
      
      * fix format
      
      * updated docs
      
      * simplify alias in objective function
      
      * move the alias parsing to config.cpp
      
      * updated docs
      
      * fix multi-class aliases
      
      * updated regression aliases in docs
      
      * fixed trailing space
      5d3a3ea4
  14. 13 Apr, 2019 1 commit
  15. 11 Apr, 2019 1 commit
  16. 27 Aug, 2018 1 commit
  17. 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
  18. 22 Jan, 2018 1 commit
    • Nikita Titov's avatar
      [docs] aliases (#1209) · f8cf0d2f
      Nikita Titov authored
      * added new aliases for regression_l2 to docs
      
      * fixed new line
      
      * fixed tweedie_variance_power description
      
      * moved gamma and tweedie metrics to other regression metrics
      
      * added new aliases for l2 to docs
      
      * added new alias for l1 to docs
      
      * added new alias for log loss to docs
      
      * added new aliases for multiclass to docs
      
      * added description for default value of metric param
      
      * fixed link to poisson regression and capitalized regressions' names
      
      * removed unused earlier alias type for gamma deviance
      
      * added aliases for multiclass and multiclass_ova
      
      * updated Quick-Start.rst according to Parameters.rst
      f8cf0d2f
  19. 21 Jan, 2018 2 commits
  20. 18 Jan, 2018 1 commit
  21. 16 Jan, 2018 1 commit
  22. 16 Nov, 2017 1 commit
    • Nikita Titov's avatar
      [python] [docs] fixed objective in sklearn wrapper; added missed objectives &... · e5eb8560
      Nikita Titov authored
      [python] [docs] fixed objective in sklearn wrapper; added missed objectives & metrics to docs (#1059)
      
      * added missed aliases for task parameter
      
      * fixed indents
      
      * added missed aliases and options for tree_learner parameter
      
      * added missed objectives to docs
      
      * fixed typo in Poisson parameter and its description
      
      * fixed model_format parameter description
      
      * added missed metrics to docs
      
      * fixed sklearn objective
      
      * fixed set_params
      
      * fixed docs
      
      * added missed options to objectives
      
      * added note about ignore_column (#1061)
      e5eb8560
  23. 11 Nov, 2017 1 commit
  24. 17 Jul, 2017 1 commit
    • olofer's avatar
      cross entropy metrics and objective (#685) · f8597c93
      olofer authored
      * Created objectives and metrics xentropy and xentropy1
      
      * Some coment and code cleanup.
      
      * Added Kullback-Leibler version of metric. Changed some warning messages.
      
      * Fixed sign error in KL-divergence calc.
      
      * Removed __PRETTY_FUNCTION__.
      
      * Fixed better name for alternative xentropy parameterization.
      Documented details on the objectives / metrics in code comments.
      
      * Common code for label interval checks. Cleanups.
      
      * Use common utility for various weight property checks.
      f8597c93
  25. 13 Apr, 2017 1 commit
    • Laurae's avatar
      Switch RMSE to MSE (true L2 loss) (#408) · ba99bcdd
      Laurae authored
      * RMSE (L2) -> MSE (true L2)
      
      * Remove sqrt unneeded reference
      
      * Square L2 test (RMSE to MSE)
      
      * No square root on test
      
      * Attempt to add RMSE
      ba99bcdd
  26. 06 Apr, 2017 1 commit
  27. 29 Mar, 2017 1 commit
  28. 30 Jan, 2017 1 commit
  29. 20 Jan, 2017 1 commit
  30. 10 Jan, 2017 1 commit
  31. 09 Jan, 2017 2 commits
  32. 01 Nov, 2016 2 commits
  33. 05 Aug, 2016 1 commit