Sorry, the previous was not right post.

I want to know the difference between following to methods of random forest.

1. epiG.rf <-randomForest(gamma~.,data=data, na.action = na.fail,ntree =
300,xtest = NULL, ytest = NULL,replace = T, proximity =F)

2. epiG.rf <-randomForest(x = data,,y = data$gamma, na.action =
na.fail,ntree = 300,xtest = NULL, ytest = NULL,replace = T, proximity =F)

which one is the correct form of random forest?

Thanls



On Sun, Oct 21, 2012 at 9:59 PM, Gyanendra Pokharel <
gyanendra.pokha...@gmail.com> wrote:

> Hi all,
> Can some one tell me the difference between the following two formulas?
>
> 1.  epiG.rf <-randomForest(gamma~.,data=data, na.action = na.fail,ntree =
> 300,xtest = NULL, ytest = NULL,replace = T, proximity =F)
> 2.epiG.rf <-randomForest(gamma~.,data=data, na.action = na.fail,ntree =
> 300,xtest = NULL, ytest = NULL,replace = T, proximity =F)
>
>
>

        [[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.

Reply via email to