catboost: Cannot convert to float
Hi! There seems to be a problem with converting to strings. Im getting the following error when trying to create a Pool.
CatBoostError: Bad value for num_feature[0,0]="Vantaa": Cannot convert 'b'Vantaa'' to float
What might be the cause of this?
catboost version: 0.16.1 Operating System: Ubuntu 16.04
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 16 (6 by maintainers)
By default all features are considered numerical. You need to specify categorical features in cat_features parameter.
I’m closing the issue as fixed. If you still have a problem, let us know, I’ll reopen it back.
reorder columns in X_test as in X_train