Rubin,

just type "fit" or print(fit). "confusion = TRUE" will not be recognized by
randomForest.

If you are not seeing the confusion matrix, MMS_ENABLED_HANDSET is not a
factor and, thus, a regression fit is being done, not classification as you
apparently desire.

On 4/22/07, Ruben Feldman <frubeng@gmail.com> wrote:
>
> Hi,
>
> I am trying to print out my confusion matrix after having created my
> random
> forest.
> I have put in this command:
> fit<-randomForest(MMS_ENABLED_HANDSET~.,data=dat,ntree=500,mtry=14,
> na.action=na.omit,confusion=TRUE)
> but I can't get it to give me the confusion matrix, anyone know how this
> works?
>
> Thansk!
>
> Ruben
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@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
San Francisco, CA
http://www.linkedin.com/in/jimporzak

	[[alternative HTML version deleted]]

