Caret error using GBM, but not without caret

白昼怎懂夜的黑 提交于 2019-12-01 17:27:18

For now, casting a dataframe from plyr/dplyr to a normal dataframe with as.data.frame() fixes the problem.

train(as.data.frame(issueDataframe), issueResponse, method="gbm")

See this issue.

same problem with the glm method. Solved when I remove the VERBOSE option...

With some of the caret methods this problem will arise when the user tries to predict with multinomial classification and only binary {0,1} outcomes are allowed in the algorithm, or with the current set of parameters.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!