Skip to content
ml-recall

#ordinal-encoding

1 question from Data & Features

Timed test

1 question · 1 min · score and explanations at the end

Take a test
Q 1 / 1Score 0 / 0

Question 1: Single choice

easyAI-checkedData & Features

You fit scikit-learn's OrdinalEncoder on the categorical columns of the training data and then call transform on the validation data, which raises an error. What is the most likely cause?

Choose one option