Re: [R] Removing cell borders from svg or eps in levelplot

2014-02-06 Thread Soumyadeep Nandi
Hi Pascal, It worked! Thanks a lot :-) Soumyadeep From: skalp.oet...@gmail.com [skalp.oet...@gmail.com] On Behalf Of Pascal Oettli [kri...@ymail.com] Sent: Thursday, February 06, 2014 3:04 AM To: Soumyadeep Nandi Cc: r-help@r-project.org Subject: Re: [R

Re: [R] randomForest.error: length of response must be the same as predictors

2008-07-03 Thread Soumyadeep Nandi
Gavin Simpson <[EMAIL PROTECTED]> wrote: > On Thu, 2008-07-03 at 12:11 +0530, Soumyadeep Nandi wrote: > > My data looks like: > > A,B,C,D,Class > > 1,2,0,2,cl1 > > 1,5,1,9,cl1 > > 3,2,1,2,cl2 > > 7,2,1,2,cl2 > > 2,2,1,2,cl2 > > 1,2,1,5,cl2 &

[R] randomForest.error: length of response must be the same as predictors

2008-07-02 Thread Soumyadeep Nandi
My data looks like: A,B,C,D,Class 1,2,0,2,cl1 1,5,1,9,cl1 3,2,1,2,cl2 7,2,1,2,cl2 2,2,1,2,cl2 1,2,1,5,cl2 0,2,1,2,cl2 4,2,1,2,cl2 3,5,1,2,cl2 3,2,12,3,cl2 3,2,4,2,cl2 **The steps followed are: trainfile <- read.csv("TrainFile",head=TRUE) datatrain <- subset(trainfile,select=c(-Class)) classtrain <

[R] randomForest training error

2008-07-02 Thread Soumyadeep Nandi
While trying to train randomForest with my dataset, I am ending up with the following error Error in randomForest.default(datatrain, classtrain) : length of response must be the same as predictors My data looks like: A,B,C,D,Class 1,2,1,2,cl1 1,2,1,2,cl1 3,2,1,2,cl2 3,2,1,2,cl2 3,2,1,2,cl2 3,2,1

Re: [R] Trouble with FUN(newX[, i], ...)

2008-06-17 Thread Soumyadeep Nandi
Hi, I found the error. In my dataset there was some missing values those were blank. I have replaced the values with very small numeric values and it seems to be working. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

[R] Trouble with FUN(newX[, i], ...)

2008-06-17 Thread Soumyadeep Nandi
Hi, I am trying to train svm with some training data of about 4000 rows and 4000 columns. While running svm function I am ending up with the following error. trainfile <- read.csv('0_train_0016435.csv',head=TRUE,na.strings = "NULL") datatrain <- subset(trainfile,select=c(-Class)) model <- svm(d

Re: [R] training svm

2008-03-11 Thread Soumyadeep nandi
ience with using PCA myself. I have no experience with or knowledge about Singular Value Decomposition whatsoever, so I'm afraid I can't provide any insight into that. ~ Oldrich On Fri, Mar 7, 2008 at 9:48 AM, Soumyadeep nandi wrote: > Great, I too had the same problem of large siz

Re: [R] training svm

2008-03-06 Thread Soumyadeep nandi
ote: A rather technical workaround I see could be adding a row with a different value. But if a column only ever has one value, then it contributes nothing to the model and I see no reason why it would have to be kept. ~ Oldrich Kruza On Fri, Mar 7, 2008 at 6:45 AM, Soumyadeep nandi wrote: > What sh

Re: [R] training svm

2008-03-06 Thread Soumyadeep nandi
What should I do if I need to train svm() with data having same value across all rows in some columns. These must be the important features of the class and we cant exclude these columns to build up models. The error I am getting is: Error in predict.svm(ret, xhold) : Model is empty! In addition

[R] Problem training svm with columns having same values

2008-03-06 Thread Soumyadeep nandi
What should I do if I need to train svm() with data having same value across all rows in number of columns. These must be the deterministic features of the class and we cant exclude these columns to build model. The error I am getting is: Error in predict.svm(ret, xhold) : Model is empty! Is t

[R] Problem training svm with columns having same values

2008-03-06 Thread Soumyadeep nandi
What should I do if I need to train svm() with data having same value in number of columns. These must be the deterministic features for the class. Is there anyway to over come this trouble? Regards - [[alternative HTML version deleted]]