罗俊辉 hai 1 ano
pai
achega
3c2e898630
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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: