[R] plot.randomForest default mtry values

Jim Porzak jporzak at gmail.com
Thu Mar 15 18:59:55 CET 2007


Joe,

I'm guessing you are doing a 2-category problem. The three lines are
OOB errors for overall error and each of the two categories.

There is only one default value of mtry. You can specify a different
mtry when the forest is built (in your call to randomForest()), but it
applies to the entire forest.

On 3/15/07, Joseph Retzer <joe_retzer at yahoo.com> wrote:
> When using the plot.randomForest method, 3 error series (by number of trees) are plotted. I suspect they are associated with the 3 default values of mtry that are used, for example, in the tuneRF method but I'm not sure. Could someone confirm?
>
> Also, is it possible to force different values of mtry to be used when creating the plots? I specified them explicitly in the randomForest statement but it did not seem to have an effect.
> Many thanks,
> Joe Retzer
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
>


-- 
HTH,
Jim Porzak
Loyalty Matrix Inc.
San Francisco, CA
http://www.linkedin.com/in/jimporzak



More information about the R-help mailing list