BSD Ports

devel/py-cluster 1.4.1_1 DragonFly

Create several groups (clusters) of objects from a list in Python

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
LGPL21+
Categories
devel, python
Package size
32.7 KiB, 159.5 KiB installed

Description

Python-cluster is a simple package that allows to create several groups (clusters) of objects from a list. It's meant to be flexible and able to cluster any object. To ensure this kind of flexibility, you need not only to supply the list of objects, but also a function that calculates the similarity between two of those objects. For simple datatypes, like integers, this can be as simple as a subtraction, but more complex calculations are possible.

In the other systems

SystemPortVersion
DragonFlydevel/py-cluster1.4.1_1
FreeBSDdevel/py-cluster1.4.1_1
HardenedBSDdevel/py-cluster1.4.1_1
GhostBSDdevel/py-cluster1.4.1_1

Install

Binary package:

pkg install py311-cluster

From DPorts:

cd /usr/dports/devel/py-cluster && make install clean

Dependencies

Run dependencies 1

No port depends on this one.