Keeping train and test split criteria in mind, is it good to perform scaling before the split or after the split?

By drakula david in 22 Sep 2023 | 02:02 pm
drakula david

drakula david

Student
Posts: 128
Member since: 22 Sep 2023

Keeping train and test split criteria in mind, is it good to perform scaling before the split or after the split?

22 Sep 2023 | 02:02 pm
0 Likes
divas goyal

divas goyal

Student
Posts: 453
Member since: 22 Sep 2023

  1. Scaling Before or After Split:

    • It's generally recommended to scale features after the split to prevent data leakage from the test set to the training set.

22 Sep 2023 | 08:17 pm
0 Likes

Report

Please describe about the report short and clearly.