[R] assessing performance of a classfication method

Allan Strand stranda at cofc.edu
Wed Mar 20 14:41:49 CET 2002


R-help comes through again.  I had several responses to my question
yesterday (all within an hour of posting).  I have found two similar
solutions to my problem.  The first was suggested by Ron Wehrens and
is found in his CompClus package (http://www-cac.sci.kun.nl/cac/).
The other came from David Meyer and is found below.

Thanks everyone,
a.

David Meyer <david.meyer at ci.tuwien.ac.at> writes:
> Allan Strand wrote:
> 
> Apart from matchClasses(), you might look at classAgreement(), also in
> e1071.
> 
> g.
> -d
> 
> > 
> > Hi all,
> > 
> > I have developed a routine to classify observations based upon
> > clustering.  In my current case there are 5 classes, so the data at
> > the end of the classification look like this:

snip

> > 
> > I would like to compare the results of my scheme to the "known"
> > simulated classes and assess its error rate.  AS I start, I would just
> > like to know the number of observations that were mis-classified.  No
> > doubt this is a brain-dead question to those who work in this field,
> > but this is my first foray into such analyses.  Ultimately I was
> > wondering of there is an R package that performs such analyses out of
> > the box or if anyone who does these kind of analyses routinely has a
> > code snippet I could use as an example.
snip
> 
> -- 
> 	Mag. David Meyer		Wiedner Hauptstrasse 8-10
> Vienna University of Technology		A-1040 Vienna/AUSTRIA
>        Department for			Tel.: (+431) 58801/10772
> Statistics and Probability Theory	mail: david.meyer at ci.tuwien.ac.at

-- 
Allan Strand,   Biology    http://linum.cofc.edu
College of Charleston      Ph. (843) 953-8085
Charleston, SC 29424       Fax (843) 953-5453
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list