Error in { :
task 1 failed - "task 1 failed - "At least one of the class levels is not a valid R variable name; This will cause errors when class probabilities are generated because the variables names will be converted to X1, X2, X3 .
什么覆盖问题,完全没思路啊..
我的代码:
- w=read.csv("book.csv",head=T)
- w[,1]=factor(w[,1])
- w1=w[2:32]
- library(caret)
- ctrl <- gafsControl(functions = caretGA,
- number = 200)
- rf_search <- gafs(w1,
- w[,1],
- method = "svmRadial",
- gafsControl = ctrl)
book.xlsx
(33.62 KB)


雷达卡



京公网安备 11010802022788号







