Dear all, thanks for giving me hope :) ;) can amy one just tell me to plot the svm model i need to plot 2 vaiables as y axis and x axis....but according to the nature of my dataset i have about 2000 variables?? does that mean i have to plot only two?? or is there a way to plot all of the 2000 and show how the svm model classify the dataset.
On Mon, Jun 17, 2013 at 11:43 PM, David Carlson <dcarl...@tamu.edu> wrote: > It cannot be done because there is not enough time to create the > plot. In about a billion years the sun will be 10% brighter than > today and the oceans will start to boil away. You will still be > plotting genes when that happens. > > :-( > > ------------------------------------- > David > > -----Original Message----- > From: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] On Behalf Of Bert Gunter > Sent: Monday, June 17, 2013 2:11 PM > To: nofe ganmi > Cc: r-help@r-project.org > Subject: Re: [R] SVMREF infinte number of genes > > I think proving whether P = NP would be easier than plotting an > infinite number of genes.. > > ;-) > > -- Bert > > On Mon, Jun 17, 2013 at 11:49 AM, nofe ganmi <nghan...@gmail.com> > wrote: > > dear all, > > > > I am a student in cs 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, > > type="C-classification", kernel="linear" ) > > > > Now how to plot this infinte number of genes after classification > using > > SVM??? > > > > thanks > > > > [[alternative HTML version deleted]] > > > > ______________________________________________ > > 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. > > > > -- > > Bert Gunter > Genentech Nonclinical Biostatistics > > Internal Contact Info: > Phone: 467-7374 > Website: > http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/p > db-biostatistics/pdb-ncb-home.htm > > ______________________________________________ > 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. > > [[alternative HTML version deleted]] ______________________________________________ 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.