Getting repeated results in SVM in R
Getting repeated results in SVM in R I'm trying to predict using SVM from R package "e1071". But I'm getting repeated values as predicted outcomes. I have run this several times but getting same results. Please help me to find what wrong is going here. library(e1071) tuneResult <- tune(svm,y~.,data=calibration.data,ranges = list(epsilon = seq(0,1,0.1), cost = 2^(2:9))) tunedModel <- tuneResult$best.model predict.data<-predict(tunedModel,prediction.data) predict.data 2006-03-01 2006-04-01 2006-05-01 2006-06-01 2006-07-01 2006-08-01 2006-09-01 2006-10-01 2006-11-01 2006-12-01 2007-01-01 2007-02-01 2007-03-01 2007-04-01 2007-05-01 0.05798676 0.05798676 0.05798676 0.05798676 0.05798676 0.05798676 0.05798676 0.05798676 0.05798676 0.05798676 0.05798676 0.05798676 0.05798676 0.05798676 0.05798676 2007-06-01 2007-07-01 2007-08-01 2007-09-01 2007-10-01 2007-11-01 2007-12-01 2008-01-01 2008-02-01 2008-03-01 2008-04-01 2008-05-01 2008-06-01 2008-07-01 2008-08-01 0.05798...