From 7f4e57a1c95954cb3584ecc01545519900253885 Mon Sep 17 00:00:00 2001 From: Coet Date: Sun, 22 Jul 2018 19:17:57 +0800 Subject: [PATCH] Update metrics.py --- fastNLP/action/metrics.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fastNLP/action/metrics.py b/fastNLP/action/metrics.py index 12edca81..7c8a6bec 100644 --- a/fastNLP/action/metrics.py +++ b/fastNLP/action/metrics.py @@ -1,7 +1,8 @@ """ To do: + 设计评判结果的各种指标。如果涉及向量,使用numpy。 参考http://scikit-learn.org/stable/modules/classes.html#classification-metrics 建议是每种metric写成一个函数 (由Tester的evaluate函数调用) 参数表里只需考虑基本的参数即可,可以没有像它那么多的参数配置 - + """