Start by marking which rows are train and which row is test.

highlighted = computed this step

Show the role column

Rows A and B are train rows. Row C is a test row.

A,B: trainC: testA,B:\text{ train}\quad C:\text{ test}
Train Only Preprocessing ExactlyExact min-max fit with train rows and full-data contrast.role tablerowrolexAtrain0Btrain10Ctest20fit parametersfitminmaxtrain-only A,B010full-data A,B,C contrast020train-only min-max fit and full-data contrastrowxtrain-only scaledfull-data scaledA000B1011/2C2021test row C changes the full-data fit; contrast onlyfit preprocessing on train rows only; full-data is contrasttest row changes numbers when it enters the fitdoes not claim: NOT leakage guarantee; NOT future performanceNOT accuracy; NOT generalization; NOT calibrated; NOT safeNOT best preprocessing; NOT probability truth

Read the x values

The x values are 0, 10, and 20.

xA=0,xB=10,xC=20x_A=0,\quad x_B=10,\quad x_C=20
Train Only Preprocessing ExactlyExact min-max fit with train rows and full-data contrast.role tablerowrolexAtrain0Btrain10Ctest20fit parametersfitminmaxtrain-only A,B010full-data A,B,C contrast020train-only min-max fit and full-data contrastrowxtrain-only scaledfull-data scaledA000B1011/2C2021test row C changes the full-data fit; contrast onlyfit preprocessing on train rows only; full-data is contrasttest row changes numbers when it enters the fitdoes not claim: NOT leakage guarantee; NOT future performanceNOT accuracy; NOT generalization; NOT calibrated; NOT safeNOT best preprocessing; NOT probability truth

C is visible but not fit

Row C is visible as the test row. It is not used to fit the train-only min and max.

fit uses train rows only\text{fit uses train rows only}
Train Only Preprocessing ExactlyExact min-max fit with train rows and full-data contrast.role tablerowrolexAtrain0Btrain10Ctest20fit parametersfitminmaxtrain-only A,B010full-data A,B,C contrast020train-only min-max fit and full-data contrastrowxtrain-only scaledfull-data scaledA000B1011/2C2021test row C changes the full-data fit; contrast onlyfit preprocessing on train rows only; full-data is contrasttest row changes numbers when it enters the fitdoes not claim: NOT leakage guarantee; NOT future performanceNOT accuracy; NOT generalization; NOT calibrated; NOT safeNOT best preprocessing; NOT probability truth