summaryrefslogtreecommitdiff
path: root/evaluation/template.py
diff options
context:
space:
mode:
Diffstat (limited to 'evaluation/template.py')
-rw-r--r--evaluation/template.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/evaluation/template.py b/evaluation/template.py
new file mode 100644
index 0000000..bcaf172
--- /dev/null
+++ b/evaluation/template.py
@@ -0,0 +1,10 @@
+
+
+def evaluate(y_true: [int], y_pred: [int]) -> float:
+ """
+ 评估方法
+ :param y_true: 真实标签
+ :param y_pred: 检测标签
+ :return: 分数,float类型
+ """
+ return 0.0