Unverified Commit 997a469f authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

fixed metric_freq param description (#2780)

parent c4a7ab81
...@@ -20,7 +20,6 @@ test_that("learning-to-rank with lgb.train() works as expected", { ...@@ -20,7 +20,6 @@ test_that("learning-to-rank with lgb.train() works as expected", {
objective = "lambdarank" objective = "lambdarank"
, metric = "ndcg" , metric = "ndcg"
, ndcg_at = ndcg_at , ndcg_at = ndcg_at
, metric_freq = 1L
, max_position = 3L , max_position = 3L
, learning_rate = 0.001 , learning_rate = 0.001
) )
...@@ -68,7 +67,6 @@ test_that("learning-to-rank with lgb.cv() works as expected", { ...@@ -68,7 +67,6 @@ test_that("learning-to-rank with lgb.cv() works as expected", {
objective = "lambdarank" objective = "lambdarank"
, metric = "ndcg" , metric = "ndcg"
, ndcg_at = ndcg_at , ndcg_at = ndcg_at
, metric_freq = 1L
, max_position = 3L , max_position = 3L
, label_gain = "0,1,3" , label_gain = "0,1,3"
) )
......
...@@ -951,6 +951,8 @@ Metric Parameters ...@@ -951,6 +951,8 @@ Metric Parameters
- frequency for metric output - frequency for metric output
- **Note**: can be used only in CLI version
- ``is_provide_training_metric`` :raw-html:`<a id="is_provide_training_metric" title="Permalink to this parameter" href="#is_provide_training_metric">&#x1F517;&#xFE0E;</a>`, default = ``false``, type = bool, aliases: ``training_metric``, ``is_training_metric``, ``train_metric`` - ``is_provide_training_metric`` :raw-html:`<a id="is_provide_training_metric" title="Permalink to this parameter" href="#is_provide_training_metric">&#x1F517;&#xFE0E;</a>`, default = ``false``, type = bool, aliases: ``training_metric``, ``is_training_metric``, ``train_metric``
- set this to ``true`` to output metric result over training dataset - set this to ``true`` to output metric result over training dataset
......
...@@ -808,6 +808,7 @@ struct Config { ...@@ -808,6 +808,7 @@ struct Config {
// check = >0 // check = >0
// alias = output_freq // alias = output_freq
// desc = frequency for metric output // desc = frequency for metric output
// desc = **Note**: can be used only in CLI version
int metric_freq = 1; int metric_freq = 1;
// alias = training_metric, is_training_metric, train_metric // alias = training_metric, is_training_metric, train_metric
......
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