CatBoost Classifier with cat_features #3479
Unanswered
ageorgiu17
asked this question in
Q&A
Replies: 1 comment
-
You can try to explicitly pass the cat_features to the bentoml runner.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! Is there a way to serve a CatBoostClassifier() that is pre-trained using cat_features? When I try to serve the model and make some predictions it raises an error
_catboost.CatBoostError: Bad value for num_feature[non_default_doc_idx=0,feature_idx=2]="Tertiary": Cannot convert 'b'Tertiary'' to float
Although the model is trained where I use object types. The input data for training the model is
direction_1_percentage | direction_2_percentage | road_type
48.951049 | 51.048951 | Tertiary
Beta Was this translation helpful? Give feedback.
All reactions