diff --git a/develop/doc/api/v2/config/evaluators.html b/develop/doc/api/v2/config/evaluators.html index af7efa9e43ffab2c4aa94790847215cde4f3bffe..d94f4a4617c414a382d1020c83c9acda85f9c025 100644 --- a/develop/doc/api/v2/config/evaluators.html +++ b/develop/doc/api/v2/config/evaluators.html @@ -417,7 +417,7 @@ F1-score of this label.

Positive-negative pair rate Evaluator which adapts to rank task like learning to rank. This evaluator must contain at least three layers.

The simple usage:

-
eval = evaluator.pnpair(input, info, label)
+
eval = evaluator.pnpair(input, label, info)
 
@@ -425,12 +425,12 @@ learning to rank. This evaluator must contain at least three layers.

diff --git a/develop/doc_cn/api/v2/config/evaluators.html b/develop/doc_cn/api/v2/config/evaluators.html index 251544b8a305cfa255798c22a278070465598f6a..f401ad59d2013b4a72d258601864191a677dfd9a 100644 --- a/develop/doc_cn/api/v2/config/evaluators.html +++ b/develop/doc_cn/api/v2/config/evaluators.html @@ -422,7 +422,7 @@ F1-score of this label.

Positive-negative pair rate Evaluator which adapts to rank task like learning to rank. This evaluator must contain at least three layers.

The simple usage:

-
eval = evaluator.pnpair(input, info, label)
+
eval = evaluator.pnpair(input, label, info)
 
Parameters:
    -
  • name (None|basestring) – Evaluator name.
  • input (paddle.v2.config_base.Layer) – Input Layer name. The output prediction of network.
  • label (paddle.v2.config_base.Layer) – Label layer name.
  • -
  • info (paddle.v2.config_base.Layer) – Label layer name. (TODO, explaination)
  • +
  • info (paddle.v2.config_base.Layer) – Info layer name. (TODO, explaination)
  • weight (paddle.v2.config_base.Layer) – Weight Layer name. It should be a matrix with size [sample_num, 1]. (TODO, explaination)
  • +
  • name (None|basestring) – Evaluator name.
@@ -430,12 +430,12 @@ learning to rank. This evaluator must contain at least three layers.

参数:
    -
  • name (None|basestring) – Evaluator name.
  • input (paddle.v2.config_base.Layer) – Input Layer name. The output prediction of network.
  • label (paddle.v2.config_base.Layer) – Label layer name.
  • -
  • info (paddle.v2.config_base.Layer) – Label layer name. (TODO, explaination)
  • +
  • info (paddle.v2.config_base.Layer) – Info layer name. (TODO, explaination)
  • weight (paddle.v2.config_base.Layer) – Weight Layer name. It should be a matrix with size [sample_num, 1]. (TODO, explaination)
  • +
  • name (None|basestring) – Evaluator name.