You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
If I'm correct, we cannot use any information from test data when preprocessing data.
However, your code applied fit_transform() to train and test data.
This means train data can contain information from test data and effects accuracy.
Please correct me if my idea is wrong, thank you.
The text was updated successfully, but these errors were encountered:
shure-dev
changed the title
Leakage: Must not use test data when fitting MinMaxScaler()
Data Leakage: Must not use test data when fitting MinMaxScaler()
Apr 19, 2023
shure-dev
changed the title
Data Leakage: Must not use test data when fitting MinMaxScaler()
[[Data Leakage]]: Must not use test data when fitting MinMaxScaler()
Apr 19, 2023
shure-dev
changed the title
[[Data Leakage]]: Must not use test data when fitting MinMaxScaler()
[[Data Leakage !!!]]: Must not use test data when fitting MinMaxScaler()
Apr 19, 2023
shure-dev
changed the title
[[Data Leakage !!!]]: Must not use test data when fitting MinMaxScaler()
Data Leakage !!!: Must not use test data when fitting MinMaxScaler()
Apr 19, 2023
shure-dev
changed the title
Data Leakage !!!: Must not use test data when fitting MinMaxScaler()
⚠️ Data Leakage: Must not use test data when fitting MinMaxScaler()
Apr 19, 2023
Probably, I found a serious error.
If I'm correct, we cannot use any information from test data when preprocessing data.
However, your code applied
fit_transform()
to train and test data.This means train data can contain information from test data and effects accuracy.
Please correct me if my idea is wrong, thank you.
The text was updated successfully, but these errors were encountered: