I am quite new to this blog, please excuse me if this question is not meant to this forum!
My question is, after creating a SVM model in R , I need to create a static Model out of it . What i mean to say, after this I just need to give my testset and predict the results.
I have to give this Model to the client , so they can just check the results for the test set.
example:-
#SVM Model
model<-svm(y~.,data = tr,cost =100,gamma = 1)
summary(model)
pred=fitted(model)
table(pred, y)
***********************************************************
#predicting my testdata
svm.pred <- predict(model, zz) # zz is my test set
conf.mat<-table(pred = svm.pred, true = testdata[,2])
(accuracy<-sum(diag(conf.mat))/num_of_testdata*100)
The clients just need to run the Model and give the Testset and check the results. How can i do it in R? Any suggestions and way to solve my problem will be quite useful !