What the Leaked Scaler Gives Away

Statistics for MLHard+30 XP+30

What the Leaked Scaler Gives Away

A researcher has 800800800 labelled rows. Before splitting, she computes the mean and standard deviation of one feature over all 800800800 rows:

μall=47.5,σall=5\mu_{\text{all}} = 47.5, \qquad \sigma_{\text{all}} = 5μall​=47.5,σall​=5

She standardises every one of the 800800800 rows with that single fitted scaler,

z=x−μallσallz = \frac{x - \mu_{\text{all}}}{\sigma_{\text{all}}}z=σall​x−μall​​

and only afterwards splits the rows into a training set of 600600600 and a validation set of 200200200.

The 600600600 training rows have a raw feature mean of 46.046.046.0. The validation rows are never shown to you.

What is the mean of the standardised values within the training set, and within the validation set?

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.

Select all that apply.