Dear Qing,
look at the file "svminternals.txt" in the /doc subdirectory of the
installed e1071 package (or inst/doc in the source package), that should
help.
David
>
> In the svm() function in the package e1071, is there anyway to get the
> signed distance of a sample point to the separating hyperplane in the
> feature space? Namely, if the separating hyperplane is given by f(x) =
> h(x)^T * w - rho, is there any way to get f(x)?
>
> Also, in the returned values of the function svm(), what does "$coefs"
> mean? It is said to be the "corresponding coefficients times the
> training labels", but I don't know what is that "corresponding
> coefficients" denoting?
______________________________________________
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.