是否有 R 函数来优化 PRG AUC(精确召回增益曲线下的面积)?

Is there an R function to optimize the PRG AUC (area under the precision-recall-gain curve)?

要优化 Caret 中的 PR AUC(精确召回曲线下的面积),prSummary function can be plugged into the trainControl 函数。

是否有类似的方法来优化 PRG AUC(精度-召回-增益曲线下的面积),如 Flach and Kull 所介绍的?在插入符内部还是外部?

MLeval 包 returns PRG 曲线和 PRG AUC,但似乎仅 运行 在 Caret 序列输出上。

原来是Meelis Kull写了一篇R package for the PRG AUC。计算 PRG AUC 非常简单:

prg_curve <- create_prg_curve(labels, scores)
prg_auc <- calc_auprg(prg_curve)

对于 Caret,可以将这些函数插入到摘要函数中,正如@missuse 在上面评论中的链接中所解释的那样。