Hi,
On Jul 7, 2009, at 6:44 PM, Michael wrote:
What's wrong? Very sad about this...
model <- ksvm(x=mytraindata[, -1], y=factor(mytraindata[, 1]),
prob.model=T)
Error in .local(x, ...) : x and y don't match.
Same problem you're having with the svm in e1071: I bet your data is
wonky.
split your data into the x and y vars first and inspect it to make
sure that they're "clean."
-steve
--
Steve Lianoglou
Graduate Student: Physiology, Biophysics and Systems Biology
Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos
______________________________________________
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.