Caret error using GBM, but not without caret

前端 未结 3 974
借酒劲吻你
借酒劲吻你 2021-01-18 06:35

I\'ve been using gbm through caret without problems, but when removing some variables from my dataframe it started to fail. I\'ve tried wit

相关标签:
3条回答
  • 2021-01-18 07:15

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

    0 讨论(0)
  • 2021-01-18 07: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.

    0 讨论(0)
  • 2021-01-18 07:24

    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.

    0 讨论(0)
提交回复
热议问题