Clustering
- 1 Hierarchical clustering using SciPy The Scipy Python library performs agglomerative hierarchical clustering through the function linkage(). It accepts a distance matrix or a set of n-dimensional data-points considering each of them a cluster. It works upwards producing a hierarchical cluster. 28 Jun 2025
- 2 SciPy hierarchical clustering using complete-linkage The complete-linkage clustering algorithm uses maximum distance as the criteria while selecting neighbours. To form the actual cluster the pair with minimal distance is selected from the distance matrix. 3 Jul 2025
- 3 K-means clustering using Python The kmeans() function of scipy.vq module groups n points in multi-dimensional space into k-clusters. The Python example forms and plots k clusters for the body weights and brain weights of various living beings. 16 Jun 2025
- 4 SciPy hierarchical clustering using UPGMA method The UPGMA method of hierarchical clustering calculates the distance between a member of one cluster and another cluster as the mean value of the pairwise distances of those members. 8 Jul 2025