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.
⭐️ Star this repo if you like it ⭐️
Blogs
1. A step-by-step guide for clustering images
2. Detection of Duplicate Images Using Image Hash Functions
3. From Data to Clusters: When is Your Clustering Good Enough?
4. From Clusters To Insights; The Next Step
Documentation pages
On the documentation pages you can find detailed information about the working of the clusteval
with many examples.
Installation
It is advisable to create a new environment (e.g. with Conda).
conda create -n env_clusteval python=3.8
conda activate clusteval
Install from PyPI
pip install clusteval
Import library
from clusteval import clusteval
Examples
A structured overview of all examples are now available on the documentation pages.
Citation
Please cite clusteval in your publications if this is useful for your research (see right top for citation).
Other interesting techniques/blogs
- Use ARI when the ground truth clustering has large equal sized clusters
- Usa AMI when the ground truth clustering is unbalanced and there exist small clusters
- https://scikit-learn.org/stable/modules/generated/sklearn.metrics.adjusted_rand_score.html
- https://scikit-learn.org/stable/auto_examples/cluster/plot_adjusted_for_chance_measures.html#sphx-glr-auto-examples-cluster-plot-adjusted-for-chance-measures-py
- https://github.com/idealo/imagededup
- https://towardsdatascience.com/how-to-cluster-images-based-on-visual-similarity-cd6e7209fe34
- https://github.com/facebookresearch/deepcluster
- https://towardsdatascience.com/pca-on-hyperspectral-data-99c9c5178385
- https://machinelearningmastery.com/face-recognition-using-principal-component-analysis/
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
File details
Details for the file clusteval-2.2.2.tar.gz
.
File metadata
- Download URL: clusteval-2.2.2.tar.gz
- Upload date:
- Size: 36.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f543272bcd630e85b5ea5f3c55ca8c703e264d9a4b4b41b44bc009364643c2a |
|
MD5 | 7f91301862f53ff1a7454bc8e282ba70 |
|
BLAKE2b-256 | 571e84ccb22be5de93ed968390b496e6512a49945c2c0183b571345cf2c4daeb |
File details
Details for the file clusteval-2.2.2-py3-none-any.whl
.
File metadata
- Download URL: clusteval-2.2.2-py3-none-any.whl
- Upload date:
- Size: 42.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28104f94abfe884107fff25de7b3c058aeb1157b2a644be8075b8faa178e6098 |
|
MD5 | 1925ed9bcb29bdfe883ed33a18805982 |
|
BLAKE2b-256 | 992c1d2ba13fac34564b335b50b74949615aad3d35ba63b1c75ab3b8b7937ca9 |