[R] Need help for SVM code for microarray classification

Aadhithya sistaadhi at gmail.com
Tue Jun 29 20:57:08 CEST 2010


Hi Steve
    I had done one more thing I had taken the transpose of both my test and
train files as given below:
model<- svm(t(train),cl);
pred <- predict(model,t(test));
And the result I had got is :
Result:
pred   ALL     AML
  ALL   10       0
  AML   0       10

why is there a difference in the result which I had given in the before
post?does this mean doing transpose classifies the samples better? or is
there any reason for this?
Thanks a ton in advance.
-Aadhithya
-- 
View this message in context: http://r.789695.n4.nabble.com/Need-help-for-SVM-code-for-microarray-classification-tp2271652p2272590.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list