I have some data that are training data. the feature size of training data is n but feature size of my test data is m. which one of classifiers can do classify this data?
The bottom line is that you can only use the features that are common to both the training and test data sets. Example:
- Train: x1, x2, x3, x4, x5
- Test: x2, x3, x5
Then you can only train and test using x2, x3, x5. You will remove features x1 and x4 when you are training. In R x[,-c(1,4)]