Hi I am facing an error after using ksvm() and/or svm() when I can call predict() it is giving me the error: Error in .local(object, ...) : test vector does not match model ! My dimentions of trainingset is 134 x 95 and validationset is 66 x 94 sample code of prediction: model.ksvm = ksvm(as.factor(Disposition) ~ ., data = trainingset, kernel = "rbfdot", kpar = list(sigma=0.05), C = 5, cross = 3) pred_valid = predict(model.ksvm, validationset, type = "decision") thanks [[alternative HTML version deleted]]