4
Я использую пакет xgboost из CRAN в первый раз.xgboost с использованием R xgb.importance throws error
Создание модели как:
bst <- xgb.train(data = dtrain, booster = "gblinear",
objective = "reg:linear", max.depth = 5, nround = 2,watchlist=watchlist)
importance_matrix <- xgb.importance(model = bst)
Когда я называю xgb.importance
я получаю сообщение об ошибке:
Error in readLines(filename_dump) : 'con' is not a connection
Любые идеи, почему?