ROC 曲线绘制,多个和x轴空白

ROC 曲线绘制:


attachments-2025-02-JDTbrfje67bc68e645272.png


par(pty="s")
roc.info<-roc(testset$group, 
    pred1[,1],  #提取随机森林模型中对应的预测指标
    plot=TRUE, 
    legacy.axes=TRUE, 
    percent=TRUE, 
    xlab="False positive percentage", 
    ylab="True postive percentage",
    col="#4daf4a",
    lwd=4, 
    print.auc=TRUE)
plot.roc(obese,rf.model$votes[,1],percent=TRUE,col="#4daf4a",lwd=4
print.auc=TRUE,add=TRUE,print.auc.y=40)


attachments-2025-02-8bi1RM0867bc698d3b02b.png



  • 发表于 2025-02-24 20:42
  • 阅读 ( 908 )
  • 分类:其他

0 条评论

请先 登录 后评论
omicsgene
omicsgene

生物信息

751 篇文章

作家榜 »

  1. omicsgene 751 文章
  2. 安生水 367 文章
  3. Daitoue 167 文章
  4. 生物女学霸 120 文章
  5. xun 94 文章
  6. rzx 87 文章
  7. 红橙子 81 文章
  8. Ti Amo 74 文章