BSD Ports

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

SystemPortVersion
FreeBSDdevel/p5-Algorithm-NaiveBayes0.04_1
OpenBSDmath/p5-Algorithm-NaiveBayes0.04p1
DragonFlydevel/p5-Algorithm-NaiveBayes0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.04_10.04_10.04_10.04_10.04_1
FreeBSD:14:quarterly0.04_10.04_1n/a0.04_10.04_1
FreeBSD:15:latest0.04_10.04_1n/a0.04_10.04_1
FreeBSD:15:quarterly0.04_10.04_1n/an/an/a
FreeBSD:16:latest0.04_10.04_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

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
FileSizeSHA256
Algorithm-NaiveBayes-0.04.tar.gz7997fd769448ec977a3626a135b02e0d5fcd41de2d9d14ade0632194d1ad801eeccd
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.