r中两个模型的AUC的图置信区间
我绘制了两个模型的ROC曲线,我想将AUC的信心作为一个乐队。有什么想法吗? 我使用的代码是:
library(pRoc)
roc(test_df$extry, y, plot=TRUE, legacy.axes=TRUE, percent=TRUE, xlab="False Positive Percentage", ylab="True Postive Percentage", col="#377eb8", lwd=4,print.auc=TRUE)
plot.roc(test_df$extry, rf.model$votes[,1], percent=TRUE, col="#4daf4a", lwd=4, print.auc=TRUE, add=TRUE, print.auc.y=40)
I have plotted the ROC curve of two models and I would like to have the AUC confidence internal as a band. Any idea?
The code I use is:
library(pRoc)
roc(test_df$extry, y, plot=TRUE, legacy.axes=TRUE, percent=TRUE, xlab="False Positive Percentage", ylab="True Postive Percentage", col="#377eb8", lwd=4,print.auc=TRUE)
plot.roc(test_df$extry, rf.model$votes[,1], percent=TRUE, col="#4daf4a", lwd=4, print.auc=TRUE, add=TRUE, print.auc.y=40)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论