Thanks for watching my video! Want to learn more about Data Science? Check out my 40+ video playlist on Data Science Courses and Projects here: th-cam.com/play/PLTsu3dft3CWiow7L7WrCd27ohlra_5PGH.html&si=hHbg8KNsi5cQa0vB
Fitting on X_test is a big no! X_test is meant to be unseen data for testing the model's performance. If you fit on X_test, you're leaking information from the test data into the model, which defeats the whole purpose of having a test set.
Thanks for watching my video! Want to learn more about Data Science? Check out my 40+ video playlist on Data Science Courses and Projects here: th-cam.com/play/PLTsu3dft3CWiow7L7WrCd27ohlra_5PGH.html&si=hHbg8KNsi5cQa0vB
After a long time, new project video 🎉
Fitting on X_test is a big no! X_test is meant to be unseen data for testing the model's performance. If you fit on X_test, you're leaking information from the test data into the model, which defeats the whole purpose of having a test set.
Hello, we export scaler before fitting it into test set so we are not having data leakage. We export after fitting it into training set