nerdexam
AmazonAmazon

MLS-C01 · Question #146

MLS-C01 Question #146: Real Exam Question with Answer & Explanation

The correct answer is B: Split the dataset into training, validation, and test sets.. https://stackoverflow.com/questions/49444262/normalize-data-before-or-after-split-of-training- and-testing-data Fit the scaler on the train set and use the same fit to transform train, val and test sets.

Modeling

Question

A Data Scientist has explored and sanitized a dataset in preparation for the modeling phase of a supervised learning task. The statistical dispersion can vary widely between features, sometimes by several orders of magnitude. Before moving on to the modeling phase, the Data Scientist wants to ensure that the prediction performance on the production data is as accurate as possible. Which sequence of steps should the Data Scientist take to meet these requirements?

Options

  • AApply random sampling to the dataset.
  • BSplit the dataset into training, validation, and test sets.
  • CRescale the dataset.
  • DSplit the dataset into training, validation, and test sets.

Explanation

https://stackoverflow.com/questions/49444262/normalize-data-before-or-after-split-of-training- and-testing-data Fit the scaler on the train set and use the same fit to transform train, val and test sets.

Topics

#Data Splitting#Feature Scaling#Data Preprocessing#Model Evaluation

Community Discussion

No community discussion yet for this question.

Full MLS-C01 PracticeBrowse All MLS-C01 Questions