初めて CRAN の xgboost パッケージを使用しています。
モデルを次のように作成します。
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
理由はありますか?