Hi, Ruben:

fit$confusion

if you provide your test data, then you can also access the confusion
matrix of test data by

fit$test$confusion

there are details of how to use randomForest by reading:
?randomForest

HTH,

Weiwei

On 4/22/07, Ruben Feldman <[EMAIL PROTECTED]> 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.
>


-- 
Weiwei Shi, Ph.D
Research Scientist
GeneGO, Inc.

"Did you always know?"
"No, I did not. But I believed..."
---Matrix III

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

Reply via email to