From 52baf56ecb5d49d368180421974032c01acb68cd Mon Sep 17 00:00:00 2001 From: jasper Date: Tue, 31 Mar 2009 16:53:43 +0000 Subject: [PATCH] import p5-Algorithm-NaiveBayes 0.04 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. --- math/p5-Algorithm-NaiveBayes/Makefile | 18 ++++++++++++++++++ math/p5-Algorithm-NaiveBayes/distinfo | 5 +++++ math/p5-Algorithm-NaiveBayes/pkg/DESCR | 5 +++++ math/p5-Algorithm-NaiveBayes/pkg/PLIST | 10 ++++++++++ 4 files changed, 38 insertions(+) create mode 100755 math/p5-Algorithm-NaiveBayes/Makefile create mode 100644 math/p5-Algorithm-NaiveBayes/distinfo create mode 100755 math/p5-Algorithm-NaiveBayes/pkg/DESCR create mode 100755 math/p5-Algorithm-NaiveBayes/pkg/PLIST diff --git a/math/p5-Algorithm-NaiveBayes/Makefile b/math/p5-Algorithm-NaiveBayes/Makefile new file mode 100755 index 00000000000..1b901142ded --- /dev/null +++ b/math/p5-Algorithm-NaiveBayes/Makefile @@ -0,0 +1,18 @@ +# $OpenBSD $ + +COMMENT= Bayesian prediction of categories + +DISTNAME= Algorithm-NaiveBayes-0.04 +CATEGORIES= math + +# Perl +PERMIT_PACKAGE_FTP= Yes +PERMIT_PACKAGE_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes + +MODULES= cpan + +CONFIGURE_STYLE= modbuild + +.include diff --git a/math/p5-Algorithm-NaiveBayes/distinfo b/math/p5-Algorithm-NaiveBayes/distinfo new file mode 100644 index 00000000000..7c0b17b695b --- /dev/null +++ b/math/p5-Algorithm-NaiveBayes/distinfo @@ -0,0 +1,5 @@ +MD5 (Algorithm-NaiveBayes-0.04.tar.gz) = vUYcnqLxQKddU2TMmMLvCQ== +RMD160 (Algorithm-NaiveBayes-0.04.tar.gz) = KkFMdnFaO4heApzU3uzl2bK9Qr8= +SHA1 (Algorithm-NaiveBayes-0.04.tar.gz) = +EVtWbbbYaSwuGWD110ZSa7SkeE= +SHA256 (Algorithm-NaiveBayes-0.04.tar.gz) = /XaUSOyXejYmoTWwLg1fzUHeLZ0UreBjIZTRrYAe7M0= +SIZE (Algorithm-NaiveBayes-0.04.tar.gz) = 7997 diff --git a/math/p5-Algorithm-NaiveBayes/pkg/DESCR b/math/p5-Algorithm-NaiveBayes/pkg/DESCR new file mode 100755 index 00000000000..fbe02ecc05d --- /dev/null +++ b/math/p5-Algorithm-NaiveBayes/pkg/DESCR @@ -0,0 +1,5 @@ +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. diff --git a/math/p5-Algorithm-NaiveBayes/pkg/PLIST b/math/p5-Algorithm-NaiveBayes/pkg/PLIST new file mode 100755 index 00000000000..85c2bd8cc3f --- /dev/null +++ b/math/p5-Algorithm-NaiveBayes/pkg/PLIST @@ -0,0 +1,10 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2009/03/31 16:53:43 jasper Exp $ +${P5SITE}/Algorithm/ +${P5SITE}/Algorithm/NaiveBayes/ +${P5SITE}/Algorithm/NaiveBayes.pm +${P5SITE}/Algorithm/NaiveBayes/Model/ +${P5SITE}/Algorithm/NaiveBayes/Model/Discrete.pm +${P5SITE}/Algorithm/NaiveBayes/Model/Frequency.pm +${P5SITE}/Algorithm/NaiveBayes/Model/Gaussian.pm +${P5SITE}/Algorithm/NaiveBayes/Util.pm +@man man/man3p/Algorithm::NaiveBayes.3p