e1071::SVM calculate distance to separating hyperplane

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

e1071::SVM calculate distance to separating hyperplane

Vermeiren, Hans [VRCBE]
Hi,
I know this question has been posed before, but I didnt find the answer in
the R-help archive, so please accept my sincere apologies for being
repetitive:
How can one (elegantly) calculate the distance between data points (in the
transformed space, I suppose) and the hyperplane that separates the 2
categories when using svm() from the e1071 library?

thanks a lot,
Hans

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html