aws / amazon-sagemaker-examples

Example 📓 Jupyter notebooks that demonstrate how to build, train, and deploy machine learning models using 🧠 Amazon SageMaker.
https://sagemaker-examples.readthedocs.io
Apache License 2.0
10.18k stars 6.79k forks source link

XGBoostError: [14:10:53] src/learner.cc:963: Check failed: mparam_.num_feature != 0 (0 vs. 0) : 0 feature is supplied. Are you using raw Booster interface? #1070

Open shaunakhanda04 opened 4 years ago

shaunakhanda04 commented 4 years ago

Hi All,

I am getting this error and am clueless to what to do. I tried to search for this error, could not find much useful resources.

bpachev commented 4 years ago

@shaunakhanda04 I got this error when trying to make predictions on a booster with no loaded model. Have you checked to make sure the model is loaded/initialized correctly?