XGBModel' object has no attribute 'feature_types'
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2023 02:27 PM
I saved an xgboost boost model in filetstore as a pkl file.
I call the model by the commands below
model = pickle.load(open('/.../model.pkl', 'rb'))
model.predict_proba(df[features])
The model has been running for sometime with the above commands but I now get an error saying
'XGBModel' object has no attribute 'feature_types'
I tried specifying the version of the xgboost library installation but that does not work.
What could be the issue?
Labels:
- Labels:
-
Pickle Files
-
Python