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
  • 328
0 votes

How can Time Series Analysis be done with Categorical Variables

I have splitted the periods not in fixed time windows, but in dynamic ones. Eg. If we take @Ricardo's Alerts, I would take the values of all the variables from that "period". The table ...
M. Chris's user avatar
  • 101

Top 50 recent answers are included