Displaying 1 result from an estimated 1 matches for "representeda".
Did you mean:
represented
2013 Jun 17
2
SVMREF infinte number of genes
...college. I would like to know how to plot infinte
number of genes after using the svm.
the data set i have consists of
x which is a matrix of 39 cancer patients [rows] and 2000 gene names
[colmns]. each cell is the value of the gene for a particular patient.
there are two types of cancer people representedas factor y.
here is the code:
library(e1071)
#load database
db <-
read.csv(file="databases\\colon-cancer\\colon-cancer.csv",head=FALSE,sep=",")
x = as.matrix(db[,1:(ncol(db)-1)])
y = as.factor(db[,ncol(db)])
svmModel = svm(x, y, cost = 10, cachesize=500, scale=F,
typ...