🔥 3-day streak
Databricks Certified Machine Learning Associate74 / 137
Question 74 of 137
A data scientist is preparing a feature named 'shirt_size' with categories 'S', 'M', 'L', and 'XL' for a gradient-boosted tree model. They want the encoding to preserve the natural order of the sizes while producing a single numeric column. Which feature engineering approach best fits this requirement?
Reviewed for accuracy · Report an issueNext question