"src/git@developer.sourcefind.cn:tianlh/lightgbm-dcu.git" did not exist on "81e2485ac9f4a42581d1fbc392c20961360fae3a"
Commit 548cec82 authored by Jeff Daily's avatar Jeff Daily
Browse files

Merge branch 'master' into rocm3

parents 2f7bd8ef 5dbfcdc4
...@@ -171,4 +171,4 @@ Known issues: ...@@ -171,4 +171,4 @@ Known issues:
.. _GPUCapsViewer: https://www.ozone3d.net/gpu_caps_viewer/ .. _GPUCapsViewer: https://www.ozone3d.net/gpu_caps_viewer/
.. _PoCL: http://portablecl.org/ .. _PoCL: https://portablecl.org/
...@@ -183,7 +183,7 @@ Huan Zhang, Si Si and Cho-Jui Hsieh. "`GPU Acceleration for Large-scale Tree Boo ...@@ -183,7 +183,7 @@ Huan Zhang, Si Si and Cho-Jui Hsieh. "`GPU Acceleration for Large-scale Tree Boo
.. _Microsoft Azure cloud computing platform: https://azure.microsoft.com/ .. _Microsoft Azure cloud computing platform: https://azure.microsoft.com/
.. _AMDGPU-Pro: https://www.amd.com/en/support .. _AMDGPU-Pro: https://www.amd.com/en/support.html
.. _Python-package Examples: https://github.com/microsoft/LightGBM/tree/master/examples/python-guide .. _Python-package Examples: https://github.com/microsoft/LightGBM/tree/master/examples/python-guide
......
...@@ -162,7 +162,7 @@ Core Parameters ...@@ -162,7 +162,7 @@ Core Parameters
- ranking application - ranking application
- ``lambdarank``, `lambdarank <https://proceedings.neurips.cc/paper_files/paper/2006/file/af44c4c56f385c43f2529f9b1b018f6a-Paper.pdf>`__ objective. `label_gain <#label_gain>`__ can be used to set the gain (weight) of ``int`` label and all values in ``label`` must be smaller than number of elements in ``label_gain`` - ``lambdarank``, `lambdarank <https://proceedings.neurips.cc/paper/2006/hash/af44c4c56f385c43f2529f9b1b018f6a-Abstract.html>`__ objective. `label_gain <#label_gain>`__ can be used to set the gain (weight) of ``int`` label and all values in ``label`` must be smaller than number of elements in ``label_gain``
- ``rank_xendcg``, `XE_NDCG_MART <https://arxiv.org/abs/1911.09798>`__ ranking objective function, aliases: ``xendcg``, ``xe_ndcg``, ``xe_ndcg_mart``, ``xendcg_mart`` - ``rank_xendcg``, `XE_NDCG_MART <https://arxiv.org/abs/1911.09798>`__ ranking objective function, aliases: ``xendcg``, ``xe_ndcg``, ``xe_ndcg_mart``, ``xendcg_mart``
...@@ -491,7 +491,7 @@ Learning Control Parameters ...@@ -491,7 +491,7 @@ Learning Control Parameters
- ``linear_lambda`` :raw-html:`<a id="linear_lambda" title="Permalink to this parameter" href="#linear_lambda">&#x1F517;&#xFE0E;</a>`, default = ``0.0``, type = double, constraints: ``linear_lambda >= 0.0`` - ``linear_lambda`` :raw-html:`<a id="linear_lambda" title="Permalink to this parameter" href="#linear_lambda">&#x1F517;&#xFE0E;</a>`, default = ``0.0``, type = double, constraints: ``linear_lambda >= 0.0``
- linear tree regularization, corresponds to the parameter ``lambda`` in Eq. 3 of `Gradient Boosting with Piece-Wise Linear Regression Trees <https://arxiv.org/pdf/1802.05640.pdf>`__ - linear tree regularization, corresponds to the parameter ``lambda`` in Eq. 3 of `Gradient Boosting with Piece-Wise Linear Regression Trees <https://arxiv.org/abs/1802.05640>`__
- ``min_gain_to_split`` :raw-html:`<a id="min_gain_to_split" title="Permalink to this parameter" href="#min_gain_to_split">&#x1F517;&#xFE0E;</a>`, default = ``0.0``, type = double, aliases: ``min_split_gain``, constraints: ``min_gain_to_split >= 0.0`` - ``min_gain_to_split`` :raw-html:`<a id="min_gain_to_split" title="Permalink to this parameter" href="#min_gain_to_split">&#x1F517;&#xFE0E;</a>`, default = ``0.0``, type = double, aliases: ``min_split_gain``, constraints: ``min_gain_to_split >= 0.0``
...@@ -845,7 +845,7 @@ Dataset Parameters ...@@ -845,7 +845,7 @@ Dataset Parameters
- ``enable_bundle`` :raw-html:`<a id="enable_bundle" title="Permalink to this parameter" href="#enable_bundle">&#x1F517;&#xFE0E;</a>`, default = ``true``, type = bool, aliases: ``is_enable_bundle``, ``bundle`` - ``enable_bundle`` :raw-html:`<a id="enable_bundle" title="Permalink to this parameter" href="#enable_bundle">&#x1F517;&#xFE0E;</a>`, default = ``true``, type = bool, aliases: ``is_enable_bundle``, ``bundle``
- set this to ``false`` to disable Exclusive Feature Bundling (EFB), which is described in `LightGBM: A Highly Efficient Gradient Boosting Decision Tree <https://papers.nips.cc/paper_files/paper/2017/hash/6449f44a102fde848669bdd9eb6b76fa-Abstract.html>`__ - set this to ``false`` to disable Exclusive Feature Bundling (EFB), which is described in `LightGBM: A Highly Efficient Gradient Boosting Decision Tree <https://proceedings.neurips.cc/paper/2017/hash/6449f44a102fde848669bdd9eb6b76fa-Abstract.html>`__
- **Note**: disabling this may cause the slow training speed for sparse datasets - **Note**: disabling this may cause the slow training speed for sparse datasets
...@@ -1192,7 +1192,7 @@ Objective Parameters ...@@ -1192,7 +1192,7 @@ Objective Parameters
- used only in ``lambdarank`` application - used only in ``lambdarank`` application
- controls the number of top-results to focus on during training, refer to "truncation level" in the Sec. 3 of `LambdaMART paper <https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/MSR-TR-2010-82.pdf>`__ - controls the number of top-results to focus on during training, refer to "truncation level" in the Sec. 3 of `LambdaMART paper <https://www.microsoft.com/en-us/research/publication/from-ranknet-to-lambdarank-to-lambdamart-an-overview/>`__
- this parameter is closely related to the desirable cutoff ``k`` in the metric **NDCG@k** that we aim at optimizing the ranker for. The optimal setting for this parameter is likely to be slightly higher than ``k`` (e.g., ``k + 3``) to include more pairs of documents to train on, but perhaps not too high to avoid deviating too much from the desired target metric **NDCG@k** - this parameter is closely related to the desirable cutoff ``k`` in the metric **NDCG@k** that we aim at optimizing the ranker for. The optimal setting for this parameter is likely to be slightly higher than ``k`` (e.g., ``k + 3``) to include more pairs of documents to train on, but perhaps not too high to avoid deviating too much from the desired target metric **NDCG@k**
...@@ -1261,11 +1261,13 @@ Metric Parameters ...@@ -1261,11 +1261,13 @@ Metric Parameters
- ``average_precision``, `average precision score <https://scikit-learn.org/stable/modules/generated/sklearn.metrics.average_precision_score.html>`__ - ``average_precision``, `average precision score <https://scikit-learn.org/stable/modules/generated/sklearn.metrics.average_precision_score.html>`__
- ``r2``, `R-squared <https://scikit-learn.org/stable/modules/generated/sklearn.metrics.r2_score.html>`__
- ``binary_logloss``, `log loss <https://en.wikipedia.org/wiki/Cross_entropy>`__, aliases: ``binary`` - ``binary_logloss``, `log loss <https://en.wikipedia.org/wiki/Cross_entropy>`__, aliases: ``binary``
- ``binary_error``, for one sample: ``0`` for correct classification, ``1`` for error classification - ``binary_error``, for one sample: ``0`` for correct classification, ``1`` for error classification
- ``auc_mu``, `AUC-mu <http://proceedings.mlr.press/v97/kleiman19a/kleiman19a.pdf>`__ - ``auc_mu``, `AUC-mu <https://proceedings.mlr.press/v97/kleiman19a.html>`__
- ``multi_logloss``, log loss for multi-class classification, aliases: ``multiclass``, ``softmax``, ``multiclassova``, ``multiclass_ova``, ``ova``, ``ovr`` - ``multi_logloss``, log loss for multi-class classification, aliases: ``multiclass``, ``softmax``, ``multiclassova``, ``multiclass_ova``, ``ova``, ``ovr``
......
...@@ -23,50 +23,50 @@ Machine Learning Challenge Winning Solutions ...@@ -23,50 +23,50 @@ Machine Learning Challenge Winning Solutions
| 1st | [NASA Airathon: Predict Air Quality (Particulate Track)](https://www.drivendata.org/competitions/88/competition-air-quality-pm/) | [link](https://github.com/drivendataorg/nasa-airathon/tree/main/pm25/1st%20Place) | 2022.3 | | 1st | [NASA Airathon: Predict Air Quality (Particulate Track)](https://www.drivendata.org/competitions/88/competition-air-quality-pm/) | [link](https://github.com/drivendataorg/nasa-airathon/tree/main/pm25/1st%20Place) | 2022.3 |
| 2nd | [NASA Airathon: Predict Air Quality (Particulate Track)](https://www.drivendata.org/competitions/88/competition-air-quality-pm/) | [link](https://github.com/drivendataorg/nasa-airathon/tree/main/pm25/2nd%20Place) | 2022.3 | | 2nd | [NASA Airathon: Predict Air Quality (Particulate Track)](https://www.drivendata.org/competitions/88/competition-air-quality-pm/) | [link](https://github.com/drivendataorg/nasa-airathon/tree/main/pm25/2nd%20Place) | 2022.3 |
| 1st | [M5 Forecasting - Uncertainty](https://www.kaggle.com/c/m5-forecasting-uncertainty) | [link](https://www.kaggle.com/c/m5-forecasting-uncertainty/discussion/163368) | 2020.7 | | 1st | [M5 Forecasting - Uncertainty](https://www.kaggle.com/c/m5-forecasting-uncertainty) | [link](https://www.kaggle.com/c/m5-forecasting-uncertainty/discussion/163368) | 2020.7 |
| 3rd | [M5 Forecasting - Uncertainty](https://www.kaggle.com/c/m5-forecasting-uncertainty) | [link](https://www.kaggle.com/c/m5-forecasting-uncertainty/discussion/166875) | 2020.7 | | 3rd | [M5 Forecasting - Uncertainty](https://www.kaggle.com/c/m5-forecasting-uncertainty) | [link](https://www.kaggle.com/competitions/m5-forecasting-uncertainty/writeups/ouranos-3rd-place-solution) | 2020.7 |
| 3rd | [ALASKA2 Image Steganalysis](https://www.kaggle.com/c/alaska2-image-steganalysis) | [link](https://www.kaggle.com/c/alaska2-image-steganalysis/discussion/168870) | 2020.7 | | 3rd | [ALASKA2 Image Steganalysis](https://www.kaggle.com/c/alaska2-image-steganalysis) | [link](https://www.kaggle.com/competitions/alaska2-image-steganalysis/writeups/kaizaburochubachi-3rd-place-solution) | 2020.7 |
| 1st | [M5 Forecasting - Accuracy](https://www.kaggle.com/c/m5-forecasting-accuracy) | [link](https://www.kaggle.com/c/m5-forecasting-accuracy/discussion/163684) | 2020.6 | | 1st | [M5 Forecasting - Accuracy](https://www.kaggle.com/c/m5-forecasting-accuracy) | [link](https://www.kaggle.com/competitions/m5-forecasting-accuracy/writeups/yeonjun-in-stu-1st-place-solution) | 2020.6 |
| 2nd | [COVID19 Global Forecasting (Week 5)](https://www.kaggle.com/c/covid19-global-forecasting-week-5) | [link](https://www.kaggle.com/c/covid19-global-forecasting-week-5/discussion/143893) | 2020.5 | | 2nd | [COVID19 Global Forecasting (Week 5)](https://www.kaggle.com/c/covid19-global-forecasting-week-5) | [link](https://www.kaggle.com/competitions/covid19-global-forecasting-week-5/writeups/kaz-some-ml-a-lot-of-judgement-and-luck) | 2020.5 |
| 3rd | [COVID19 Global Forecasting (Week 5)](https://www.kaggle.com/c/covid19-global-forecasting-week-5) | [link](https://www.kaggle.com/c/covid19-global-forecasting-week-5/discussion/143029) | 2020.5 | | 3rd | [COVID19 Global Forecasting (Week 5)](https://www.kaggle.com/c/covid19-global-forecasting-week-5) | [link](https://www.kaggle.com/c/covid19-global-forecasting-week-5/discussion/143029) | 2020.5 |
| 1st | [COVID19 Global Forecasting (Week 4)](https://www.kaggle.com/c/covid19-global-forecasting-week-4) | [link](https://www.kaggle.com/c/covid19-global-forecasting-week-5/discussion/154804) | 2020.5 | | 1st | [COVID19 Global Forecasting (Week 4)](https://www.kaggle.com/c/covid19-global-forecasting-week-4) | [link](https://www.kaggle.com/c/covid19-global-forecasting-week-5/discussion/154804) | 2020.5 |
| 2nd | [COVID19 Global Forecasting (Week 4)](https://www.kaggle.com/c/covid19-global-forecasting-week-4) | [link](https://www.kaggle.com/c/covid19-global-forecasting-week-5/discussion/144081) | 2020.5 | | 2nd | [COVID19 Global Forecasting (Week 4)](https://www.kaggle.com/c/covid19-global-forecasting-week-4) | [link](https://www.kaggle.com/c/covid19-global-forecasting-week-5/discussion/144081) | 2020.5 |
| 2nd | [2019 Data Science Bowl](https://www.kaggle.com/c/data-science-bowl-2019) | [link](https://www.kaggle.com/c/data-science-bowl-2019/discussion/127388) | 2020.1 | | 2nd | [2019 Data Science Bowl](https://www.kaggle.com/c/data-science-bowl-2019) | [link](https://www.kaggle.com/competitions/data-science-bowl-2019/writeups/fuson-2nd-place-solution) | 2020.1 |
| 3rd | [RSNA Intracranial Hemorrhage Detection](https://www.kaggle.com/c/rsna-intracranial-hemorrhage-detection) | [link](https://www.kaggle.com/c/rsna-intracranial-hemorrhage-detection/discussion/117223#latest-673643) | 2019.11 | | 3rd | [RSNA Intracranial Hemorrhage Detection](https://www.kaggle.com/c/rsna-intracranial-hemorrhage-detection) | [link](https://www.kaggle.com/competitions/rsna-intracranial-hemorrhage-detection/writeups/takuoko-3rd-place-solution-become-gm-updated-with-) | 2019.11 |
| 1st | [IEEE-CIS Fraud Detection](https://www.kaggle.com/c/ieee-fraud-detection) | [link](https://www.kaggle.com/c/ieee-fraud-detection/discussion/111308) | 2019.10 | | 1st | [IEEE-CIS Fraud Detection](https://www.kaggle.com/c/ieee-fraud-detection) | [link](https://www.kaggle.com/competitions/ieee-fraud-detection/writeups/fraudsquad-1st-place-solution-part-2) | 2019.10 |
| 2nd | [IEEE-CIS Fraud Detection](https://www.kaggle.com/c/ieee-fraud-detection) | [link](https://www.kaggle.com/c/ieee-fraud-detection/discussion/111321) | 2019.10 | | 2nd | [IEEE-CIS Fraud Detection](https://www.kaggle.com/c/ieee-fraud-detection) | [link](https://www.kaggle.com/competitions/ieee-fraud-detection/writeups/2-uncles-and-3-puppies-2nd-solution-cpmp-view) | 2019.10 |
| 2nd | [Kuzushiji Recognition](https://www.kaggle.com/c/kuzushiji-recognition) | [link](https://www.kaggle.com/c/kuzushiji-recognition/discussion/112712) | 2019.10 | | 2nd | [Kuzushiji Recognition](https://www.kaggle.com/c/kuzushiji-recognition) | [link](https://www.kaggle.com/c/kuzushiji-recognition/discussion/112712) | 2019.10 |
| 1st | [Los Alamos National Laboratory Earthquake Prediction](https://www.kaggle.com/c/LANL-Earthquake-Prediction) | [link](https://www.kaggle.com/c/LANL-Earthquake-Prediction/discussion/94390#latest-632778) | 2019.6 | | 1st | [Los Alamos National Laboratory Earthquake Prediction](https://www.kaggle.com/c/LANL-Earthquake-Prediction) | [link](https://www.kaggle.com/competitions/LANL-Earthquake-Prediction/writeups/the-zoo-1st-place-solution) | 2019.6 |
| 3rd | [Los Alamos National Laboratory Earthquake Prediction](https://www.kaggle.com/c/LANL-Earthquake-Prediction) | [link](https://www.kaggle.com/c/LANL-Earthquake-Prediction/discussion/94459) | 2019.6 | | 3rd | [Los Alamos National Laboratory Earthquake Prediction](https://www.kaggle.com/c/LANL-Earthquake-Prediction) | [link](https://www.kaggle.com/competitions/LANL-Earthquake-Prediction/writeups/character-ranking-3rd-place-memo) | 2019.6 |
| 1st | [Santander Customer Transaction Prediction](https://www.kaggle.com/c/santander-customer-transaction-prediction) | [link](https://www.kaggle.com/c/santander-customer-transaction-prediction/discussion/89003#latest-678843) | 2019.4 | | 1st | [Santander Customer Transaction Prediction](https://www.kaggle.com/c/santander-customer-transaction-prediction) | [link](https://www.kaggle.com/competitions/santander-customer-transaction-prediction/writeups/wizardry-1-solution) | 2019.4 |
| 2nd | [Santander Customer Transaction Prediction](https://www.kaggle.com/c/santander-customer-transaction-prediction) | [link](https://www.kaggle.com/c/santander-customer-transaction-prediction/discussion/88939) | 2019.4 | | 2nd | [Santander Customer Transaction Prediction](https://www.kaggle.com/c/santander-customer-transaction-prediction) | [link](https://www.kaggle.com/competitions/santander-customer-transaction-prediction/writeups/2nd-place-solution) | 2019.4 |
| 3rd | [Santander Customer Transaction Prediction](https://www.kaggle.com/c/santander-customer-transaction-prediction) | [link](https://www.kaggle.com/c/santander-customer-transaction-prediction/discussion/88902) | 2019.4 | | 3rd | [Santander Customer Transaction Prediction](https://www.kaggle.com/c/santander-customer-transaction-prediction) | [link](https://www.kaggle.com/competitions/santander-customer-transaction-prediction/writeups/rock-physics-science-3rd-place-solution-summary-an) | 2019.4 |
| 2nd | [PetFinder.my Adoption Prediction](https://www.kaggle.com/c/petfinder-adoption-prediction) | [link](https://www.kaggle.com/c/petfinder-adoption-prediction/discussion/88773#latest-512090) | 2019.4 | | 1st | [PetFinder.my Adoption Prediction](https://www.kaggle.com/c/petfinder-adoption-prediction) | [link](https://www.kaggle.com/competitions/petfinder-adoption-prediction/writeups/kaggler-ja-wodori-1st-place-solution-summary) | 2019.4 |
| 1st | [Google Analytics Customer Revenue Prediction](https://www.kaggle.com/c/ga-customer-revenue-prediction) | [link](https://www.kaggle.com/c/ga-customer-revenue-prediction/discussion/82614#latest-482575) | 2019.3 | | 1st | [Google Analytics Customer Revenue Prediction](https://www.kaggle.com/c/ga-customer-revenue-prediction) | [link](https://www.kaggle.com/competitions/ga-customer-revenue-prediction/writeups/ml-keksika-winning-solution-link-to-kernel-inside) | 2019.3 |
| 1st | [VSB Power Line Fault Detection](https://www.kaggle.com/c/vsb-power-line-fault-detection) | [link](https://www.kaggle.com/c/vsb-power-line-fault-detection/discussion/87038#latest-521846) | 2019.3 | | 1st | [VSB Power Line Fault Detection](https://www.kaggle.com/c/vsb-power-line-fault-detection) | [link](https://www.kaggle.com/competitions/vsb-power-line-fault-detection/writeups/mark4h-overview-of-1st-place-solution) | 2019.3 |
| 5th | [Elo Merchant Category Recommendation](https://www.kaggle.com/c/elo-merchant-category-recommendation) | [link](https://www.kaggle.com/c/elo-merchant-category-recommendation/discussion/82314#latest-525737) | 2019.2 | | 5th | [Elo Merchant Category Recommendation](https://www.kaggle.com/c/elo-merchant-category-recommendation) | [link](https://www.kaggle.com/competitions/elo-merchant-category-recommendation/writeups/evgeny-patekha-5-solution) | 2019.2 |
| 2nd | [PLAsTiCC Astronomical Classification](https://www.kaggle.com/c/PLAsTiCC-2018) | [link](https://www.kaggle.com/c/PLAsTiCC-2018/discussion/75059#latest-462457) | 2018.12 | | 2nd | [PLAsTiCC Astronomical Classification](https://www.kaggle.com/c/PLAsTiCC-2018) | [link](https://www.kaggle.com/competitions/PLAsTiCC-2018/writeups/mike-silogram-2nd-place-solution-notes) | 2018.12 |
| 1st | [Google Research Doodle Recognition Challenge](https://www.kaggle.com/c/quickdraw-doodle-recognition) | [link](https://www.kaggle.com/c/quickdraw-doodle-recognition/discussion/73738#latest-550028) | 2018.12 | | 1st | [Google Research Doodle Recognition Challenge](https://www.kaggle.com/c/quickdraw-doodle-recognition) | [link](https://www.kaggle.com/competitions/quickdraw-doodle-recognition/writeups/ods-ai-pablos-1st-place-solution) | 2018.12 |
| 1st | [Home Credit Group Home Credit Default Risk](https://www.kaggle.com/c/home-credit-default-risk) | [link](https://www.kaggle.com/c/home-credit-default-risk/discussion/64480#latest-514514) | 2018.8 | | 1st | [Home Credit Group Home Credit Default Risk](https://www.kaggle.com/c/home-credit-default-risk) | [link](https://www.kaggle.com/competitions/home-credit-default-risk/writeups/home-aloan-1st-place-solution) | 2018.8 |
| 2nd | [Home Credit Group Home Credit Default Risk](https://www.kaggle.com/c/home-credit-default-risk) | [link](https://www.kaggle.com/c/home-credit-default-risk/discussion/64722#latest-394948) | 2018.8 | | 2nd | [Home Credit Group Home Credit Default Risk](https://www.kaggle.com/c/home-credit-default-risk) | [link](https://www.kaggle.com/competitions/home-credit-default-risk/writeups/ikiri-ds-2nd-place-solution-team-ikiri-ds) | 2018.8 |
| 3rd | [Home Credit Group Home Credit Default Risk](https://www.kaggle.com/c/home-credit-default-risk) | [link](https://www.kaggle.com/c/home-credit-default-risk/discussion/64596#latest-420333) | 2018.8 | | 3rd | [Home Credit Group Home Credit Default Risk](https://www.kaggle.com/c/home-credit-default-risk) | [link](https://www.kaggle.com/competitions/home-credit-default-risk/writeups/alijs-evgeny-3rd-place-solution) | 2018.8 |
| 2nd | [Google AI Open Images - Visual Relationship Track](https://www.kaggle.com/c/google-ai-open-images-visual-relationship-track) | [link](https://www.kaggle.com/c/google-ai-open-images-visual-relationship-track/discussion/64651) | 2018.8 | | 2nd | [Google AI Open Images - Visual Relationship Track](https://www.kaggle.com/c/google-ai-open-images-visual-relationship-track) | [link](https://www.kaggle.com/competitions/google-ai-open-images-visual-relationship-track/writeups/tito-brief-summary-of-2nd-place) | 2018.8 |
| 2nd | [Santander Value Prediction Challenge](https://www.kaggle.com/c/santander-value-prediction-challenge) | [link](https://www.kaggle.com/c/santander-value-prediction-challenge/discussion/63848#latest-374826) | 2018.8 | | 2nd | [Santander Value Prediction Challenge](https://www.kaggle.com/c/santander-value-prediction-challenge) | [link](https://www.kaggle.com/competitions/santander-value-prediction-challenge/writeups/adilism-2nd-place-solution-overview) | 2018.8 |
| 1st | [Avito Demand Prediction Challenge](https://www.kaggle.com/c/avito-demand-prediction) | [link](https://www.kaggle.com/c/avito-demand-prediction/discussion/59880#latest-450523) | 2018.6 | | 1st | [Avito Demand Prediction Challenge](https://www.kaggle.com/c/avito-demand-prediction) | [link](https://www.kaggle.com/competitions/avito-demand-prediction/writeups/dance-with-ensemble-dance-with-ensemble-sharing-th) | 2018.6 |
| 2nd | [Avito Demand Prediction Challenge](https://www.kaggle.com/c/avito-demand-prediction) | [link](https://www.kaggle.com/c/avito-demand-prediction/discussion/59871#latest-470807) | 2018.6 | | 2nd | [Avito Demand Prediction Challenge](https://www.kaggle.com/c/avito-demand-prediction) | [link](https://www.kaggle.com/competitions/avito-demand-prediction/writeups/song-and-dance-ensemble-second-place-solution) | 2018.6 |
| 3rd | [Avito Demand Prediction Challenge](https://www.kaggle.com/c/avito-demand-prediction) | [link](https://www.kaggle.com/c/avito-demand-prediction/discussion/59885#latest-364403) | 2018.6 | | 3rd | [Avito Demand Prediction Challenge](https://www.kaggle.com/c/avito-demand-prediction) | [link](https://www.kaggle.com/competitions/avito-demand-prediction/writeups/superanova-3-place-solution) | 2018.6 |
| 1st | [TalkingData AdTracking Fraud Detection Challenge](https://www.kaggle.com/c/talkingdata-adtracking-fraud-detection) | [link](https://www.kaggle.com/c/talkingdata-adtracking-fraud-detection/discussion/56475)| 2018.5 | | 1st | [TalkingData AdTracking Fraud Detection Challenge](https://www.kaggle.com/c/talkingdata-adtracking-fraud-detection) | [link](https://www.kaggle.com/competitions/talkingdata-adtracking-fraud-detection/writeups/flowlight-komaki-shuffle-1st-place-solution)| 2018.5 |
| 1st | [DonorsChoose.org Application Screening](https://www.kaggle.com/c/donorschoose-application-screening)| [link](https://www.kaggle.com/shadowwarrior/1st-place-solution/notebook) | 2018.4 | | 1st | [DonorsChoose.org Application Screening](https://www.kaggle.com/c/donorschoose-application-screening)| [link](https://www.kaggle.com/shadowwarrior/1st-place-solution/notebook) | 2018.4 |
| 1st | [Toxic Comment Classification Challenge](https://www.kaggle.com/c/jigsaw-toxic-comment-classification-challenge)| [link](https://www.kaggle.com/c/jigsaw-toxic-comment-classification-challenge/discussion/52557) | 2018.3 | | 1st | [Toxic Comment Classification Challenge](https://www.kaggle.com/c/jigsaw-toxic-comment-classification-challenge)| [link](https://www.kaggle.com/competitions/jigsaw-toxic-comment-classification-challenge/writeups/toxic-crusaders-1st-place-solution-overview) | 2018.3 |
| 1st | [Mercari Price Suggestion Challenge](https://www.kaggle.com/c/mercari-price-suggestion-challenge) | [link](https://www.kaggle.com/c/mercari-price-suggestion-challenge/discussion/50256) | 2018.2 | | 1st | [Mercari Price Suggestion Challenge](https://www.kaggle.com/c/mercari-price-suggestion-challenge) | [link](https://www.kaggle.com/competitions/mercari-price-suggestion-challenge/writeups/pawe-and-konstantin-1st-place-solution) | 2018.2 |
| 1st | [IEEE's Signal Processing Society, Camera Model Identification](https://www.kaggle.com/c/sp-society-camera-model-identification)| [link](https://www.kaggle.com/c/sp-society-camera-model-identification/discussion/49367) | 2018.2 | | 1st | [IEEE's Signal Processing Society, Camera Model Identification](https://www.kaggle.com/c/sp-society-camera-model-identification)| [link](https://www.kaggle.com/competitions/sp-society-camera-model-identification/writeups/ods-ai-stamp-1st-place-solution) | 2018.2 |
| 1st | [Recruit Restaurant Visitor Forecasting](https://www.kaggle.com/c/recruit-restaurant-visitor-forecasting) | [link](https://www.kaggle.com/pureheart/1st-place-lgb-model-public-0-470-private-0-502/comments) | 2018.2| | 1st | [Recruit Restaurant Visitor Forecasting](https://www.kaggle.com/c/recruit-restaurant-visitor-forecasting) | [link](https://www.kaggle.com/competitions/recruit-restaurant-visitor-forecasting/writeups/pppp-solution-public-0-471-private-0-505) | 2018.2|
| 1st | [WSDM CUP 2018 - KKBox's Music Recommendation Challenge](https://www.kaggle.com/c/kkbox-music-recommendation-challenge) | [link](https://www.kaggle.com/c/kkbox-music-recommendation-challenge/discussion/45942) | 2017.12 | | 1st | [WSDM CUP 2018 - KKBox's Music Recommendation Challenge](https://www.kaggle.com/c/kkbox-music-recommendation-challenge) | [link](https://www.kaggle.com/competitions/kkbox-music-recommendation-challenge/writeups/bing-bai-a-brief-introduction-to-the-1st-place-sol) | 2017.12 |
| 1st | [Porto Seguro’s Safe Driver Prediction](https://www.kaggle.com/c/porto-seguro-safe-driver-prediction) | [link](https://www.kaggle.com/c/porto-seguro-safe-driver-prediction/discussion/44629) |2017.11 | | 1st | [Porto Seguro’s Safe Driver Prediction](https://www.kaggle.com/c/porto-seguro-safe-driver-prediction) | [link](https://www.kaggle.com/competitions/porto-seguro-safe-driver-prediction/writeups/michael-jahrer-1st-place-with-representation-learn) |2017.11 |
| 1st | [Quora Question Pairs](https://www.kaggle.com/c/quora-question-pairs) | [link](https://www.kaggle.com/c/quora-question-pairs/discussion/34355) | 2017.6 | | 1st | [Quora Question Pairs](https://www.kaggle.com/c/quora-question-pairs) | [link](https://www.kaggle.com/competitions/quora-question-pairs/writeups/dl-guys-1st-place-solution) | 2017.6 |
| 1st | [Two Sigma Connect: Rental Listing Inquiries](https://www.kaggle.com/c/two-sigma-connect-rental-listing-inquiries) | [link](https://www.kaggle.com/c/two-sigma-connect-rental-listing-inquiries/discussion/32163) | 2017.4 | | 1st | [Two Sigma Connect: Rental Listing Inquiries](https://www.kaggle.com/c/two-sigma-connect-rental-listing-inquiries) | [link](https://www.kaggle.com/competitions/two-sigma-connect-rental-listing-inquiries/writeups/plantsgo-my-best-single-model-and-solution) | 2017.4 |
| 1st | [CIKM2017 AnalytiCup - Lazada Product Title Quality Challenge](http://cikm2017.org/CIKM_AnalytiCup_task3.html) | [link](http://cikm2017.org/download/analytiCup/session3/CIKMAnalytiCup2017_LazadaProductTitleQuality_T3.pdf) | 2017.9 | | 1st | [CIKM2017 AnalytiCup - Lazada Product Title Quality Challenge](https://cikm2017.org/CIKM_AnalytiCup_task3.html) | [link](https://arxiv.org/abs/1804.01000) | 2017.9 |
| 2nd | [Two Sigma Connect: Rental Listing Inquiries](https://www.kaggle.com/c/two-sigma-connect-rental-listing-inquiries) | [link](https://www.kaggle.com/c/two-sigma-connect-rental-listing-inquiries/discussion/32148) | 2017.4 | | 2nd | [Two Sigma Connect: Rental Listing Inquiries](https://www.kaggle.com/c/two-sigma-connect-rental-listing-inquiries) | [link](https://www.kaggle.com/competitions/two-sigma-connect-rental-listing-inquiries/writeups/faron-2nd-place-solution) | 2017.4 |
| 3rd | [Two Sigma Connect: Rental Listing Inquiries](https://www.kaggle.com/c/two-sigma-connect-rental-listing-inquiries) | [link](https://www.kaggle.com/c/two-sigma-connect-rental-listing-inquiries/discussion/32123) | 2017.4 | | 3rd | [Two Sigma Connect: Rental Listing Inquiries](https://www.kaggle.com/c/two-sigma-connect-rental-listing-inquiries) | [link](https://www.kaggle.com/competitions/two-sigma-connect-rental-listing-inquiries/writeups/little-boat-3rd-place-solution-summary) | 2017.4 |
| 3rd | [Dogs vs. Cats Redux: Kernels Edition](https://www.kaggle.com/c/dogs-vs-cats-redux-kernels-edition) | [link](http://blog.kaggle.com/2017/04/20/dogs-vs-cats-redux-playground-competition-3rd-place-interview-marco-lugo) | - | | 3rd | [Dogs vs. Cats Redux: Kernels Edition](https://www.kaggle.com/c/dogs-vs-cats-redux-kernels-edition) | [link](https://medium.com/kaggle-blog/dogs-vs-cats-redux-playground-competition-3rd-place-interview-marco-lugo-74893739b10f) | - |
| 3rd | [Bosch Production Line Performance](https://www.kaggle.com/c/bosch-production-line-performance) | [link](http://blog.kaggle.com/2016/12/15/bosch-production-line-performance-competition-winners-interview-3rd-place-team-data-property-avengers-darragh-marios-mathias-stanislav) | 2016.11 | | 3rd | [Bosch Production Line Performance](https://www.kaggle.com/c/bosch-production-line-performance) | [link](https://www.kaggle.com/competitions/bosch-production-line-performance/writeups/data-property-avengers-3-place-solution) | 2016.11 |
| 1st | [The 1st Di-Tech Competitions](http://research.xiaojukeji.com/competition/main.action?competitionId=DiTech2016) | - | 2016.7 | | 1st | [The 1st Di-Tech Competitions](https://web.archive.org/web/20170311212917/https://research.xiaojukeji.com/competition/main.action?competitionId=DiTech2016) | - | 2016.7 |
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
* Copyright (c) 2016 Microsoft Corporation. All rights reserved. * Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information. * Licensed under the MIT License. See LICENSE file in the project root for license information.
*/ */
#ifndef LIGHTGBM_APPLICATION_H_ #ifndef LIGHTGBM_INCLUDE_LIGHTGBM_APPLICATION_H_
#define LIGHTGBM_APPLICATION_H_ #define LIGHTGBM_INCLUDE_LIGHTGBM_APPLICATION_H_
#include <LightGBM/config.h> #include <LightGBM/config.h>
#include <LightGBM/meta.h> #include <LightGBM/meta.h>
...@@ -89,4 +89,4 @@ inline void Application::Run() { ...@@ -89,4 +89,4 @@ inline void Application::Run() {
} // namespace LightGBM } // namespace LightGBM
#endif // LightGBM_APPLICATION_H_ #endif // LIGHTGBM_INCLUDE_LIGHTGBM_APPLICATION_H_
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
* Author: Oliver Borchert * Author: Oliver Borchert
*/ */
#ifndef LIGHTGBM_ARROW_H_ #ifndef LIGHTGBM_INCLUDE_LIGHTGBM_ARROW_H_
#define LIGHTGBM_ARROW_H_ #define LIGHTGBM_INCLUDE_LIGHTGBM_ARROW_H_
#include <algorithm> #include <algorithm>
#include <cstdint> #include <cstdint>
...@@ -296,4 +296,4 @@ class ArrowTable { ...@@ -296,4 +296,4 @@ class ArrowTable {
#include "arrow.tpp" #include "arrow.tpp"
#endif /* LIGHTGBM_ARROW_H_ */ #endif // LIGHTGBM_INCLUDE_LIGHTGBM_ARROW_H_
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
* Copyright (c) 2016 Microsoft Corporation. All rights reserved. * Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information. * Licensed under the MIT License. See LICENSE file in the project root for license information.
*/ */
#ifndef LIGHTGBM_BIN_H_ #ifndef LIGHTGBM_INCLUDE_LIGHTGBM_BIN_H_
#define LIGHTGBM_BIN_H_ #define LIGHTGBM_INCLUDE_LIGHTGBM_BIN_H_
#include <LightGBM/meta.h> #include <LightGBM/meta.h>
#include <LightGBM/utils/common.h> #include <LightGBM/utils/common.h>
...@@ -651,4 +651,4 @@ inline uint32_t BinMapper::ValueToBin(double value) const { ...@@ -651,4 +651,4 @@ inline uint32_t BinMapper::ValueToBin(double value) const {
} // namespace LightGBM } // namespace LightGBM
#endif // LightGBM_BIN_H_ #endif // LIGHTGBM_INCLUDE_LIGHTGBM_BIN_H_
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
* Copyright (c) 2016 Microsoft Corporation. All rights reserved. * Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information. * Licensed under the MIT License. See LICENSE file in the project root for license information.
*/ */
#ifndef LIGHTGBM_BOOSTING_H_ #ifndef LIGHTGBM_INCLUDE_LIGHTGBM_BOOSTING_H_
#define LIGHTGBM_BOOSTING_H_ #define LIGHTGBM_INCLUDE_LIGHTGBM_BOOSTING_H_
#include <LightGBM/config.h> #include <LightGBM/config.h>
#include <LightGBM/meta.h> #include <LightGBM/meta.h>
...@@ -328,4 +328,4 @@ class GBDTBase : public Boosting { ...@@ -328,4 +328,4 @@ class GBDTBase : public Boosting {
} // namespace LightGBM } // namespace LightGBM
#endif // LightGBM_BOOSTING_H_ #endif // LIGHTGBM_INCLUDE_LIGHTGBM_BOOSTING_H_
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
* . * .
* The reason is that they are called frequently, and the type conversion on them may be time-cost. * The reason is that they are called frequently, and the type conversion on them may be time-cost.
*/ */
#ifndef LIGHTGBM_C_API_H_ #ifndef LIGHTGBM_INCLUDE_LIGHTGBM_C_API_H_
#define LIGHTGBM_C_API_H_ #define LIGHTGBM_INCLUDE_LIGHTGBM_C_API_H_
#include <LightGBM/arrow.h> #include <LightGBM/arrow.h>
#include <LightGBM/export.h> #include <LightGBM/export.h>
...@@ -1663,4 +1663,4 @@ INLINE_FUNCTION void LGBM_SetLastError(const char* msg) { ...@@ -1663,4 +1663,4 @@ INLINE_FUNCTION void LGBM_SetLastError(const char* msg) {
#endif #endif
} }
#endif /* LIGHTGBM_C_API_H_ */ #endif /* LIGHTGBM_INCLUDE_LIGHTGBM_C_API_H_ */
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
* - param is only used by the CLI (especially the "predict" and "convert_model" tasks) * - param is only used by the CLI (especially the "predict" and "convert_model" tasks)
* - param is related to LightGBM writing files (e.g. "output_model", "save_binary") * - param is related to LightGBM writing files (e.g. "output_model", "save_binary")
*/ */
#ifndef LIGHTGBM_CONFIG_H_ #ifndef LIGHTGBM_INCLUDE_LIGHTGBM_CONFIG_H_
#define LIGHTGBM_CONFIG_H_ #define LIGHTGBM_INCLUDE_LIGHTGBM_CONFIG_H_
#include <LightGBM/export.h> #include <LightGBM/export.h>
#include <LightGBM/meta.h> #include <LightGBM/meta.h>
...@@ -154,7 +154,7 @@ struct Config { ...@@ -154,7 +154,7 @@ struct Config {
// descl2 = ``cross_entropy_lambda``, alternative parameterization of cross-entropy, aliases: ``xentlambda`` // descl2 = ``cross_entropy_lambda``, alternative parameterization of cross-entropy, aliases: ``xentlambda``
// descl2 = label is anything in interval [0, 1] // descl2 = label is anything in interval [0, 1]
// desc = ranking application // desc = ranking application
// descl2 = ``lambdarank``, `lambdarank <https://proceedings.neurips.cc/paper_files/paper/2006/file/af44c4c56f385c43f2529f9b1b018f6a-Paper.pdf>`__ objective. `label_gain <#label_gain>`__ can be used to set the gain (weight) of ``int`` label and all values in ``label`` must be smaller than number of elements in ``label_gain`` // descl2 = ``lambdarank``, `lambdarank <https://proceedings.neurips.cc/paper/2006/hash/af44c4c56f385c43f2529f9b1b018f6a-Abstract.html>`__ objective. `label_gain <#label_gain>`__ can be used to set the gain (weight) of ``int`` label and all values in ``label`` must be smaller than number of elements in ``label_gain``
// descl2 = ``rank_xendcg``, `XE_NDCG_MART <https://arxiv.org/abs/1911.09798>`__ ranking objective function, aliases: ``xendcg``, ``xe_ndcg``, ``xe_ndcg_mart``, ``xendcg_mart`` // descl2 = ``rank_xendcg``, `XE_NDCG_MART <https://arxiv.org/abs/1911.09798>`__ ranking objective function, aliases: ``xendcg``, ``xe_ndcg``, ``xe_ndcg_mart``, ``xendcg_mart``
// descl2 = ``rank_xendcg`` is faster than and achieves the similar performance as ``lambdarank`` // descl2 = ``rank_xendcg`` is faster than and achieves the similar performance as ``lambdarank``
// descl2 = label should be ``int`` type, and larger number represents the higher relevance (e.g. 0:bad, 1:fair, 2:good, 3:perfect) // descl2 = label should be ``int`` type, and larger number represents the higher relevance (e.g. 0:bad, 1:fair, 2:good, 3:perfect)
...@@ -423,7 +423,7 @@ struct Config { ...@@ -423,7 +423,7 @@ struct Config {
double lambda_l2 = 0.0; double lambda_l2 = 0.0;
// check = >=0.0 // check = >=0.0
// desc = linear tree regularization, corresponds to the parameter ``lambda`` in Eq. 3 of `Gradient Boosting with Piece-Wise Linear Regression Trees <https://arxiv.org/pdf/1802.05640.pdf>`__ // desc = linear tree regularization, corresponds to the parameter ``lambda`` in Eq. 3 of `Gradient Boosting with Piece-Wise Linear Regression Trees <https://arxiv.org/abs/1802.05640>`__
double linear_lambda = 0.0; double linear_lambda = 0.0;
// alias = min_split_gain // alias = min_split_gain
...@@ -706,7 +706,7 @@ struct Config { ...@@ -706,7 +706,7 @@ struct Config {
bool is_enable_sparse = true; bool is_enable_sparse = true;
// alias = is_enable_bundle, bundle // alias = is_enable_bundle, bundle
// desc = set this to ``false`` to disable Exclusive Feature Bundling (EFB), which is described in `LightGBM: A Highly Efficient Gradient Boosting Decision Tree <https://papers.nips.cc/paper_files/paper/2017/hash/6449f44a102fde848669bdd9eb6b76fa-Abstract.html>`__ // desc = set this to ``false`` to disable Exclusive Feature Bundling (EFB), which is described in `LightGBM: A Highly Efficient Gradient Boosting Decision Tree <https://proceedings.neurips.cc/paper/2017/hash/6449f44a102fde848669bdd9eb6b76fa-Abstract.html>`__
// desc = **Note**: disabling this may cause the slow training speed for sparse datasets // desc = **Note**: disabling this may cause the slow training speed for sparse datasets
bool enable_bundle = true; bool enable_bundle = true;
...@@ -977,7 +977,7 @@ struct Config { ...@@ -977,7 +977,7 @@ struct Config {
// check = >0 // check = >0
// desc = used only in ``lambdarank`` application // desc = used only in ``lambdarank`` application
// desc = controls the number of top-results to focus on during training, refer to "truncation level" in the Sec. 3 of `LambdaMART paper <https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/MSR-TR-2010-82.pdf>`__ // desc = controls the number of top-results to focus on during training, refer to "truncation level" in the Sec. 3 of `LambdaMART paper <https://www.microsoft.com/en-us/research/publication/from-ranknet-to-lambdarank-to-lambdamart-an-overview/>`__
// desc = this parameter is closely related to the desirable cutoff ``k`` in the metric **NDCG@k** that we aim at optimizing the ranker for. The optimal setting for this parameter is likely to be slightly higher than ``k`` (e.g., ``k + 3``) to include more pairs of documents to train on, but perhaps not too high to avoid deviating too much from the desired target metric **NDCG@k** // desc = this parameter is closely related to the desirable cutoff ``k`` in the metric **NDCG@k** that we aim at optimizing the ranker for. The optimal setting for this parameter is likely to be slightly higher than ``k`` (e.g., ``k + 3``) to include more pairs of documents to train on, but perhaps not too high to avoid deviating too much from the desired target metric **NDCG@k**
int lambdarank_truncation_level = 30; int lambdarank_truncation_level = 30;
...@@ -1028,9 +1028,10 @@ struct Config { ...@@ -1028,9 +1028,10 @@ struct Config {
// descl2 = ``map``, `MAP <https://makarandtapaswi.wordpress.com/2012/07/02/intuition-behind-average-precision-and-map/>`__, aliases: ``mean_average_precision`` // descl2 = ``map``, `MAP <https://makarandtapaswi.wordpress.com/2012/07/02/intuition-behind-average-precision-and-map/>`__, aliases: ``mean_average_precision``
// descl2 = ``auc``, `AUC <https://en.wikipedia.org/wiki/Receiver_operating_characteristic#Area_under_the_curve>`__ // descl2 = ``auc``, `AUC <https://en.wikipedia.org/wiki/Receiver_operating_characteristic#Area_under_the_curve>`__
// descl2 = ``average_precision``, `average precision score <https://scikit-learn.org/stable/modules/generated/sklearn.metrics.average_precision_score.html>`__ // descl2 = ``average_precision``, `average precision score <https://scikit-learn.org/stable/modules/generated/sklearn.metrics.average_precision_score.html>`__
// descl2 = ``r2``, `R-squared <https://scikit-learn.org/stable/modules/generated/sklearn.metrics.r2_score.html>`__
// descl2 = ``binary_logloss``, `log loss <https://en.wikipedia.org/wiki/Cross_entropy>`__, aliases: ``binary`` // descl2 = ``binary_logloss``, `log loss <https://en.wikipedia.org/wiki/Cross_entropy>`__, aliases: ``binary``
// descl2 = ``binary_error``, for one sample: ``0`` for correct classification, ``1`` for error classification // descl2 = ``binary_error``, for one sample: ``0`` for correct classification, ``1`` for error classification
// descl2 = ``auc_mu``, `AUC-mu <http://proceedings.mlr.press/v97/kleiman19a/kleiman19a.pdf>`__ // descl2 = ``auc_mu``, `AUC-mu <https://proceedings.mlr.press/v97/kleiman19a.html>`__
// descl2 = ``multi_logloss``, log loss for multi-class classification, aliases: ``multiclass``, ``softmax``, ``multiclassova``, ``multiclass_ova``, ``ova``, ``ovr`` // descl2 = ``multi_logloss``, log loss for multi-class classification, aliases: ``multiclass``, ``softmax``, ``multiclassova``, ``multiclass_ova``, ``ova``, ``ovr``
// descl2 = ``multi_error``, error rate for multi-class classification // descl2 = ``multi_error``, error rate for multi-class classification
// descl2 = ``cross_entropy``, cross-entropy (with optional linear weights), aliases: ``xentropy`` // descl2 = ``cross_entropy``, cross-entropy (with optional linear weights), aliases: ``xentropy``
...@@ -1319,4 +1320,4 @@ inline std::string ParseMetricAlias(const std::string& type) { ...@@ -1319,4 +1320,4 @@ inline std::string ParseMetricAlias(const std::string& type) {
} // namespace LightGBM } // namespace LightGBM
#endif // LightGBM_CONFIG_H_ #endif // LIGHTGBM_INCLUDE_LIGHTGBM_CONFIG_H_
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
* Modifications Copyright(C) 2023 Advanced Micro Devices, Inc. All rights reserved. * Modifications Copyright(C) 2023 Advanced Micro Devices, Inc. All rights reserved.
*/ */
#ifndef LIGHTGBM_CUDA_CUDA_ALGORITHMS_HPP_ #ifndef LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_ALGORITHMS_HPP_
#define LIGHTGBM_CUDA_CUDA_ALGORITHMS_HPP_ #define LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_ALGORITHMS_HPP_
#ifdef USE_CUDA #ifdef USE_CUDA
...@@ -622,4 +622,4 @@ __device__ VAL_T PercentileDevice(const VAL_T* values, ...@@ -622,4 +622,4 @@ __device__ VAL_T PercentileDevice(const VAL_T* values,
} // namespace LightGBM } // namespace LightGBM
#endif // USE_CUDA #endif // USE_CUDA
#endif // LIGHTGBM_CUDA_CUDA_ALGORITHMS_HPP_ #endif // LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_ALGORITHMS_HPP_
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
* Licensed under the MIT License. See LICENSE file in the project root for license information. * Licensed under the MIT License. See LICENSE file in the project root for license information.
*/ */
#ifdef USE_CUDA #ifndef LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_COLUMN_DATA_HPP_
#define LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_COLUMN_DATA_HPP_
#ifndef LIGHTGBM_CUDA_CUDA_COLUMN_DATA_HPP_ #ifdef USE_CUDA
#define LIGHTGBM_CUDA_CUDA_COLUMN_DATA_HPP_
#include <LightGBM/config.h> #include <LightGBM/config.h>
#include <LightGBM/cuda/cuda_utils.hu> #include <LightGBM/cuda/cuda_utils.hu>
...@@ -137,6 +137,6 @@ class CUDAColumnData { ...@@ -137,6 +137,6 @@ class CUDAColumnData {
} // namespace LightGBM } // namespace LightGBM
#endif // LIGHTGBM_CUDA_CUDA_COLUMN_DATA_HPP_
#endif // USE_CUDA #endif // USE_CUDA
#endif // LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_COLUMN_DATA_HPP_
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
* Licensed under the MIT License. See LICENSE file in the project root for license information. * Licensed under the MIT License. See LICENSE file in the project root for license information.
*/ */
#ifdef USE_CUDA #ifndef LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_METADATA_HPP_
#define LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_METADATA_HPP_
#ifndef LIGHTGBM_CUDA_CUDA_METADATA_HPP_ #ifdef USE_CUDA
#define LIGHTGBM_CUDA_CUDA_METADATA_HPP_
#include <LightGBM/cuda/cuda_utils.hu> #include <LightGBM/cuda/cuda_utils.hu>
#include <LightGBM/meta.h> #include <LightGBM/meta.h>
...@@ -53,6 +53,6 @@ class CUDAMetadata { ...@@ -53,6 +53,6 @@ class CUDAMetadata {
} // namespace LightGBM } // namespace LightGBM
#endif // LIGHTGBM_CUDA_CUDA_METADATA_HPP_
#endif // USE_CUDA #endif // USE_CUDA
#endif // LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_METADATA_HPP_
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
* license information. * license information.
*/ */
#ifndef LIGHTGBM_CUDA_CUDA_METRIC_HPP_ #ifndef LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_METRIC_HPP_
#define LIGHTGBM_CUDA_CUDA_METRIC_HPP_ #define LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_METRIC_HPP_
#ifdef USE_CUDA #ifdef USE_CUDA
...@@ -41,4 +41,4 @@ class CUDAMetricInterface: public HOST_METRIC { ...@@ -41,4 +41,4 @@ class CUDAMetricInterface: public HOST_METRIC {
#endif // USE_CUDA #endif // USE_CUDA
#endif // LIGHTGBM_CUDA_CUDA_METRIC_HPP_ #endif // LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_METRIC_HPP_
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
* license information. * license information.
*/ */
#ifndef LIGHTGBM_CUDA_CUDA_OBJECTIVE_FUNCTION_HPP_ #ifndef LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_OBJECTIVE_FUNCTION_HPP_
#define LIGHTGBM_CUDA_CUDA_OBJECTIVE_FUNCTION_HPP_ #define LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_OBJECTIVE_FUNCTION_HPP_
#ifdef USE_CUDA #ifdef USE_CUDA
...@@ -83,4 +83,4 @@ class CUDAObjectiveInterface: public HOST_OBJECTIVE { ...@@ -83,4 +83,4 @@ class CUDAObjectiveInterface: public HOST_OBJECTIVE {
#endif // USE_CUDA #endif // USE_CUDA
#endif // LIGHTGBM_CUDA_CUDA_OBJECTIVE_FUNCTION_HPP_ #endif // LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_OBJECTIVE_FUNCTION_HPP_
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
* Copyright (c) 2021 Microsoft Corporation. All rights reserved. * Copyright (c) 2021 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information. * Licensed under the MIT License. See LICENSE file in the project root for license information.
*/ */
#ifndef LIGHTGBM_CUDA_CUDA_RANDOM_HPP_ #ifndef LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_RANDOM_HPP_
#define LIGHTGBM_CUDA_CUDA_RANDOM_HPP_ #define LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_RANDOM_HPP_
#ifdef USE_CUDA #ifdef USE_CUDA
...@@ -73,4 +73,4 @@ class CUDARandom { ...@@ -73,4 +73,4 @@ class CUDARandom {
#endif // USE_CUDA #endif // USE_CUDA
#endif // LIGHTGBM_CUDA_CUDA_RANDOM_HPP_ #endif // LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_RANDOM_HPP_
/*! /*!
* Copyright(C) 2023 Advanced Micro Devices, Inc. All rights reserved. * Copyright(C) 2023 Advanced Micro Devices, Inc. All rights reserved.
*/ */
#ifndef LIGHTGBM_CUDA_CUDA_ROCM_INTEROP_H_
#define LIGHTGBM_CUDA_CUDA_ROCM_INTEROP_H_ #ifndef LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_ROCM_INTEROP_H_
#define LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_ROCM_INTEROP_H_
#ifdef USE_CUDA #ifdef USE_CUDA
...@@ -61,8 +62,8 @@ static inline constexpr int WARP_SIZE_INTERNAL() { ...@@ -61,8 +62,8 @@ static inline constexpr int WARP_SIZE_INTERNAL() {
#else // __HIP_PLATFORM_AMD__ #else // __HIP_PLATFORM_AMD__
// CUDA warpSize is not a constexpr, but always 32 // CUDA warpSize is not a constexpr, but always 32
#define WARPSIZE 32 #define WARPSIZE 32
#endif #endif // defined(__HIP_PLATFORM_AMD__) || defined(__HIP__)
#endif // USE_CUDA #endif // USE_CUDA
#endif // LIGHTGBM_CUDA_CUDA_ROCM_INTEROP_H_ #endif // LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_ROCM_INTEROP_H_
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
* Licensed under the MIT License. See LICENSE file in the project root for license information. * Licensed under the MIT License. See LICENSE file in the project root for license information.
*/ */
#ifdef USE_CUDA #ifndef LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_ROW_DATA_HPP_
#define LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_ROW_DATA_HPP_
#ifndef LIGHTGBM_CUDA_CUDA_ROW_DATA_HPP_ #ifdef USE_CUDA
#define LIGHTGBM_CUDA_CUDA_ROW_DATA_HPP_
#include <LightGBM/bin.h> #include <LightGBM/bin.h>
#include <LightGBM/config.h> #include <LightGBM/config.h>
...@@ -175,6 +175,7 @@ class CUDARowData { ...@@ -175,6 +175,7 @@ class CUDARowData {
}; };
} // namespace LightGBM } // namespace LightGBM
#endif // LIGHTGBM_CUDA_CUDA_ROW_DATA_HPP_
#endif // USE_CUDA #endif // USE_CUDA
#endif // LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_ROW_DATA_HPP_
...@@ -5,10 +5,10 @@ ...@@ -5,10 +5,10 @@
* Modifications Copyright(C) 2023 Advanced Micro Devices, Inc. All rights reserved. * Modifications Copyright(C) 2023 Advanced Micro Devices, Inc. All rights reserved.
*/ */
#ifdef USE_CUDA #ifndef LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_SPLIT_INFO_HPP_
#define LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_SPLIT_INFO_HPP_
#ifndef LIGHTGBM_CUDA_CUDA_SPLIT_INFO_HPP_ #ifdef USE_CUDA
#define LIGHTGBM_CUDA_CUDA_SPLIT_INFO_HPP_
#include <LightGBM/meta.h> #include <LightGBM/meta.h>
...@@ -103,6 +103,6 @@ class CUDASplitInfo { ...@@ -103,6 +103,6 @@ class CUDASplitInfo {
} // namespace LightGBM } // namespace LightGBM
#endif // LIGHTGBM_CUDA_CUDA_SPLIT_INFO_HPP_
#endif // USE_CUDA #endif // USE_CUDA
#endif // LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_SPLIT_INFO_HPP_
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
* Licensed under the MIT License. See LICENSE file in the project root for license information. * Licensed under the MIT License. See LICENSE file in the project root for license information.
*/ */
#ifdef USE_CUDA #ifndef LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_TREE_HPP_
#define LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_TREE_HPP_
#ifndef LIGHTGBM_CUDA_CUDA_TREE_HPP_ #ifdef USE_CUDA
#define LIGHTGBM_CUDA_CUDA_TREE_HPP_
#include <LightGBM/cuda/cuda_column_data.hpp> #include <LightGBM/cuda/cuda_column_data.hpp>
#include <LightGBM/cuda/cuda_split_info.hpp> #include <LightGBM/cuda/cuda_split_info.hpp>
...@@ -168,6 +168,6 @@ class CUDATree : public Tree { ...@@ -168,6 +168,6 @@ class CUDATree : public Tree {
} // namespace LightGBM } // namespace LightGBM
#endif // LIGHTGBM_CUDA_CUDA_TREE_HPP_
#endif // USE_CUDA #endif // USE_CUDA
#endif // LIGHTGBM_INCLUDE_LIGHTGBM_CUDA_CUDA_TREE_HPP_
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment