[R] e1071::SVM calculate distance to separating hyperplane

From: Vermeiren, Hans [VRCBE] <hvermei1_at_vrcbe.jnj.com>
Date: Thu 05 Jan 2006 - 03:17:08 EST

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,

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jan 05 04:39:24 2006

This archive was generated by hypermail 2.1.8 : Thu 05 Jan 2006 - 06:01:00 EST