R code works in console but failed when knit with predict function

前端 未结 0 1137
终归单人心
终归单人心 2020-11-28 03:59
library(class)
library(leaps)
fold.index <-cut(sample(1:nrow(train)), breaks=10, labels=FALSE)
cv.error.best.fit <-rep(0,23)

for(i in 1:23){# try different nu         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题