瀏覽代碼

分析代码

罗俊辉 1 年之前
父節點
當前提交
3c2e898630
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      result_analysis.py

+ 1 - 1
result_analysis.py

@@ -11,7 +11,7 @@ def analysis(data):
     total_count = 0
     for line in data:
         true_tag = line.split("\t")[0]
-        pred_tag = line.split("\t")[2]
+        pred_tag = line.split("\t")[1]
         if int(true_tag) == 1:
             true_count += 1
         if int(pred_tag) == 1: