mkearney/tweetbotornot2

errors about the xbooster

goodman1204 opened this issue · 1 comments

predict_bot(user_ids)
Error in predict.xgb.Booster(predmodel, as.matrix(x[, -(1:3)])) :
[13:24:29] amalgamation/../src/learner.cc:506: Check failed: mparam_.num_feature != 0 (0 vs. 0) : 0 feature is supplied. Are you using raw Booster interface?
Stack trace:
[bt] (0) 1 xgboost.so 0x0000000116b65fb0 dmlc::LogMessageFatal::~LogMessageFatal() + 112
[bt] (1) 2 xgboost.so 0x0000000116bf3b09 xgboost::LearnerConfiguration::ConfigureNumFeatures() + 265
[bt] (2) 3 xgboost.so 0x0000000116be899b xgboost::LearnerConfiguration::Configure() + 971
[bt] (3) 4 xgboost.so 0x0000000116be9fda xgboost::LearnerImpl::Predict(std::__1::shared_ptrxgboost::DMatrix, bool, xgboost::HostDeviceVector*, unsigned int, bool, bool, bool, bool, bool) + 90
[bt] (4) 5 xgboost.so 0x0000000116bc6d2a XGBoosterPredict + 266
[bt] (5) 6 xgboost.so 0x0000000116b63ea9 XGBoosterPredict_R + 121
[bt] (6) 7 libR.dylib

Thank you for creating an issue on {tweetbotornot}! I appreciate the feedback!