🔥 3-day streak
Databricks Certified Machine Learning Associate114 / 137
Question 114 of 137

You are building a Spark ML pipeline on a large distributed DataFrame that includes a categorical column 'region' with string values. You want to convert these strings into numeric indices and then one-hot encode them. Which sequence of pipeline stages correctly accomplishes this in Spark ML?

Reviewed for accuracy · Report an issueNext question