BSD Ports

math/p5-Statistics-Contingency 0.09p0 OpenBSD

calculate precision, recall, F1, accuracy, etc

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
math, perl5

Description

The Statistics::Contingency class helps you calculate several useful statistical measures based on 2x2 "contingency tables". These can be used for 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.

In the other systems

SystemPortVersion
OpenBSDmath/p5-Statistics-Contingency0.09p0
FreeBSDmath/p5-Statistics-Contingency0.09_1
DragonFlymath/p5-Statistics-Contingency0.09_1

Install

Binary package:

pkg_add p5-Statistics-Contingency

From the ports tree:

cd /usr/ports/math/p5-Statistics-Contingency && make install

Dependencies

Build dependencies 1
Run dependencies 1

No port depends on this one.