10-4 F1 score
指标:F1 score
自己实现F1 score
import numpy as np
def f1_score(precision, recall):
try:
return 2 * precision * recall / (precision + recall)
except:
return 0.0F1 score来评价手写数字的识别效果
Last updated
