Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Dec 2003 20:06:48 +0800 (CST)
From:      Cheng-Lung Sung <clsung@dragon2.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        clsung@tiger2.net
Subject:   ports/60726: new port: math/p5-Statistics-Contingency
Message-ID:  <20031230120648.38517153BB@mail.dragon2.net>
Resent-Message-ID: <200312301210.hBUCAKKD038980@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         60726
>Category:       ports
>Synopsis:       new port: math/p5-Statistics-Contingency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 30 04:10:20 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Cheng-Lung Sung
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD sungsung.csie.nctu.edu.tw 4.9-RELEASE FreeBSD 4.9-RELEASE #5: Wed Oct 29 20:13:25 CST 2003 root@sungsung.csie.nctu.edu.tw:/usr/obj/usr/src/sys/SUNGSUNG i386

>Description:
- Calculate precision, recall, F1, accuracy, etc.
>How-To-Repeat:
>Fix:

# 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-Statistics-Contingency
#	p5-Statistics-Contingency/Makefile
#	p5-Statistics-Contingency/distinfo
#	p5-Statistics-Contingency/pkg-descr
#	p5-Statistics-Contingency/pkg-plist
#
echo c - p5-Statistics-Contingency
mkdir -p p5-Statistics-Contingency > /dev/null 2>&1
echo x - p5-Statistics-Contingency/Makefile
sed 's/^X//' >p5-Statistics-Contingency/Makefile << 'END-of-p5-Statistics-Contingency/Makefile'
X# New ports collection makefile for:	math/p5-Statistics-Contingency
X# Date created:				Tue Dec 30 19:57:00 CST 2003
X# Whom:					Cheng-Lung Sung <clsung@dragon2.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Statistics-Contingency
XPORTVERSION=	0.06
XCATEGORIES=	math perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Statistics
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	clsung@dragon2.net
XCOMMENT=	Calculate precision, recall, F1, accuracy, etc
X
XBUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XPERL_CONFIGURE=	yes
X
XMAN3=		Statistics::Contingency.3
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500601
XIGNORE=		This port will require perl 5.6.x or later in the future. Install lang/perl5 then try again
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-Statistics-Contingency/Makefile
echo x - p5-Statistics-Contingency/distinfo
sed 's/^X//' >p5-Statistics-Contingency/distinfo << 'END-of-p5-Statistics-Contingency/distinfo'
XMD5 (Statistics-Contingency-0.06.tar.gz) = 270d65583f053b078af90359011fb5c9
END-of-p5-Statistics-Contingency/distinfo
echo x - p5-Statistics-Contingency/pkg-descr
sed 's/^X//' >p5-Statistics-Contingency/pkg-descr << 'END-of-p5-Statistics-Contingency/pkg-descr'
XThe "Statistics::Contingency" class helps you calculate several useful
Xstatistical measures based on 2x2 "contingency tables". I use these measures
Xto help judge the results of automatic text categorization experiments, but
Xthey are useful in other situations as well.
X
XThe general usage flow is to tally a whole bunch of results in the
X"Statistics::Contingency" object, then query that object to obtain the
Xmeasures you are interested in. When all results have been collected, you
Xcan get a report on accuracy, precision, recall, F1, and so on, with both
Xmacro-averaging and micro-averaging over categories.
X
XWWW: http://search.cpan.org/dist/Statistics-Contingency
X
XAuthor:	Ken Williams <kenw@ee.usyd.edu.au>
END-of-p5-Statistics-Contingency/pkg-descr
echo x - p5-Statistics-Contingency/pkg-plist
sed 's/^X//' >p5-Statistics-Contingency/pkg-plist << 'END-of-p5-Statistics-Contingency/pkg-plist'
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Statistics/Contingency/.packlist
X%%SITE_PERL%%/Statistics/Contingency.pm
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Statistics/Contingency
X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Statistics 2>/dev/null || true
X@unexec rmdir %D/%%SITE_PERL%%/Statistics 2>/dev/null || true
END-of-p5-Statistics-Contingency/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031230120648.38517153BB>