[R] e1071/svm?

David Meyer david.meyer at ci.tuwien.ac.at
Thu Dec 20 13:02:58 CET 2001


Alexander Skomorokhov wrote:
> 
> Hello,
> 
> I use function "svm" (interface to libsvm) from package e1071. It works just
> fine.
> And I may predict with function "predict" and svm model trained by function
> "svm".
> What I need is moving results of svm training to another application (non-R)
> and
> perform prediction there. But function "svm" returns list of support vectors
> only
> and doesn't return coefficients of separating hyperplane (w).

It does (element ``coefs'' of the returned object).

g.
-d

> 
> So, the question is how to use results of svm training to write (in other
> language)
> prediction function for linear and nonlinear cases?
> 
> Thanks,
> Alexander.
> 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

-- 
	Mag. David Meyer		Wiedner Hauptstrasse 8-10
Vienna University of Technology		A-1040 Vienna/AUSTRIA
       Department for			Tel.: (+431) 58801/10772
Statistics and Probability Theory	mail: david.meyer at ci.tuwien.ac.at
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list