I have tuned my svm model by setting ranges of 5-5 cost and gamma values using 'e1071' package of r. But the problem comes when I use this model for prediction. The above error has popped up on screen.

Can anyone suggest what should be done in order to make predictions done using this model?

Thanks in advance!

Similar questions and discussions