All Questions
2 questions
1
vote
0
answers
282
views
OneHotEncoding and Scaler in Pipeline, avoid data leak?
so I have my data and split it in the beginning in test and train set.
Then I apply following Pipelines on it:
...
2
votes
1
answer
699
views
One-Hot Encoding and Feature Engineering While Avoiding Data Leakage
I have a Pandas dataframe for which I've performed some actions over categorical features:
Feature Engineering
One-Hot Encoding
Let's say that in my dataset I have the features "person_income" and "...