What does this implement/fix? Explain your changes.
Currently, this leads to a bug when validation data has fewer classes
than the training data since the onehot_encoder will be fit to the
validation data categories.
Does your contribution introduce a new dependency? If yes, which one?
Reference Issues/PRs
Fixes sktime/sktime#5864
What does this implement/fix? Explain your changes.
Currently, this leads to a bug when validation data has fewer classes than the training data since the onehot_encoder will be fit to the validation data categories.
Does your contribution introduce a new dependency? If yes, which one?
No new dependency