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
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
&
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 <
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
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
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
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
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
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
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
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]]
11 matches
Mail list logo