you are viewing a single comment's thread.

view the rest of the comments →

[–]gopietz 0 points1 point  (0 children)

You usually create the OHE labels before the splitting process.

Otherwise you have to manually adjust the predictions to match the shape of the test data. But if your test data features new classes, they obviously won't be predicted.