I am doing some exploratory data analysis on a custom dataset. I have 3 different data-frames:
- df1 belonging to class 0.
- df2 belonging to class 1.
- df3 belonging to class 2.
I am doing k-means clustering on the combined data-frame (by combining df1, df2, df3). Should I remove outliers before combining the data-frames or after combining the data-frames?
I am removing outliers using IQR technique. I have been doing it before combining the data-frame but I was wondering if it is the right approach.