Skip to main content

clusteval is a python package for unsupervised cluster validation.

Project description

clusteval

Python PyPI Version License BuyMeCoffee Github Forks GitHub Open Issues Project Status Downloads Downloads DOI Sphinx Open In Colab

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

  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

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


Star history

Star History Chart

Contributors

Thank the contributors!

Maintainer

  • Erdogan Taskesen, github: erdogant
  • Contributions are welcome.
  • Yes! This library is entirely free but it runs on coffee! :) Feel free to support with a Coffee.

Buy me a coffee

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

clusteval-2.2.7.tar.gz (37.0 kB view details)

Uploaded Source

Built Distribution

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

clusteval-2.2.7-py3-none-any.whl (42.7 kB view details)

Uploaded Python 3

File details

Details for the file clusteval-2.2.7.tar.gz.

File metadata

  • Download URL: clusteval-2.2.7.tar.gz
  • Upload date:
  • Size: 37.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for clusteval-2.2.7.tar.gz
Algorithm Hash digest
SHA256 439ab17de89d6f9a6d1e9e9d7f7058b24b8520dd9590135414b8297e7ec569d2
MD5 c533ac5aa079ae019ba78b16f9bdc496
BLAKE2b-256 a7d46826ec5d2a85d33eaf32acb1fd04c750d4a7afd918399e56fa30c5553c68

See more details on using hashes here.

File details

Details for the file clusteval-2.2.7-py3-none-any.whl.

File metadata

  • Download URL: clusteval-2.2.7-py3-none-any.whl
  • Upload date:
  • Size: 42.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for clusteval-2.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 20adfa5723ab0c939027c5073e21f685826b3450e6df2ea85593baa12d349ab2
MD5 3a5c06da58cd68f7334705dea723e329
BLAKE2b-256 1ca94ed583c2d5856e52e0ed3b1a7ee4f5567d1e9aea7b7ca4a60506645b5f5b

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