New answers tagged

1 vote

How to deal with categorical disalignment in test and train in binary classification problems

This is a very common scenario, to overcome this you can use one hot encoding for your categorical variable - sklearn.preprocessing.OneHotEncoder One hot encoding ...
Kriti's user avatar
  • 198
3 votes

Why the test accuracy showing some odd behaviour in comparison to train accuracy?

Why the test accuracy showing odd patterns ? As @mohottnad mentioned in the comment, it appears your model overfits. It means that it doesn't generalise well and works badly on testing data. I don't ...
Tomasz Witkowski's user avatar

Top 50 recent answers are included