QuestionQ82
VerifiedData ProcessingA data scientist is using Spark ML to engineer features for an exploratory machine-learning project. They want to standardize the features with the following code block:

During code review, a colleague raises a concern that the features are standardized before the data is divided into training and test sets. Which change can the data scientist make to address this concern?
Community Discussion