devel/p5-Algorithm-NaiveBayes 0.04_1 FreeBSD
Perl class performing Bayesian prediction of categories
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 13.2 KiB, 26.0 KiB installed
Description
This module implements the classic "Naive Bayes" machine learning algorithm. It is a well-studied probabilistic algorithm often used in automatic text categorization. Compared to other algorithms (kNN, SVM, Decision Trees), it's pretty fast and reasonably competitive in the quality of its results.
A paper by Fabrizio Sebastiani provides a really good introduction to text categorization: http://faure.iei.pi.cnr.it/~fabrizio/Publications/ACMCS02.pdf
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Algorithm-NaiveBayes | 0.04_1 |
| OpenBSD | math/p5-Algorithm-NaiveBayes | 0.04p1 |
| DragonFly | devel/p5-Algorithm-NaiveBayes | 0.04_1 |
Install
Binary package:
pkg install p5-Algorithm-NaiveBayes
From the ports tree:
cd /usr/ports/devel/p5-Algorithm-NaiveBayes/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Algorithm-NaiveBayes>0:devel/p5-Algorithm-NaiveBayes
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.04_1 | 0.04_1 | 0.04_1 | 0.04_1 | 0.04_1 |
| FreeBSD:14:quarterly | 0.04_1 | 0.04_1 | n/a | 0.04_1 | 0.04_1 |
| FreeBSD:15:latest | 0.04_1 | 0.04_1 | n/a | 0.04_1 | 0.04_1 |
| FreeBSD:15:quarterly | 0.04_1 | 0.04_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.04_1 | 0.04_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 2
Run dependencies 1
Required by 1
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 6
- %%PERL5_MAN3%%/Algorithm::NaiveBayes.3.gz
- %%SITE_PERL%%/Algorithm/NaiveBayes.pm
- %%SITE_PERL%%/Algorithm/NaiveBayes/Model/Discrete.pm
- %%SITE_PERL%%/Algorithm/NaiveBayes/Model/Frequency.pm
- %%SITE_PERL%%/Algorithm/NaiveBayes/Model/Gaussian.pm
- %%SITE_PERL%%/Algorithm/NaiveBayes/Util.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Algorithm-NaiveBayes-0.04.tar.gz | 7997 | fd769448ec977a3626a135b02e0d5fcd41de2d9d14ade0632194d1ad801eeccd |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.