An optimized Visualization Assessment Tendency (VAT/IVAT) and fuzzy clustering (FCM) package
Project description
Clustering Package
An optimized implementation of VAT/IVAT, including priority-queue MST speedups as discussed at the NAFIPS 2025/2026 conferences. In addition, there are now C-based SIMD extensions which can improve the performance again by a factor of 15-20.
Installation
pip install tribble-clustering
Usage
For fuzzy-c-means:
from tribbleclustering import fuzzy_c_means
import numpy as np
data = np.array([[1, 2], [2, 3], [10, 11], [11, 12]])
membership, centers = fuzzy_c_means(data, n=2, m=2.0)
print(f"Cluster centers: {centers}")
print(f"Membership matrix:\n{membership}")
For IVAT:
from tribbleclustering import compute_ivat
from tribbleclustering.util import circle_random_clusters, pairwise_distances
cluster_cities = circle_random_clusters(10, 2, 10)
city_distances = pairwise_distances(cluster_cities)
print(compute_ivat(city_distances))
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tribble_clustering-0.1.6.tar.gz
(363.2 kB
view details)
File details
Details for the file tribble_clustering-0.1.6.tar.gz.
File metadata
- Download URL: tribble_clustering-0.1.6.tar.gz
- Upload date:
- Size: 363.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66ba5ad5b938039e36c3168a1bdcab3a4aa4abdf1d0f2c7fe0c7ade7252e42de
|
|
| MD5 |
f18f6c3e5886e1f3b34a3477f8d10fb3
|
|
| BLAKE2b-256 |
6fd33a0651388143dd5d7d4482e41d8e43ff1c8e14d5ea74031c4d5b1c034ebc
|
Provenance
The following attestation bundles were made for tribble_clustering-0.1.6.tar.gz:
Publisher:
publish.yaml on fundthmcalculus/clustering
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tribble_clustering-0.1.6.tar.gz -
Subject digest:
66ba5ad5b938039e36c3168a1bdcab3a4aa4abdf1d0f2c7fe0c7ade7252e42de - Sigstore transparency entry: 1748795738
- Sigstore integration time:
-
Permalink:
fundthmcalculus/clustering@994342f5fb3ecb9fe62107118d35db4d3b19c61f -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/fundthmcalculus
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@994342f5fb3ecb9fe62107118d35db4d3b19c61f -
Trigger Event:
push
-
Statement type: