Hi R-experts,

I'm using the svm implentation available in the library 'e1071', 
to train a classifier using cross validation

(...)

obj = tune.svm(truth ~ ., 
data=examples,cost=2^(grid.cost),gamma=2^(grid.gamma),cross=k)

and to save the best model into a file as ?write.svm suggests:

write.svm(obj$best.model, svm.file = "Rdata.svm",scale.file = 
"Rdata_svm.scale") 

My problem is when I want to read/load the Rdata.svm
which contains the R object corresponding to the svm model.
I didn't find the way to recover the data saved in Rdata.svm using
write.svm.
how can I do that?

Thanks,

John

_________________________________________________________________


        [[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.

Reply via email to