# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-Algorithm-NaiveBayes # p5-Algorithm-NaiveBayes/Makefile # p5-Algorithm-NaiveBayes/distinfo # p5-Algorithm-NaiveBayes/pkg-descr # p5-Algorithm-NaiveBayes/pkg-plist # echo c - p5-Algorithm-NaiveBayes mkdir -p p5-Algorithm-NaiveBayes > /dev/null 2>&1 echo x - p5-Algorithm-NaiveBayes/Makefile sed 's/^X//' >p5-Algorithm-NaiveBayes/Makefile << 'END-of-p5-Algorithm-NaiveBayes/Makefile' X# New ports collection makefile for: Algorithm::NaiveBayes X# Date created: Oct 25 2003 X# Whom: clsung@dragon2.net X# X# $FreeBSD$ X# X XPORTNAME= Algorithm-NaiveBayes XPORTVERSION= 0.02_01 XPORTREVISION= 0 XCATEGORIES= devel perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= Algorithm XPKGNAMEPREFIX= p5- X XMAINTAINER= clsung@dragon2.net XCOMMENT= Perl class performing Bayesian prediction of categories X XPERL_CONFIGURE= yes X XMAN3= Algorithm::NaiveBayes.3 X X.include END-of-p5-Algorithm-NaiveBayes/Makefile echo x - p5-Algorithm-NaiveBayes/distinfo sed 's/^X//' >p5-Algorithm-NaiveBayes/distinfo << 'END-of-p5-Algorithm-NaiveBayes/distinfo' XMD5 (Algorithm-NaiveBayes-0.02_01.tar.gz) = b0d09696095467a3815ac6a7afb53a94 END-of-p5-Algorithm-NaiveBayes/distinfo echo x - p5-Algorithm-NaiveBayes/pkg-descr sed 's/^X//' >p5-Algorithm-NaiveBayes/pkg-descr << 'END-of-p5-Algorithm-NaiveBayes/pkg-descr' XThis module implements the classic "Naive Bayes" machine learning algorithm. XIt is a well-studied probabilistic algorithm often used in automatic text Xcategorization. Compared to other algorithms (kNN, SVM, Decision Trees), Xit's pretty fast and reasonably competitive in the quality of its results. X XA paper by Fabrizio Sebastiani provides a really good introduction to Xtext categorization: Xhttp://faure.iei.pi.cnr.it/~fabrizio/Publications/ACMCS02.pdf X XWWW: http://search.cpan.org/dist/Algorithm-NaiveBayes/ X XAuthor: Ken Williams END-of-p5-Algorithm-NaiveBayes/pkg-descr echo x - p5-Algorithm-NaiveBayes/pkg-plist sed 's/^X//' >p5-Algorithm-NaiveBayes/pkg-plist << 'END-of-p5-Algorithm-NaiveBayes/pkg-plist' X%%SITE_PERL%%/Algorithm/NaiveBayes.pm X%%SITE_PERL%%/Algorithm/NaiveBayes/Model/Discrete.pm X%%SITE_PERL%%/Algorithm/NaiveBayes/Model/Frequency.pm X%%SITE_PERL%%/Algorithm/NaiveBayes/Model/Gaussian.pm X%%SITE_PERL%%/Algorithm/NaiveBayes/Util.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/NaiveBayes/.packlist X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/NaiveBayes X@dirrm %%SITE_PERL%%/Algorithm/NaiveBayes/Model X@dirrm %%SITE_PERL%%/Algorithm/NaiveBayes X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/Algorithm/Util 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/Algorithm 2>/dev/null || true END-of-p5-Algorithm-NaiveBayes/pkg-plist exit