Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
5d7eb230
Unverified
Commit
5d7eb230
authored
Jul 12, 2018
by
Nikita Titov
Committed by
GitHub
Jul 12, 2018
Browse files
[docs] added MAP to list when eval_at is used (#1509)
parent
1437ce8b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
docs/Parameters.rst
docs/Parameters.rst
+2
-2
include/LightGBM/config.h
include/LightGBM/config.h
+2
-2
src/io/config_auto.cpp
src/io/config_auto.cpp
+2
-0
No files found.
docs/Parameters.rst
View file @
5d7eb230
...
@@ -785,11 +785,11 @@ Metric Parameters
...
@@ -785,11 +785,11 @@ Metric Parameters
- set this to ``true`` to output metric result over training dataset
- set this to ``true`` to output metric result over training dataset
- ``eval_at`` :raw-html:`<a id="eval_at" title="Permalink to this parameter" href="#eval_at">🔗︎</a>`, default = ``1,2,3,4,5``, type = multi-int, aliases: ``ndcg_eval_at``, ``ndcg_at``
- ``eval_at`` :raw-html:`<a id="eval_at" title="Permalink to this parameter" href="#eval_at">🔗︎</a>`, default = ``1,2,3,4,5``, type = multi-int, aliases: ``ndcg_eval_at``, ``ndcg_at``
, ``map_eval_at``, ``map_at``
- used only with ``ndcg`` and ``map`` metrics
- used only with ``ndcg`` and ``map`` metrics
- `NDCG <https://en.wikipedia.org/wiki/Discounted_cumulative_gain#Normalized_DCG>`__ evaluation positions, separated by ``,``
- `NDCG <https://en.wikipedia.org/wiki/Discounted_cumulative_gain#Normalized_DCG>`__
and `MAP <https://makarandtapaswi.wordpress.com/2012/07/02/intuition-behind-average-precision-and-map/>`__
evaluation positions, separated by ``,``
Network Parameters
Network Parameters
------------------
------------------
...
...
include/LightGBM/config.h
View file @
5d7eb230
...
@@ -695,9 +695,9 @@ public:
...
@@ -695,9 +695,9 @@ public:
// type = multi-int
// type = multi-int
// default = 1,2,3,4,5
// default = 1,2,3,4,5
// alias = ndcg_eval_at, ndcg_at
// alias = ndcg_eval_at, ndcg_at
, map_eval_at, map_at
// desc = used only with ``ndcg`` and ``map`` metrics
// desc = used only with ``ndcg`` and ``map`` metrics
// desc = `NDCG <https://en.wikipedia.org/wiki/Discounted_cumulative_gain#Normalized_DCG>`__ evaluation positions, separated by ``,``
// desc = `NDCG <https://en.wikipedia.org/wiki/Discounted_cumulative_gain#Normalized_DCG>`__
and `MAP <https://makarandtapaswi.wordpress.com/2012/07/02/intuition-behind-average-precision-and-map/>`__
evaluation positions, separated by ``,``
std
::
vector
<
int
>
eval_at
;
std
::
vector
<
int
>
eval_at
;
#pragma endregion
#pragma endregion
...
...
src/io/config_auto.cpp
View file @
5d7eb230
...
@@ -123,6 +123,8 @@ std::unordered_map<std::string, std::string> Config::alias_table({
...
@@ -123,6 +123,8 @@ std::unordered_map<std::string, std::string> Config::alias_table({
{
"train_metric"
,
"is_provide_training_metric"
},
{
"train_metric"
,
"is_provide_training_metric"
},
{
"ndcg_eval_at"
,
"eval_at"
},
{
"ndcg_eval_at"
,
"eval_at"
},
{
"ndcg_at"
,
"eval_at"
},
{
"ndcg_at"
,
"eval_at"
},
{
"map_eval_at"
,
"eval_at"
},
{
"map_at"
,
"eval_at"
},
{
"num_machine"
,
"num_machines"
},
{
"num_machine"
,
"num_machines"
},
{
"local_port"
,
"local_listen_port"
},
{
"local_port"
,
"local_listen_port"
},
{
"port"
,
"local_listen_port"
},
{
"port"
,
"local_listen_port"
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment