Hello, I'm using the e1071 package for training an SVM. It seems to be working well.
This question has two parts: 1) Once I've trained an SVM model, I want to USE it within R at a later date to predict various new data. I see the write.svm command, but don't know how to LOAD the model back in so that I can use it tomorrow. How can I do this? 2) I would like to add the prediction values(confidence) as a column in my original data.frame. (Again, to be used for more analysis at a later date.) I am using "predictions <- prediction(model,traindata)" and that gives me a huge object with all the predictions. Is there a single command that would just add the predictions, or do I need to do some clever data manipulation? Thanks! -N [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.