- label should be ``int`` type in lambdarank tasks, and larger number represents the higher relevance (e.g. 0:bad, 1:fair, 2:good, 3:perfect)
- ``lambdarank``, `lambdarank <https://papers.nips.cc/paper/2971-learning-to-rank-with-nonsmooth-cost-functions.pdf>`__ objective. `label_gain <#objective-parameters>`__ 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``
- `label_gain <#objective-parameters>`__ can be used to set the gain (weight) of ``int`` label
- ``rank_xendcg``, `XE_NDCG_MART <https://arxiv.org/abs/1911.09798>`__ ranking objective function. To obtain reproducible results, you should disable parallelism by setting ``num_threads`` to 1, aliases: ``xendcg``, ``xe_ndcg``, ``xe_ndcg_mart``, ``xendcg_mart``
- all values in ``label`` must be smaller than number of elements in ``label_gain``
- to obtain reproducible results, you should disable parallelism by setting ``num_threads`` to 1
- label should be ``int`` type, and larger number represents the higher relevance (e.g. 0:bad, 1:fair, 2:good, 3:perfect)
- ``boosting`` :raw-html:`<a id="boosting" title="Permalink to this parameter" href="#boosting">🔗︎</a>`, default = ``gbdt``, type = enum, options: ``gbdt``, ``rf``, ``dart``, ``goss``, aliases: ``boosting_type``, ``boost``
...
...
@@ -878,10 +874,10 @@ Objective Parameters
- ``objective_seed`` :raw-html:`<a id="objective_seed" title="Permalink to this parameter" href="#objective_seed">🔗︎</a>`, default = ``5``, type = int
- random seed for objectives
- used only in the ``rank_xendcg`` objective
- random seed for objectives
Metric Parameters
-----------------
...
...
@@ -915,7 +911,7 @@ Metric Parameters
- ``tweedie``, negative log-likelihood for **Tweedie** regression
// descl2 = label should be ``int`` type in lambdarank tasks, and larger number represents the higher relevance (e.g. 0:bad, 1:fair, 2:good, 3:perfect)
// descl2 = `label_gain <#objective-parameters>`__ can be used to set the gain (weight) of ``int`` label
// descl2 = all values in ``label`` must be smaller than number of elements in ``label_gain``
// descl2 = to obtain reproducible results, you should disable parallelism by setting ``num_threads`` to 1
// desc = ranking application
// descl2 = ``lambdarank``, `lambdarank <https://papers.nips.cc/paper/2971-learning-to-rank-with-nonsmooth-cost-functions.pdf>`__ objective. `label_gain <#objective-parameters>`__ 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. To obtain reproducible results, you should disable parallelism by setting ``num_threads`` to 1, aliases: ``xendcg``, ``xe_ndcg``, ``xe_ndcg_mart``, ``xendcg_mart``
// descl2 = label should be ``int`` type, and larger number represents the higher relevance (e.g. 0:bad, 1:fair, 2:good, 3:perfect)
std::stringobjective="regression";
// [doc-only]
...
...
@@ -763,8 +761,8 @@ struct Config {
// desc = separate by ``,``
std::vector<double>label_gain;
// desc = random seed for objectives
// desc = used only in the ``rank_xendcg`` objective
// desc = random seed for objectives
intobjective_seed=5;
#pragma endregion
...
...
@@ -789,7 +787,7 @@ struct Config {
// descl2 = ``gamma``, negative log-likelihood for **Gamma** regression
// descl2 = ``gamma_deviance``, residual deviance for **Gamma** regression
// descl2 = ``tweedie``, negative log-likelihood for **Tweedie** regression