search for: baoqiang

Displaying 20 results from an estimated 23 matches for "baoqiang".

Did you mean: gaoqiang
2006 Mar 29
6
which function to use to do classification
Dear All, I have a data, suppose it is an N*M matrix data. All I want is to classify it into, let see, 3 classes. Which method(s) do you think is(are) appropriate for this purpose? Any reference will be welcome! Thanks! Best, Baoqiang Cao
2006 Apr 18
4
how to change legend size in a figure
...ves smaller so that it can fit the figure itself? The commands I used for ploting are: plot(x1,y1,col=1,lty=1) lines(x2,y2,col=2,lty=2) ... legend(0.3,0.4,c("name1","name2",...),col=1:20,lty=1:20) Any tips for making the legend fit the figure will very welcome! Thanks! Best, Baoqiang Cao
2007 Mar 22
3
"digits" doesn't work in format function
...-0.15980138" "-0.08359873" "-0.37866688" >m[1:10] [1] 0.017878 -0.147603 -0.458060 -0.678585 -0.645917 -0.059181 -0.256323 [8] -0.159801 -0.083599 -0.378667 I'm expecting something like, 0.02 -0.15 ... Any advice how to fix it will be highly appreciated! Best, Baoqiang [[alternative HTML version deleted]]
2006 Nov 08
2
interprete wilcox.test results
..."g") I got pvalue = 0.999999998111886. I suppose because I am test them with same null hypothesis, I should get same result (pvalue). Since I am not a savy statistician at all, maybe that is a wrong assumption, could anyone please point out the right interpretion please? Thanks! Best, Baoqiang
2005 Jul 22
2
about nnet package
...neural network with my training data by using nnet package, then evaluate it with a evaluation set. My problem here is that, I need the trained network to be used in future, so, what should I store? and How? Any other options other than nnet package? Any example will be highly appreciated! Best, Baoqiang Cao
2005 Sep 15
2
about cutree
Hi Everyone, I'm trying to use cutree to get the clusters after hclust. What I used is: mycluster<-cutree(cnclust,h=0.5) Now, my problem is, how can I get the actual clusters? Thanks! Best, Baoqiang Cao
2012 Oct 10
2
lm on matrix data
...ws) by 220 (columns). Here is what I got: py <- predict(lm(trainy ~ trainx ), data.frame(testx)) Warning message: 'newdata' had 240 rows but variable(s) found have 492 rows The fitting formula I intended is: trainy ~ trainx[,1] + trainx[,2] + .. +trainx[,220]. Any help, please? Best, Baoqiang
2010 Nov 30
5
how to know if a file exists on a remote server?
Hi, I'd like to download some data files from a remote server, the problem here is that some of the files actually don't exist, which I don't know before try. Just wondering if a function in R could tell me if a file exists on a remote server? I searched this mailing list and after read severals mails, still clueless. Any help will be highly appreciated. B.C.
2011 May 16
2
about spearman and kendal correlation coefficient calculation in "cor"
...] > target[j]) && (experi[i] > experi[j])) { disaccord=disaccord+1 } } } > (accord-disaccord)/(N*(N-1)/2) [1] -0.2181818 This is also different with from "cor", which is 0.183. Anybody could help me out explaining the right answer? Thanks in advance! Baoqiang
2012 Nov 27
2
in par(mfrow=c(1, 2)), how to keep one half plot static and the other half changing
..., y) while(1) { ... pxy <- locator(1, type="p") #select data point (dx,dy) based on pxy for a new plot .. plot(dx,dy) } I ended up with the left plot is overwritten by plot(dx,dy). Is there anyway to keep the left side intact while changing plots on the right side? Thanks a lot! Baoqiang
2005 Jul 13
1
any reference to get started clustering
Dear All, Just start to use the long expected R, my focus will be doing clustering on microarray data, just wonder, anyone can show me any references to conquer the steep learning curve? Thanks! Best regards, Baoqiang Cao
2005 Jul 22
2
setting weights for such a two-class problem in nnet and svm
...t 1 for class one, 49 for class 2. How do I do that? Just weights=49? Meanwhile I'd like to try svm(e1071), again, how do I setup "class.weights"? Thanks. BTW: Many thanks to Jake and Uwe for their answers about using "save" to store trained networks! Best regards, Baoqiang Cao
2007 Oct 28
1
how to download pdb structure files?
...'ftp://ftp.wwpdb.org/pub/pdb/data/structures/all/pdb' Error in download.file(url = "ftp://ftp.wwpdb.org/pub/pdb/data/structures/all/pdb", : cannot open URL 'ftp://ftp.wwpdb.org/pub/pdb/data/structures/all/pdb' Any tips to fix it please? Thanks in advance. Best, Baoqiang [[alternative HTML version deleted]]
2006 Jun 21
4
help on ploting various lines
Dear All, I tried to plot a variety of lines(curves) on same figure. What I did is, plot(x=x1,y=y1) lines(x=x2,y=y2) lines(x=x3,y=y3) ... In my data, the maximum of y1 is much smaller than those maximums of other y vectors. So, in the figure I got, there are some curves which are not complete, I mean, they were cut off at the maximum of y1 at the y axis. Could anybody point out some right
2005 Jul 22
0
setting weights for such a two-class problem in nnet andsvm
======= At 2005-07-22, 12:56:12 you wrote: ======= >On Fri, 22 Jul 2005, Baoqiang Cao wrote: > >> Dear All, >> >> I have such a two-class problem, one class is very large(~98% of total), >> and the other is just 2%. According to manual of nnet, I need setup >> "weights", so I intend to set 1 for class one, 49 for class 2. How do I &g...
2005 Jul 27
1
how to get actual value from predict in nnet?
...s",50), rep("c", 50), rep("v", 50))) ir.nn2 <- nnet(species ~ ., data = ird, subset = samp, size = 2, rang = 0.1, decay = 5e-4, maxit = 200) table(ird$species[-samp], predict(ir.nn2, ird[-samp,], type = "class")) Best regards, Baoqiang Cao
2005 Sep 09
0
usage of the trianed networks by nnet without R enviromen t
...ously you'll also need the C source for the code that predict.nnet() calls, and modify those as needed to strip out dependency on R, if possible. Andy > -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Baoqiang Cao > Sent: Friday, September 09, 2005 11:49 AM > To: R-help > Subject: [R] usage of the trianed networks by nnet without R > enviroment > > > Dear All, > > The nnet function in R is wonderful. I used it to train a > network, and I'd like to use that network w...
2010 Dec 06
1
use pcls to solve least square fitting with constraints
...> M$C = matrix(0,0,0) > p<-pcls(M) Error in t(qr.qty(qra, t(M$X))[(j + 1):k, ]) : error in evaluating the argument 'x' in selecting a method for function 't' After some searches, I still couldn't find any solution, any help and/or advice will be highly appreciated! Baoqiang
2006 Oct 06
2
hist plot
Hi there, I really couldn't find out how to plot histogram with point/line instead of rectangle for each bin? Any help please? Thanks! Best, -Cao
2005 Jul 14
2
Fwd: Re: East Asian language
---- Original message ---- >Date: Thu, 14 Jul 2005 19:50:41 +0200 >From: Uwe Ligges <ligges at statistik.uni-dortmund.de> >Subject: Re: [R] East Asian language >To: Nan Lin <nlin at math.wustl.edu> >Cc: r-help at stat.math.ethz.ch > >Nan Lin wrote: > >> Dear all, >> >> I just installed R 2.1.1. The installation program automatically