From ec8af96e9ad50efadc6da1610c2fee6e94567c11 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Sun, 28 Dec 2003 00:19:45 +0000 Subject: [PATCH] Add p5-AI-DecisionTree 0.08, perl module for Automatically Learning Decision Trees. PR: 60628 Submitted by: Cheng-Lung Sung --- math/Makefile | 1 + math/p5-AI-DecisionTree/Makefile | 29 +++++++++++++++++++++++++++++ math/p5-AI-DecisionTree/distinfo | 1 + math/p5-AI-DecisionTree/pkg-descr | 11 +++++++++++ math/p5-AI-DecisionTree/pkg-plist | 10 ++++++++++ 5 files changed, 52 insertions(+) create mode 100644 math/p5-AI-DecisionTree/Makefile create mode 100644 math/p5-AI-DecisionTree/distinfo create mode 100644 math/p5-AI-DecisionTree/pkg-descr create mode 100644 math/p5-AI-DecisionTree/pkg-plist diff --git a/math/Makefile b/math/Makefile index e76b4b45effa..af99471566e3 100644 --- a/math/Makefile +++ b/math/Makefile @@ -98,6 +98,7 @@ SUBDIR += ntl SUBDIR += octave SUBDIR += oleo + SUBDIR += p5-AI-DecisionTree SUBDIR += p5-AI-NeuralNet-BackProp SUBDIR += p5-AI-NeuralNet-Mesh SUBDIR += p5-AI-Perceptron diff --git a/math/p5-AI-DecisionTree/Makefile b/math/p5-AI-DecisionTree/Makefile new file mode 100644 index 000000000000..f2580b892a8a --- /dev/null +++ b/math/p5-AI-DecisionTree/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: math/p5-AI-DecisionTree +# Date created: Dec 29 2003 +# Whom: Cheng-Lung Sung +# +# $FreeBSD$ +# + +PORTNAME= AI-DecisionTree +PORTVERSION= 0.08 +CATEGORIES= math perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= AI +PKGNAMEPREFIX= p5- + +MAINTAINER= clsung@dragon2.net +COMMENT= Perl module for Automatically Learning Decision Trees + +PERL_CONFIGURE= yes + +MAN3= AI::DecisionTree.3 \ + AI::DecisionTree::Instance.3 + +.include + +.if ${PERL_LEVEL} < 500601 +IGNORE= This port requires perl 5.6.x or later. Install lang/perl5 then try again +.endif + +.include diff --git a/math/p5-AI-DecisionTree/distinfo b/math/p5-AI-DecisionTree/distinfo new file mode 100644 index 000000000000..9dcce82e3908 --- /dev/null +++ b/math/p5-AI-DecisionTree/distinfo @@ -0,0 +1 @@ +MD5 (AI-DecisionTree-0.08.tar.gz) = eaed56886a22506b8ed5f6dab88e7060 diff --git a/math/p5-AI-DecisionTree/pkg-descr b/math/p5-AI-DecisionTree/pkg-descr new file mode 100644 index 000000000000..1c4f630b451a --- /dev/null +++ b/math/p5-AI-DecisionTree/pkg-descr @@ -0,0 +1,11 @@ +The AI::DecisionTree module automatically creates so-called "decision trees" +to explain a set of training data. A decision tree is a kind of categorizer +that use a flowchart-like process for categorizing new instances. + +A decision tree like this one can be learned from training data, and +then applied to previously unseen data to obtain results that are consistent +with the training data. + +WWW: http://search.cpan.org/dist/AI-DecisionTree + +Author: Ken Williams diff --git a/math/p5-AI-DecisionTree/pkg-plist b/math/p5-AI-DecisionTree/pkg-plist new file mode 100644 index 000000000000..c27c4062cf4b --- /dev/null +++ b/math/p5-AI-DecisionTree/pkg-plist @@ -0,0 +1,10 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/AI/DecisionTree.pm +%%SITE_PERL%%/%%PERL_ARCH%%/AI/DecisionTree/Instance.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/AI/DecisionTree/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/AI/DecisionTree/Instance/Instance.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/AI/DecisionTree/Instance/Instance.so +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/AI/DecisionTree +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/AI/DecisionTree/Instance +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/AI/DecisionTree +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/AI 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/AI 2>/dev/null || true