I'm currently trying to use fancyimpute KNN to impute some data separate train/test sets. However, I'm running into the problem of not being able to do fit_transform
on train data then using only transform on the test set because it appears that:
transform not implemented! This imputation algorithm likely doesn't support inductive mode. Only fit_transform is supported at this time.
Is it alright to concat the two sets for imputing before splitting them after? Or is my approach even correct by calling only fit on the train set before applying that to impute the test set? Should I be calling separate fit_transform
on both imputation?
Thanks!