mkearney / tweetbotornot2

🔍🐦🤖 Detect Twitter Bots!
https://tweetbotornot2.mikewk.com
Other
89 stars 16 forks source link

errors about the xbooster #8

Open goodman1204 opened 4 years ago

goodman1204 commented 4 years ago

predict_bot(userids) 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_ptr, 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

github-actions[bot] commented 4 years ago

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