🔥 3-day streak
Databricks Certified Machine Learning Associate85 / 137
Question 85 of 137
A data scientist is preparing a dataset of customer features for a logistic regression model. Their preprocessing code applies a StandardScaler to the entire dataset first, and only afterward splits the data into training and test sets using train_test_split. During review, a colleague flags this as a methodological problem. What is the primary issue with this workflow ordering?
Reviewed for accuracy · Report an issueNext question