evaluation.loc['RF', 'fpr'], evaluation.loc['RF', 'tpr'], thresholds = metrics.roc_curve(y_test, estimator.predict_proba(x_test)[:,1]) evaluation.loc['RF', 'auc'] = metrics.auc(evaluation.loc['RF', 'fpr'], evaluation.loc['RF', 'tpr']) evaluation.loc['RF', 'pre'], eval...
YOLOX add Confusion matrix F1_curve P_curve PR_curve R_curve Grad-CAM YOLOX新增了混淆矩阵PR曲线F1曲线热力图等东西 - Kyle-fang/Have-Useful-Tools-YOLOX
2.Precision-Recall Curve(参考:https://blog.csdn.net/HackerTom/article/details/89425729) importmatplotlib.pyplotaspltdefpr_curve(qB,rB,qL,rL,ep,task,topK=-1):n_query=qB.shape[0]iftopK==-1ortopK>rB.shape[0]:# top-K 之 K 的上限topK=rB.shape[0]# Gnd = (np.dot(qL, rL.transpose(...