[R] question about adaboost.

Uwe Ligges ligges at statistik.tu-dortmund.de
Tue Apr 28 14:42:56 CEST 2009



Cecilia Lezama wrote:
> Hello,
> I would like to know how to obtain the misclassification error when performing a boosting analisis with ADABAG package?
> With:
>> prop.table(Tesis.boostcv$confusion)
> 
> I obtain the confusion matrix, but not the overall missclassification error.

Well, the misclassification error is

   1 - diag(table) / sum(table)

Uwe Ligges



> Thanks in advance,
> 
> 
> BSc. Cecilia Lezama
> Facultad de Ciencias - UDELAR
> Montevideo - Uruguay.
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at 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.




More information about the R-help mailing list