On Thu, 16 Jun 2011, Jinrui Xu wrote:
Thanks for your feedback.
I think the problem is not because of many levels. There is only 1 column
with two levels as class labels in my input data.
Below is my code. The commandline "data.cforest.varimp <-
varimp(data.cforest, conditional = TRUE)" rep
Sorry, Patrick and other victims. My bad~~
The data file can be accessed at
http://zhanglab.ccmb.med.umich.edu/TM-fold/featureSelection_rec.vectors
The code is attached below. Error happens at "data.cforest.varimp <-
varimp(data.cforest, conditional = TRUE)": "Error in
model.matrix.default
On Thu, 16-Jun-2011 at 09:19AM -0400, Jinrui Xu wrote:
> Thanks for your feedback.
> I think the problem is not because of many levels. There is only 1
> column with two levels as class labels in my input data.
>
> Below is my code. The commandline "data.cforest.varimp <-
> varimp(data.cforest
Hello everyone,
I use the following command lines to get important variable from training
dataset.
data.controls <- cforest_unbiased(ntree=500, mtry=3)
data.cforest <- cforest(V1~.,data=rawinput,controls=data.controls)
data.cforest.varimp <- varimp(data.cforest, conditional = TRUE)
I got er
4 matches
Mail list logo