I am trying to make a model for Titanic competition from Kaggle. I have dropped “Name” from both train and test set but it shows an error while prediction saying ValueError: could not convert string to float: 'C'
There is a mention of the function apply_cats. And from the help section (using ??) it seems you call it by doing
apply_cats(test_set, train_set)
provided you already have done train_cats on the training set.
1 Like