F1的计算

f1 = metrics.f1_score(all_target, all_pred)
原文地址:https://www.cnblogs.com/hifalee/p/14033954.html