@syammohan2103 wrote:
I have one hot encoded the data and trained a model. After passing the new(test) data through my transformation pipeline(including the one hot encoder) new columns are created as the new(test) data includes additional unknown categorical data.
Due to this the model throws error. As i had trained it for lesser number of columns. How do i handle these unknown categories while doing data transformation(one hot encoding).
Posts: 1
Participants: 1