🔥 3-day streak
Databricks Certified Machine Learning Associate32 / 137
Question 32 of 137

A data scientist has a Spark DataFrame containing sales data for 500 retail stores, with columns store_id, week, features, and target. They want to train a separate scikit-learn regression model for each store in parallel across the cluster, returning a DataFrame with one row per store containing the store_id and its model's RMSE. Which approach correctly accomplishes this in a single distributed operation?

Reviewed for accuracy · Report an issueNext question