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