I train the model using train function in caret R package. When I test the model in my test data which has 45 samples, the predict function only return the label of the classes for only 43 samples. I attached the rda data which contain the test data and my model. I appreciate your help. test_data+model
Here is the code I use:
dim( test_data[,!(colnames(test_data) %in% c('lable')) ])
45 179
dim(predict(mod, test_data[,!(colnames(test_data) %in% c('lable')) ],type="prob"))
43 2
Regards