Unverified Commit 40b60eb4 authored by Guolin Ke's avatar Guolin Ke Committed by GitHub
Browse files

Merge branch 'master' into 1492

parents f5afaba1 c647b66f
LightGBM, Light Gradient Boosting Machine LightGBM, Light Gradient Boosting Machine
========================================= =========================================
[![Build Status](https://lightgbm.visualstudio.com/LightGBM-Build/_apis/build/status/LightGBM-Build-CI&branchName=master)]() [![VSTS Build Status](https://lightgbm.visualstudio.com/LightGBM-Build/_apis/build/status/LightGBM-Build-CI?branchName=master)](https://lightgbm.visualstudio.com/LightGBM-Build/_build/latest?definitionId=7&branchName=master)
[![Build Status](https://travis-ci.org/Microsoft/LightGBM.svg?branch=master)](https://travis-ci.org/Microsoft/LightGBM) [![Appveyor Build Status](https://ci.appveyor.com/api/projects/status/1ys5ot401m0fep6l/branch/master?svg=true)](https://ci.appveyor.com/project/guolinke/lightgbm/branch/master)
[![Windows Build Status](https://ci.appveyor.com/api/projects/status/1ys5ot401m0fep6l/branch/master?svg=true)](https://ci.appveyor.com/project/guolinke/lightgbm/branch/master) [![Travis Build Status](https://travis-ci.org/Microsoft/LightGBM.svg?branch=master)](https://travis-ci.org/Microsoft/LightGBM)
[![Documentation Status](https://readthedocs.org/projects/lightgbm/badge/?version=latest)](https://lightgbm.readthedocs.io/) [![Documentation Status](https://readthedocs.org/projects/lightgbm/badge/?version=latest)](https://lightgbm.readthedocs.io/)
[![GitHub Issues](https://img.shields.io/github/issues/Microsoft/LightGBM.svg)](https://github.com/Microsoft/LightGBM/issues) [![GitHub Issues](https://img.shields.io/github/issues/Microsoft/LightGBM.svg)](https://github.com/Microsoft/LightGBM/issues)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Microsoft/LightGBM/blob/master/LICENSE) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Microsoft/LightGBM/blob/master/LICENSE)
......
...@@ -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">&#x1F517;&#xFE0E;</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">&#x1F517;&#xFE0E;</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
------------------ ------------------
......
...@@ -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
......
...@@ -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"},
......
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