I have binary medical data (6000,200) and I removed all duplicates (even though all records generated are of unique data and of different peoplepatients- they showed similar pattern and thus duplicate data came in dataset). Then I applied chi square test and discarded non-significant features. Then features reduced to 20 from 200 features...
So now I again checked for duplicates and found only 100 unique samples in the data set (that means only 100 patients data i have now). So now data is of shape (100,20) Is it okay to remove such duplicates even though they belong to different people prior to perform machie learning? But in real world data, duplicates are there... So I feel like I should keep them... May I know any literature also there to support this?