🔥 3-day streak
Databricks Certified Machine Learning Associate25 / 137
Question 25 of 137
A data scientist is building a scikit-learn pipeline to preprocess a dataset before training a logistic regression model. The dataset contains numeric features with widely different ranges and several rows with missing values in those numeric columns. The scientist wants to (1) impute missing numeric values with the column median and (2) standardize the features. To avoid data leakage and produce correct results, in what order should these steps be arranged inside the pipeline, and how should they be fit?
Reviewed for accuracy · Report an issueNext question