Explore Library
FlashcardIntermediate

Fit Transformations on Training Only

Fit preprocessing on training data, then apply the same transform to test data.

Question

Why fit transformations on training data only?

Click to reveal answer