Bug 184931 - [NEW PORT] math/py-fastcluster: Python functions for hierarchical clustering
Summary: [NEW PORT] math/py-fastcluster: Python functions for hierarchical clustering
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-17 11:40 UTC by Johannes Meixner
Modified: 2013-12-18 11:20 UTC (History)
0 users

See Also:


Attachments
.shar (2.37 KB, text/plain)
2013-12-17 11:40 UTC, Johannes Meixner
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Meixner 2013-12-17 11:40:00 UTC
Fastcluster provides Python functions for hierarchical clustering. It generates
hierarchical clusters from distance matrices or from vector data.

Part of this module is intended to replace the functions
    linkage, single, complete, average, weighted, centroid, median, ward
in the module scipy.cluster.hierarchy with the same functionality but much
faster algorithms. Moreover, the function 'linkage_vector' provides
memory-efficient clustering for vector data.

The interface is very similar to MATLAB's Statistics Toolbox API to make code
easier to port from MATLAB to Python/Numpy. The core implementation of this
library is in C++ for efficiency.

WWW: http://danifold.net/fastcluster.html

Generated with FreeBSD Port Tools 0.99_8 (mode: new)
Comment 1 William Grzybowski freebsd_committer freebsd_triage 2013-12-18 10:28:03 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wg

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-12-18 11:12:48 UTC
Author: wg
Date: Wed Dec 18 11:12:40 2013
New Revision: 336815
URL: http://svnweb.freebsd.org/changeset/ports/336815

Log:
  math/py-fastcluster: Python functions for hierarchical clustering
  
  Fastcluster provides Python functions for hierarchical clustering. It generates
  hierarchical clusters from distance matrices or from vector data.
  
  Part of this module is intended to replace the functions
      linkage, single, complete, average, weighted, centroid, median, ward
  in the module scipy.cluster.hierarchy with the same functionality but much
  faster algorithms. Moreover, the function 'linkage_vector' provides
  memory-efficient clustering for vector data.
  
  The interface is very similar to MATLAB's Statistics Toolbox API to make code
  easier to port from MATLAB to Python/Numpy. The core implementation of this
  library is in C++ for efficiency.
  
  WWW: http://danifold.net/fastcluster.html
  
  PR:		ports/184931
  Submitted by:	Johannes Jost Meixner <xmj chaot.net>

Added:
  head/math/py-fastcluster/
  head/math/py-fastcluster/Makefile   (contents, props changed)
  head/math/py-fastcluster/distinfo   (contents, props changed)
  head/math/py-fastcluster/pkg-descr   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Wed Dec 18 10:46:47 2013	(r336814)
+++ head/math/Makefile	Wed Dec 18 11:12:40 2013	(r336815)
@@ -542,6 +542,7 @@
     SUBDIR += py-basemap-data
     SUBDIR += py-bitvector
     SUBDIR += py-bottleneck
+    SUBDIR += py-fastcluster
     SUBDIR += py-ffc
     SUBDIR += py-fiat
     SUBDIR += py-fpconst

Added: head/math/py-fastcluster/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-fastcluster/Makefile	Wed Dec 18 11:12:40 2013	(r336815)
@@ -0,0 +1,32 @@
+# Created by: Johannes Meixner <xmj@chaot.net>
+# $FreeBSD$
+
+PORTNAME=	fastcluster
+PORTVERSION=	1.1.13
+CATEGORIES=	math python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	xmj@chaot.net
+COMMENT=	Python functions for hierarchical clustering
+
+LICENSE=	BSD2CLAUSE
+
+BUILD_DEPENDS=	${PYNUMPY}
+RUN_DEPENDS=	${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}scipy>0:${PORTSDIR}/science/py-scipy
+
+PORTDOCS=	CITATION.txt \
+		INSTALL.txt \
+		NEWS.txt \
+		README.txt
+
+USE_PYTHON=		yes
+USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=	yes
+
+post-install:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/math/py-fastcluster/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-fastcluster/distinfo	Wed Dec 18 11:12:40 2013	(r336815)
@@ -0,0 +1,2 @@
+SHA256 (fastcluster-1.1.13.tar.gz) = abdf99d327e6e6569dc2782eaca1d6ed2ced88ab6c6b43c8e9850dae66f9648c
+SIZE (fastcluster-1.1.13.tar.gz) = 148538

Added: head/math/py-fastcluster/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-fastcluster/pkg-descr	Wed Dec 18 11:12:40 2013	(r336815)
@@ -0,0 +1,14 @@
+Fastcluster provides Python functions for hierarchical clustering. It generates
+hierarchical clusters from distance matrices or from vector data.
+
+Part of this module is intended to replace the functions
+    linkage, single, complete, average, weighted, centroid, median, ward
+in the module scipy.cluster.hierarchy with the same functionality but much
+faster algorithms. Moreover, the function 'linkage_vector' provides
+memory-efficient clustering for vector data.
+
+The interface is very similar to MATLAB's Statistics Toolbox API to make code
+easier to port from MATLAB to Python/Numpy. The core implementation of this
+library is in C++ for efficiency.
+
+WWW: http://danifold.net/fastcluster.html
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 William Grzybowski freebsd_committer freebsd_triage 2013-12-18 11:16:06 UTC
State Changed
From-To: open->closed

New port added. Thanks!