math/py-fastcluster 1.2.6_2 DragonFly
Fast hierarchical clustering routines for R and Python
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- BSD2CLAUSE
- Categories
- math, python
- Package size
- 45.9 KiB, 149.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.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | math/py-fastcluster | 1.2.6_2 |
| FreeBSD | math/py-fastcluster | 1.3.0_3 |
| HardenedBSD | math/py-fastcluster | 1.3.0_3 |
| GhostBSD | math/py-fastcluster | 1.3.0_3 |
Install
Binary package:
pkg install py311-fastcluster
From DPorts:
cd /usr/dports/math/py-fastcluster && make install clean
Dependencies
Run dependencies 2
No port depends on this one.