Displaying 1 result from an estimated 1 matches for "kerckhoven".
2006 Jul 03
0
Questions concerning function 'svm' in e1071 package
...tted = 1, otherwise -1.
However, upon verifying with the 'predict' method, the outcomes do not
match up as they should. I've already tried to find information
concerning this issue on the R-help board, but to no avail. Can any of
you point me in the right direction?
Signed,
Johan Van Kerckhoven
ORSTAT and University Center of Statistics
Katholieke Universiteit Leuven
----------------------------------------------------------------------
#initialization of the problem
rm(list=ls())
library(e1071)
set.seed(2)
n = 50
d = 4
p = 0.5
x = matrix(rnorm(n*d), ncol=d)
mushift = c(1, -1, rep...