Browse Source

Update metrics.py

tags/v0.1.0
Coet GitHub 6 years ago
parent
commit
7f4e57a1c9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      fastNLP/action/metrics.py

+ 2
- 1
fastNLP/action/metrics.py View File

@@ -1,7 +1,8 @@
"""
To do:
设计评判结果的各种指标。如果涉及向量,使用numpy。
参考http://scikit-learn.org/stable/modules/classes.html#classification-metrics
建议是每种metric写成一个函数 (由Tester的evaluate函数调用)
参数表里只需考虑基本的参数即可,可以没有像它那么多的参数配置
"""

Loading…
Cancel
Save