FreeBSD Ports

math/p5-Statistics-Contingency 0.09_1

Calculate precision, recall, F1, accuracy, etc

Repository
FreeBSD ports
Maintainer
[email protected]
Categories
math, perl5
Package size
9.1 KiB, 16.6 KiB installed

Description

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.

Install

As a binary package — by origin, or by package name:

pkg install math/p5-Statistics-Contingency
pkg install p5-Statistics-Contingency

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Statistics-Contingency>0:math/p5-Statistics-Contingency

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.09_10.09_10.09_10.09_10.09_1
FreeBSD:14:quarterly0.09_10.09_1n/a0.09_10.09_1
FreeBSD:15:latest0.09_10.09_1n/a0.09_10.09_1
FreeBSD:15:quarterly0.09_10.09_1n/an/an/a
FreeBSD:16:latest0.09_10.09_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

The full lists below include those, and their dependencies in turn.

All build dependencies 5
All run dependencies 5

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%PERL5_MAN3%%/Statistics::Contingency.3.gz
  • %%SITE_PERL%%/Statistics/Contingency.pm
distinfo 1
FileSizeSHA256
Statistics-Contingency-0.09.tar.gz152114b50621c4974937564ce76b523e9073db50e67de6f5bfae92f088b3ae22975bf
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.