Skip to main content

No project description provided

Project description

Flashcluster, a lightning-fast hierarchical clustering package.

Getting started

Installing the package

flashcluster can be installed with pip:

pip install flashcluster

Basic usage

flashcluster is designed work with numpy arrays.

from flashcluster import compute_clustering
import numpy as np

# Create dataset with 100 points of dimension 20
data = np.random.random((100, 20))

# Compute clustering
clustering = compute_clustering(data, c=1.5, mode="fast")

# Print the clustering distance (i.e. dissimilarity) of points 0 and 1.
print(clustering.dist(0, 1))

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

flashcluster-0.3.0.tar.gz (43.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flashcluster-0.3.0-cp313-cp313-manylinux_2_34_x86_64.whl (331.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

File details

Details for the file flashcluster-0.3.0.tar.gz.

File metadata

  • Download URL: flashcluster-0.3.0.tar.gz
  • Upload date:
  • Size: 43.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.9.1

File hashes

Hashes for flashcluster-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b3118dc5861e83f23da08223c72dc09e18bb3b5cfd3f7d7908b2de38462219b4
MD5 207f251046931089f2d394c46bbe1cda
BLAKE2b-256 3b50735e53281b19785b5d89aef41b90ab87a8fc089622ca0c7f55dedd4c1e4b

See more details on using hashes here.

File details

Details for the file flashcluster-0.3.0-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for flashcluster-0.3.0-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 a3f899abd8358a30a15741e4286f735195b592982521c05d01ebcb88a8dccb19
MD5 32edbc71c1eebb2dd23a2c25d70e1fda
BLAKE2b-256 1c598d0a38ab8f507e26a3f0d87326df69622d98db0ebdc65a3e5d6e1fba45e7

See more details on using hashes here.

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