Hi I am Aadhithya I am trying to write a code to classify microarray data
(AML and ALL) using SVM in R 
my code goes like this :
library(e1071)
train<-read.table("Z:/Documents/train.txt",header=T);
test<-read.table("Z:/Documents/test.txt",header=T);
cl <- c(c(rep("ALL",10), rep("AML",10)));
model<- svm(train,cl);
pred <- predict(model,t(test));
table(pred,t(cl));

But I am not able to run it its giving me error . I will be really grateful
if someone can help me.Thanks in advance
-- 
View this message in context: 
http://r.789695.n4.nabble.com/Need-help-for-SVM-code-for-microarray-classification-tp2271652p2271652.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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.

Reply via email to