Caret error using GBM, but not without caret

前端 未结 3 978
借酒劲吻你
借酒劲吻你 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: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.

提交回复
热议问题