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



  • 发表于 1天前
  • 阅读 ( 35 )
  • 分类:其他

0 条评论

请先 登录 后评论
omicsgene
omicsgene

生物信息

712 篇文章

作家榜 »

  1. omicsgene 712 文章
  2. 安生水 353 文章
  3. Daitoue 167 文章
  4. 生物女学霸 120 文章
  5. xun 82 文章
  6. rzx 80 文章
  7. 红橙子 78 文章
  8. CORNERSTONE 72 文章