Opening the paper…
Figure from the original question paper Figure from the original question paper You’re working with a dataset that consists of training data (‘train\_data’) and test data (‘test\_data’). The dataset contains both numerical and categorical features. You decide to employ a combination of ‘StandardScaler’ (for numerical columns) and ‘OneHotEncoder’ (for categorical columns) from ‘scikit-learn’ using the ‘ColumnTransformer’ utility. Which of the following actions is MOST likely to introduce data leakage or potential modeling issues?