To avoid data leakage during transformation, one should fit the scaler on the _______ set and transform both the training and test sets.

  • Training
  • Validation
  • Test
  • Entire Dataset
To prevent data leakage, it's essential to fit a scaler on the training set (Option A) and then apply the same transformation to both the training and test sets. This ensures that the test set remains independent of the training data.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *