I created a support vector machine for text classification. However, when I want to use it to predict new data, I get the following error message: Error in predict.svm(model, container@classification_matrix, prob = TRUE, : test data does not match model !
I could not figure out why I get this error.
The structure of the two containers look the following:
I would be really thankful if somebody could help me with this!
Best Regards and thank you a lot!