Aru*_*shi 3 r machine-learning xgboost
我正在尝试使用xgboost(),但我收到以下错误:
Error in xgb.DMatrix(data, label = label) : can not open file "0"
If I traceback,
traceback()
4: .Call("XGDMatrixCreateFromFile_R", data, as.integer(FALSE), PACKAGE = "xgboost")
3: xgb.DMatrix(data, label = label)
2: xgb.get.DMatrix(data, label)
1: xgboost(data = as.matrix(trainSet[, 1:13]), label = trainSet[,
"count"], max.depth = depth, nround = rounds, objective = "reg:linear",
verbose = 0) at #5
Run Code Online (Sandbox Code Playgroud)
我得到上述错误的任何原因.我将不胜感激任何帮助.
提前致谢!
| 归档时间: |
|
| 查看次数: |
5485 次 |
| 最近记录: |