🔥 3-day streak
Databricks Certified Machine Learning Associate73 / 137
Question 73 of 137
A data scientist fits a scikit-learn OneHotEncoder on a training set containing a categorical 'region' column with values {'North', 'South', 'East'}. During batch inference, the incoming data contains a new value 'West' that was never seen during training. With the encoder's default configuration, what happens, and what is the recommended fix so inference does not fail?
Reviewed for accuracy · Report an issueNext question