cleaning, and set values to -1 if categorical column values are not in both train and test set