By normalizing across this boundary, you are allowing data from the future (test set) to leak into the present (training set) . This can’t and won’t happen in the real world.
By normalizing across this boundary, you are allowing data from the future (test set) to leak into the present (training set) . This can’t and won’t happen in the real world.