Tree prediction error in r Error in predict.tree(cstree, test, type = “class”) : type “class” only for classification trees

后端 未结 0 1466
情书的邮戳
情书的邮戳 2021-01-20 15:10

I have done a tree in r using this command "cstree <- tree(Sales~., Carseats, subset=train)", it is working well but when I try to use the predict command like

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