- 13 Oct, 2025 2 commits
-
-
Nick Miller authored
* Add R-squared metric, documentation, and tests * Fix static ci checks: correct Sklearn r2_score URL link, fix cpp linting errors * Replace non-static data members from pragma reduction with variables * Update src/metric/metric.cpp * Add additional asserts, remove needless y.copy() * Add back y.copy() --------- Co-authored-by:
James Lamb <jaylamb20@gmail.com> Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
Nikita Titov authored
* dev * dev * dev * Update static_analysis.yml * Update .pre-commit-config.yaml --------- Co-authored-by:James Lamb <jaylamb20@gmail.com>
-
- 23 Sep, 2025 1 commit
-
-
Jeff Daily authored
Instead of replacing all #ifdef USE_CUDA, just add USE_CUDA define to ROCm build.
-
- 22 Sep, 2025 1 commit
-
-
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 ```
-
- 16 Jun, 2023 1 commit
-
-
Xuweijia-buaa authored
* add l1 metric for cuda_exp * add huber/fair metric for cuda_exp * add poisson/mape/gamma/gamma_deviance/tweedie metrics for cuda_exp * fix cpplint error * fix return error
-
- 16 Mar, 2023 1 commit
-
-
shiyu1994 authored
Co-authored-by:James Lamb <jaylamb20@gmail.com>
-
- 01 Feb, 2023 1 commit
-
-
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:
shiyu1994 <shiyu_k1994@qq.com> * Apply suggestions from code review * completely remove cuda_exp, update docs --------- Co-authored-by:
shiyu1994 <shiyu_k1994@qq.com>
-
- 29 Dec, 2022 1 commit
-
-
shiyu1994 authored
-
- 27 Dec, 2022 1 commit
-
-
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
-
- 02 Dec, 2022 1 commit
-
-
shiyu1994 authored
* add rmse metric for new cuda version * add Init for CUDAMetricInterface * fix lint errors
-
- 29 Jul, 2022 1 commit
-
-
shiyu1994 authored
* initial work for boosting and evaluation with CUDA * fix compatibility with CPU code * fix creating objective without USE_CUDA_EXP * fix static analysis errors * fix static analysis errors
-
- 23 Sep, 2020 1 commit
-
-
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
-
- 12 Dec, 2019 1 commit
-
-
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.
-
- 25 Jul, 2019 1 commit
-
-
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
-
- 13 Apr, 2019 1 commit
-
-
Nikita Titov authored
-
- 11 Apr, 2019 1 commit
-
-
Nikita Titov authored
* added all necessary includes - fixed build/include_what_you_use error * fixed the order of includes (build/include_order)
-
- 27 Aug, 2018 1 commit
-
-
Nikita Titov authored
* bring consistency and clearness into early_stopping_rounds desc, metric desc and implementation * hotfix * hotfix * used NDCG as default metric for lambdarank task * fixed missed methods at ReadTheDocs and changed default eval_metric * leaved only unique metrics * fixed comment
-
- 20 May, 2018 1 commit
-
-
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.
-
- 22 Jan, 2018 1 commit
-
-
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
-
- 21 Jan, 2018 2 commits
- 18 Jan, 2018 1 commit
-
-
Nikita Titov authored
* added cross-entropy into Features * added aliases
-
- 16 Jan, 2018 1 commit
-
-
Guolin Ke authored
-
- 16 Nov, 2017 1 commit
-
-
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)
-
- 11 Nov, 2017 1 commit
-
-
Guolin Ke authored
* add quantile metric. * first draft. * add "sqrt" transform in regression objective function. * fix a bug. * update parameter doc * fix doc
-
- 17 Jul, 2017 1 commit
-
-
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.
-
- 13 Apr, 2017 1 commit
-
-
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
-
- 06 Apr, 2017 1 commit
-
-
Guolin Ke authored
* many refactors. * remove multi_loglossova. * fix tests. * avoid using lambda function. * fix some format. * reduce branching.
-
- 29 Mar, 2017 1 commit
-
-
Guolin Ke authored
-
- 30 Jan, 2017 1 commit
-
-
Tsukasa OMOTO authored
* Support Poisson regression Close #233 * update docs
-
- 20 Jan, 2017 1 commit
-
-
Guolin Ke authored
-
- 10 Jan, 2017 1 commit
-
-
Tsukasa OMOTO authored
-
- 09 Jan, 2017 2 commits
-
-
Tsukasa OMOTO authored
* Add Huber loss https://en.wikipedia.org/wiki/Huber_loss * update * update docs/Parameters.md * update
- 01 Nov, 2016 2 commits
- 05 Aug, 2016 1 commit
-
-
Guolin Ke authored
-