We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting the following error when running the sample code from the ReadMe.
Error in predict.xgb.Booster(predmodel, as.matrix(x[, -(1:3)])) : [15:54:07] 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 0x0000000119225fb0 dmlc::LogMessageFatal::~LogMessageFatal() + 112 [bt] (1) 2 xgboost.so 0x00000001192b3b09 xgboost::LearnerConfiguration::ConfigureNumFeatures() + 265 [bt] (2) 3 xgboost.so 0x00000001192a899b xgboost::LearnerConfiguration::Configure() + 971 [bt] (3) 4 xgboost.so 0x00000001192a9fda xgboost::LearnerImpl::Predict(std::__1::shared_ptr<xgboost::DMatrix>, bool, xgboost::HostDeviceVector<float>*, unsigned int, bool, bool, bool, bool, bool) + 90 [bt] (4) 5 xgboost.so 0x0000000119286d2a XGBoosterPredict + 266 [bt] (5) 6 xgboost.so 0x0000000119223ea9 XGBoosterPredict_R + 121 [bt] (6) 7 libR.dylib
Is this an xgboost bug or something on my end?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Getting the following error when running the sample code from the ReadMe.
Error in predict.xgb.Booster(predmodel, as.matrix(x[, -(1:3)])) : [15:54:07] 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 0x0000000119225fb0 dmlc::LogMessageFatal::~LogMessageFatal() + 112 [bt] (1) 2 xgboost.so 0x00000001192b3b09 xgboost::LearnerConfiguration::ConfigureNumFeatures() + 265 [bt] (2) 3 xgboost.so 0x00000001192a899b xgboost::LearnerConfiguration::Configure() + 971 [bt] (3) 4 xgboost.so 0x00000001192a9fda xgboost::LearnerImpl::Predict(std::__1::shared_ptr<xgboost::DMatrix>, bool, xgboost::HostDeviceVector<float>*, unsigned int, bool, bool, bool, bool, bool) + 90 [bt] (4) 5 xgboost.so 0x0000000119286d2a XGBoosterPredict + 266 [bt] (5) 6 xgboost.so 0x0000000119223ea9 XGBoosterPredict_R + 121 [bt] (6) 7 libR.dylib
Is this an xgboost bug or something on my end?
The text was updated successfully, but these errors were encountered: