math/py-fastcluster 1.3.0_3
Fast hierarchical clustering routines for R and Python
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD2CLAUSE
- Categories
- math, python
- Package size
- 35.2 KiB, 115.7 KiB installed
Description
This library 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.
Install
As a binary package — by origin, or by package name:
pkg install math/py-fastcluster
pkg install py312-fastcluster
From the ports tree:
cd /usr/ports/math/py-fastcluster/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-fastcluster>0:math/py-fastcluster
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.3.0_3 | 1.3.0_3 | - | 1.2.6_2 | 1.3.0_3 |
| FreeBSD:14:quarterly | 1.3.0_3 | 1.3.0_3 | n/a | 1.2.6_2 | 1.3.0_3 |
| FreeBSD:15:latest | 1.3.0_3 | 1.3.0_3 | n/a | 1.2.6_2 | 1.2.6_2 |
| FreeBSD:15:quarterly | 1.3.0_3 | 1.3.0_3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.3.0_3 | 1.3.0_3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}numpy>=2,1: math/py-numpy${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 1
${PYTHON_PKGNAMEPREFIX}numpy>=2,1: math/py-numpy
The full lists below include those, and their dependencies in turn.
All build dependencies 23
- archivers/liblz4
- archivers/zstd
- devel/binutils
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-installer
- devel/py-packaging
- devel/py-pyproject-hooks
- devel/py-setuptools
- devel/py-wheel
- devel/readline
- lang/gcc14
- lang/python312
- lang/python315
- math/gmp
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-numpy
- print/indexinfo
- textproc/expat2
All run dependencies 16
Configuration
No options to configure.
- USES
- compiler python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| fastcluster-1.3.0.tar.gz | 173065 | d5233aeba5c3faa949c7fa6a39345a09f716ccebbd748541e5735c866696df02 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.