clusteval is a python package for unsupervised cluster validation.
Project description
clusteval
clusteval is a python package that is developed to evaluate detected clusters and return the cluster labels that have most optimal clustering tendency, Number of clusters and clustering quality. Multiple evaluation strategies are implemented for the evaluation; silhouette, dbindex, and derivative, and four clustering methods can be used: agglomerative, kmeans, dbscan and hdbscan.
Blogs
- A step-by-step guide for clustering images
- Detection of Duplicate Images Using Image Hash Functions
- From Data to Clusters: When is Your Clustering Good Enough?
- From Clusters To Insights; The Next Step
Documentation
Full documentation is available at erdogant.github.io/clusteval, including examples and API references.
Installation
It is advisable to use a virtual environment:
conda create -n env_clusteval python=3.12
conda activate env_clusteval
Install via PyPI:
pip install clusteval
To upgrade to the latest version:
pip install --upgrade clusteval
Import the library:
from clusteval import clusteval
Examples
A structured overview is available in the documentation.
|
Silhouette Score |
Optimal Clusters |
|
Dendrogram |
Davies-Bouldin Index |
|
Derivative Method |
DBSCAN |
|
HDBSCAN A |
HDBSCAN B |
Citation
Please cite clusteval in your publications if it has been helpful in your research. Citation information is available at the top right of the GitHub page.
Related Tools & Blogs
- Use ARI when clustering contains large equal-sized clusters
- Use AMI for unbalanced clusters with small components
- Adjusted Rand Score — scikit-learn
- Adjusted for Chance Measures — scikit-learn
- imagededup GitHub repo
- Clustering images by visual similarity
- Facebook DeepCluster
- PCA on Hyperspectral Data
- Face Recognition with PCA
Star history
Contributors
Thank the contributors!
Maintainer
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
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 clusteval-2.2.6.tar.gz.
File metadata
- Download URL: clusteval-2.2.6.tar.gz
- Upload date:
- Size: 36.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb55b6bf750355942ebd3ed0ed904bef7592ac98ae2fa0aa4266b2a26bc48be7
|
|
| MD5 |
ba6dd04c0f0b65011dfd23ecf054e75d
|
|
| BLAKE2b-256 |
3913a01a2571b75e7af5e619884e9cc911c83e751f1dfc4c8148174110cb7da1
|
File details
Details for the file clusteval-2.2.6-py3-none-any.whl.
File metadata
- Download URL: clusteval-2.2.6-py3-none-any.whl
- Upload date:
- Size: 42.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b185fcb8cfd52aeb247c0aaa214397d4a1a72fcb09d69b0d417687f4bcb5b1e
|
|
| MD5 |
7e6b7b25923034ebf36b9d85afc0c6e2
|
|
| BLAKE2b-256 |
8d50eabcf550ff4dd22ecb1deb5780441df8220423a82d220d5e62878df70e66
|