model_xg <- xgboost(param=param,data = final_data[1:n.train,],label=final_data[1:n.train,'Dependent'],nrounds=250) Then I am getting following error: Error in xgb.get.DMatrix(data, label) : xgboost: Invalid input of data In addition: Warning message: In xgb.get.DMatrix(data, labe...
Here is the the story: I built a model and got an RMSE of 40492.682587. I then ran XGBoost.cv() like such: from xgboost import cv # Convert dataset to special XGBoost optimised data structure dtrain_matrix = xgb.DMatrix(X_enc, label=y) dcomp_matrix = xgb.DMatrix(cd_enc) # List ...