Skip to main content

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.4.tar.gz (352.3 kB view details)

Uploaded Source

File details

Details for the file tribble_clustering-0.1.4.tar.gz.

File metadata

  • Download URL: tribble_clustering-0.1.4.tar.gz
  • Upload date:
  • Size: 352.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tribble_clustering-0.1.4.tar.gz
Algorithm Hash digest
SHA256 215d1a156b537afaa5a74f7bda258b0b7a80838c5dbcd0b79030c1386ec1e918
MD5 cfa7ae30d3d02b6d021390da2516b183
BLAKE2b-256 c8dba93fd597f19d0669bedefe4dd74506a705420f7828bd2c8ca4f2f1ea4799

See more details on using hashes here.

Provenance

The following attestation bundles were made for tribble_clustering-0.1.4.tar.gz:

Publisher: publish.yaml on fundthmcalculus/clustering

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page