You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pyclustertend is a python package specialized in cluster tendency. Cluster tendency consist to assess if clustering algorithms are relevant for a dataset.
12
-
13
-
Three methods for assessing cluster tendency are currently implemented and one additional method based on metrics obtained with a KMeans estimator :
6
+
pyclustertend is a Python package specialized in cluster tendency. Cluster tendency consist to assess if clustering algorithms are relevant for a dataset.
14
7
15
-
16
-
17
-
-[x] Hopkins Statistics
18
-
-[x] VAT
19
-
-[x] iVAT
20
-
21
-
-[x] Metric based method (silhouette, calinksi, davies bouldin)
8
+
Three methods for assessing cluster tendency are currently implemented and one additional method based on metrics obtained with a KMeans estimator:
9
+
- Hopkins Statistics [^1]
10
+
- VAT [^5]
11
+
- iVAT [^6]
12
+
- Metric based method (Silhouette [^2], Calinski-Harabasz [^3], Davies-Bouldin [^4])
22
13
23
14
## Installation
24
-
15
+
To install the Python 3.14 compatible version of `pyclustertend`, you can use `pip` to install directly from the GitHub repository. Run the following command in your terminal:
@@ -67,3 +63,25 @@ Three methods for assessing cluster tendency are currently implemented and one a
67
63
68
64
It's preferable to scale the data before using hopkins or vat algorithm as they use distance between observations. Moreover, vat and ivat algorithms
69
65
do not really fit to massive databases. A first solution is to sample the data before using those algorithms.
66
+
67
+
## Acknowledgments
68
+
69
+
This is a fork of the original [pyclustertend](https://github.com/lachhebo/pyclustertend) library by [Ismaïl Lachheb](https://github.com/lachhebo). The original library got somehow abandoned, and I decided to fork it and continue its development, especially in terms of compatibility with the latest versions of Python. This fork is structured as follows:
70
+
- The original codebase is preserved in the `master` branch
71
+
- The `upgrade-python-3.13` branch features updates to ensure compatibility with Python 3.13
72
+
- The `upgrade-python-3.14` branch includes further updates for compatibility with Python 3.14
73
+
74
+
Thank you to Ismaïl Lachheb for creating the original `pyclustertend` library!
75
+
76
+
77
+
[^1]: Hopkins, Brian; Skellam, J.G. (1954). "A new method for determining the type of distribution of plant individuals". _Annals of Botany_. **18** (2). Annals Botany Co: 213–227. doi:10.1093/oxfordjournals.aob.a083391
78
+
79
+
[^2]: Rousseeuw, Peter J. (1987). "Silhouettes: a Graphical Aid to the Interpretation and Validation of Cluster Analysis". _Computational and Applied Mathematics_. **20**: 53–65. doi:10.1016/0377-0427(87)90125-7.
80
+
81
+
[^3]: Caliński, Tadeusz; Harabasz, Jerzy (1974). "A dendrite method for cluster analysis". _Communications in Statistics_. **3** (1): 1–27. doi:10.1080/03610927408827101
82
+
83
+
[^4]: Davies, David L.; Bouldin, Donald W. (1979). "A Cluster Separation Measure". _IEEE Transactions on Pattern Analysis and Machine Intelligence_. PAMI-1 (2): 224–227. doi:10.1109/TPAMI.1979.4766909
84
+
85
+
[^5]: Bezdek, James C.; Hathaway, Richard J. (2002). "VAT: A Tool for Visual Assessment of (Cluster) Tendency". _Proceedings of the 2002 International Joint Conference on Neural Networks_. IJCNN '02. IEEE Computer Society. pp. 2225–2230. doi:10.1109/IJCNN.2002.1007487.
86
+
87
+
[^6]: Wang, L., Nguyen, U. T., Bezdek, J. C., Leckie, C. A., Ramamohanarao, K. (2010). "iVAT and aVAT: enhanced visual analysis for cluster tendency assessment". In _Advances in Knowledge Discovery and Data Mining. PAKDD 2010_ (pp. 16-27). Berlin, Heidelberg: Springer Berlin Heidelberg. doi:10.1007/978-3-642-13657-3_5.
0 commit comments