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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.09_1 | 0.09_1 | 0.09_1 | 0.09_1 | 0.09_1 |
| FreeBSD:14:quarterly | 0.09_1 | 0.09_1 | n/a | 0.09_1 | 0.09_1 |
| FreeBSD:15:latest | 0.09_1 | 0.09_1 | n/a | 0.09_1 | 0.09_1 |
| FreeBSD:15:quarterly | 0.09_1 | 0.09_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.09_1 | 0.09_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
p5-Params-Validate>=0: devel/p5-Params-Validate
Runtime 1
p5-Params-Validate>=0: devel/p5-Params-Validate
The full lists below include those, and their dependencies in turn.
All build dependencies 5
All run dependencies 5
Required by 1
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
| File | Size | SHA256 |
|---|---|---|
| Statistics-Contingency-0.09.tar.gz | 15211 | 4b50621c4974937564ce76b523e9073db50e67de6f5bfae92f088b3ae22975bf |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.