"vllm/vscode:/vscode.git/clone" did not exist on "2cf1a333b63a303fd4b65dd499f2e9b606e6525a"
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", {
objective = "lambdarank"
, metric = "ndcg"
, ndcg_at = ndcg_at
, metric_freq = 1L
, max_position = 3L
, learning_rate = 0.001
)
......@@ -68,7 +67,6 @@ test_that("learning-to-rank with lgb.cv() works as expected", {
objective = "lambdarank"
, metric = "ndcg"
, ndcg_at = ndcg_at
, metric_freq = 1L
, max_position = 3L
, label_gain = "0,1,3"
)
......
......@@ -951,6 +951,8 @@ Metric Parameters
- 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``
- set this to ``true`` to output metric result over training dataset
......
......@@ -808,6 +808,7 @@ struct Config {
// check = >0
// alias = output_freq
// desc = frequency for metric output
// desc = **Note**: can be used only in CLI version
int metric_freq = 1;
// 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