Skip to main content

VIASCKDE: internal cluster validity index (KDE-weighted compactness & separation)

Project description

VIASCKDE Index

PyPI - Version PyPI - Downloads License

VIASCKDE is a novel internal cluster validity index for arbitrary-shaped clusters based on Kernel Density Estimation (KDE).


Motivation

The VIASCKDE Index was proposed in:

"VIASCKDE Index: A Novel Internal Cluster Validity Index for Arbitrary Shaped Clusters Based on Kernel Density Estimation"
by Ali Şenol

The index evaluates clustering quality regardless of cluster shape by computing compactness and separation at the point level rather than relying on centroids.


Installation

pip install viasckde
Usage Example
python
Copy code
from viasckde import viasckde_score

# X: 2D or n-D data array (NumPy-like)
# labels: predicted cluster labels
score = viasckde_score(X, labels)
print("VIASCKDE Score:", score)
Parameters
Parameter	Description
X	Dataset, 
𝑋
=
{
𝑥
1
,
.
.
.
,
𝑥
𝑛
}
∈
𝑅
𝑑
X={x 
1 ,...,x 
n
​
 }∈R 
d
 
labels	Cluster labels (array-like)
kernel	KDE kernel  default: gaussian
bandwidth	KDE bandwidth  default: 0.05

Recommended values:

Kernel: gaussian

Bandwidth: 0.05

Output Range
The VIASCKDE score lies in [-1, +1], where:

+1  best clustering

-1  worst clustering

Citation
If you use VIASCKDE in your research, please cite:

Ali Şenol, “VIASCKDE Index: A Novel Internal Cluster Validity Index for Arbitrary-Shaped Clusters Based on the Kernel Density Estimation”,
Computational Intelligence and Neuroscience, vol. 2022, Article ID 4059302, 20 pages, 2022.
https://doi.org/10.1155/2022/4059302

BibTeX
bibtex
Copy code
@article{csenol2022viasckde,
  title={VIASCKDE Index: A Novel Internal Cluster Validity Index for Arbitrary-Shaped Clusters Based on the Kernel Density Estimation},
  author={{\c{S}}enol, Ali},
  journal={Computational Intelligence and Neuroscience},
  volume={2022},
  number={1},
  pages={4059302},
  year={2022},
  publisher={Wiley Online Library}
}
License & Author
Author: Assoc. Prof. Dr. Ali Şenol
Computer Engineering Department, Tarsus University

License: MIT

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

viasckde-0.1.2.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

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

viasckde-0.1.2-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file viasckde-0.1.2.tar.gz.

File metadata

  • Download URL: viasckde-0.1.2.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for viasckde-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c7d3ce6c34ec3d4b6e34a56b1c42b21c2056dabdad622a11221a9fb862d8536b
MD5 f9fa82f9045fc6b2da62072382060dbf
BLAKE2b-256 97b6a3572eac4d2d6d57476993705dfebbb39f05e5ede925d32e81c6578d9a40

See more details on using hashes here.

File details

Details for the file viasckde-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: viasckde-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for viasckde-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 551498b152216def5b719b9c67380b4ef6f9ad8abc949e214c3bdf2d324b97ac
MD5 45f21299fc5470cc5db9b1ab03e50393
BLAKE2b-256 b208e17c988121d2f13edc4093cd82bf9e950504c3d8aacd37dc4f3ad73b5939

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