Flashcluster, a lightning-fast hierarchical clustering package.
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
Release history Release notifications | RSS feed
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.1.tar.gz
(43.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flashcluster-0.3.1.tar.gz.
File metadata
- Download URL: flashcluster-0.3.1.tar.gz
- Upload date:
- Size: 43.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ee5e271195d2fbd5cea7453ec61f2f072463c12ac824d1a1368b643ca291888
|
|
| MD5 |
7ce25eea05a14a88445cc77893c5d889
|
|
| BLAKE2b-256 |
f3f1627053bb713b7f4d79b5d0a44e6810753b5daaf086491b55110f40708a9e
|
File details
Details for the file flashcluster-0.3.1-cp313-cp313-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: flashcluster-0.3.1-cp313-cp313-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 331.4 kB
- Tags: CPython 3.13, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74f880463c2f54c6b43ce1051508348ad52bb697ee2f9ef306078a016a0ca061
|
|
| MD5 |
07d07a83a6dfd96640b65fe18ba55b3b
|
|
| BLAKE2b-256 |
407d0434c1e4a17c9744cb5d0ceda926f635ac348baf2b02acf6d25f54e75e15
|