Skip to main content

All Questions

Filter by
Sorted by
Tagged with
-1 votes
2 answers
2k views

Should I use transformer.fit_transform(X_test, y_test) or not?

tl-dr: The function model.fit() is different from transformer.fit(). My idea is to make all transformations needed on the training set and after that on the test set with fit_transform in both. Hi! I'...
Antonio Caipora's user avatar