mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Adding port math/p5-Statistics-Descriptive-Discrete, Compute descriptive
statistics for discrete data sets. Submitted by: aaron
This commit is contained in:
parent
66b5c1f0a5
commit
78c704ae27
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179882
@ -252,6 +252,7 @@
|
||||
SUBDIR += p5-Statistics-ChiSquare
|
||||
SUBDIR += p5-Statistics-Contingency
|
||||
SUBDIR += p5-Statistics-Descriptive
|
||||
SUBDIR += p5-Statistics-Descriptive-Discrete
|
||||
SUBDIR += p5-Statistics-Distributions
|
||||
SUBDIR += p5-Statistics-LTU
|
||||
SUBDIR += p5-Statistics-LineFit
|
||||
|
34
math/p5-Statistics-Descriptive-Discrete/Makefile
Normal file
34
math/p5-Statistics-Descriptive-Discrete/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
# New ports collection makefile for: p5-Statistics-Descriptive-Discrete
|
||||
# Date created: 15 Dec 2006
|
||||
# Whom: Aaron Dalton <aaron@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Statistics-Descriptive-Discrete
|
||||
PORTVERSION= 0.07
|
||||
CATEGORIES= math perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Statistics
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= aaron@FreeBSD.org
|
||||
COMMENT= Compute descriptive statistics for discrete data sets
|
||||
|
||||
MAN3= Statistics::Descriptive::Discrete.3
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500600
|
||||
#IGNORE= requires at least Perl 5.6. Please install lang/perl5.8 and try again
|
||||
#post-patch:
|
||||
# @${PERL} -pi -e 's/our ([^ ]+)/use vars qw($$1); $$1/g;' \
|
||||
# -e '$$_ = "" if /use warnings/;' \
|
||||
# ${WRKSRC}/lib/GraphViz/Traverse.pm \
|
||||
# ${WRKSRC}/t/*.t \
|
||||
# ${WRKSRC}/Makefile.PL
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
math/p5-Statistics-Descriptive-Discrete/distinfo
Normal file
3
math/p5-Statistics-Descriptive-Discrete/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (Statistics-Descriptive-Discrete-0.07.tar.gz) = 47a386239642fc75d5641bb9f213ea62
|
||||
SHA256 (Statistics-Descriptive-Discrete-0.07.tar.gz) = 9810cbb96cc03191c4bde50b609d497edaed2acd02867cb8b384f198c6d6d0ee
|
||||
SIZE (Statistics-Descriptive-Discrete-0.07.tar.gz) = 6889
|
21
math/p5-Statistics-Descriptive-Discrete/pkg-descr
Normal file
21
math/p5-Statistics-Descriptive-Discrete/pkg-descr
Normal file
@ -0,0 +1,21 @@
|
||||
This module provides basic functions used in descriptive statistics. It
|
||||
borrows very heavily from Statistics::Descriptive::Full (which is included
|
||||
with Statistics::Descriptive) with one major difference. This module is
|
||||
optimized for discretized data e.g. data from an A/D conversion that has a
|
||||
discrete set of possible values. E.g. if your data is produced by an 8 bit
|
||||
A/D then you'd have only 256 possible values in your data set. Even though
|
||||
you might have a million data points, you'd only have 256 different values
|
||||
in those million points. Instead of storing the entire data set as
|
||||
Statistics::Descriptive does, this module only stores the values it's seen
|
||||
and the number of times it's seen each value.
|
||||
|
||||
For very large data sets, this storage method results in significant speed
|
||||
and memory improvements. In a test case with 2.6 million data points from
|
||||
a real world application, Statistics::Descriptive::Discrete took 40
|
||||
seconds to calculate a set of statistics instead of the 561 seconds
|
||||
required by Statistics::Descriptive::Full. It also required only 4MB of
|
||||
RAM instead of the 400MB used by Statistics::Descriptive::Full for the
|
||||
same data set.
|
||||
|
||||
WWW: http://search.cpan.org/dist/Statistics-Descriptive-Discrete
|
||||
Author: Rhet Turnbull <rhettbull@hotmail.com>
|
11
math/p5-Statistics-Descriptive-Discrete/pkg-plist
Normal file
11
math/p5-Statistics-Descriptive-Discrete/pkg-plist
Normal file
@ -0,0 +1,11 @@
|
||||
%%SITE_PERL%%/Statistics/Descriptive/Discrete.pm
|
||||
%%SITE_PERL%%/auto/Statistics/Descriptive/Discrete/autosplit.ix
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Statistics/Descriptive/Discrete/.packlist
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Statistics/Descriptive/Discrete
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Statistics/Descriptive
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Statistics
|
||||
@dirrm %%SITE_PERL%%/auto/Statistics/Descriptive/Discrete
|
||||
@dirrmtry %%SITE_PERL%%/auto/Statistics/Descriptive
|
||||
@dirrmtry %%SITE_PERL%%/auto/Statistics
|
||||
@dirrmtry %%SITE_PERL%%/Statistics/Descriptive
|
||||
@dirrmtry %%SITE_PERL%%/Statistics
|
Loading…
Reference in New Issue
Block a user