mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
57fecf181c
calculate precision, recall, F1, accuracy, etc. PR: 60726 Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
15 lines
710 B
Plaintext
15 lines
710 B
Plaintext
The "Statistics::Contingency" class helps you calculate several useful
|
|
statistical measures based on 2x2 "contingency tables". I use these measures
|
|
to help judge the results of automatic text categorization experiments, but
|
|
they are useful in other situations as well.
|
|
|
|
The general usage flow is to tally a whole bunch of results in the
|
|
"Statistics::Contingency" object, then query that object to obtain the
|
|
measures you are interested in. When all results have been collected, you
|
|
can get a report on accuracy, precision, recall, F1, and so on, with both
|
|
macro-averaging and micro-averaging over categories.
|
|
|
|
WWW: http://search.cpan.org/dist/Statistics-Contingency
|
|
|
|
Author: Ken Williams <kenw@ee.usyd.edu.au>
|