未验证 提交 1c012ee3 编辑于 作者: dlagul's avatar dlagul 提交者: GitHub
浏览文件

Update evaluation.py

上级 a3ffd542
加载中
加载中
加载中
加载中
+1 −2
原始行号 差异行号 差异行
@@ -175,7 +175,6 @@ class Evaluator():
            self.eval_metrics['FP'] = FP
            self.eval_metrics['Fpr'] = fpr
            self.eval_metrics['Tpr'] = tpr      
            self.logger.log_evaluator(self.eval_metrics)    
            # If the recall has been reached to 1.0, we break the loop, due to the best f1-score has been achieved 
            # Since as the threshold increases, recall remains unchanged (1.0), while precision decreases and thus f1-score decreases
            if float(recall) < 1.0: