search for: svmpredictionrmse

Displaying 1 result from an estimated 1 matches for "svmpredictionrmse".

2017 Jul 06
0
svm.formula versus svm.default - different results
...use this Iris one is a classification problem. ?am i writing properly the S3 object for svm.formula? This is what I'm trying: TYPE1 mod = svm(train[, 8] ~ . , data= train) pred.svm <- predict (mod, train) error.svm <- train$revenues - pred.svm pred.svm.test <- predict (mod, test) svmPredictionRMSE <- rmse(error.svm) 0.05239259 error.svm.test <- test$revenues - pred.svm.test svmPredictionRMSE.test <- rmse(error.svm.test) 0.06932511 TYPE2 mod.1 = svm(train[, -8] , train[, 8]) pred.1.svm <- predict (mod.1, train[, -8]) error.1.svm <- train$revenues - pred.1.svm rmse(error.1.s...