সম্পাদনা
from scipy.cluster import hierarchy data = [ [1, 2], [2, 3], [8, 9], [9, 10] ] result = hierarchy.linkage(data, method="ward") print(result)
পূর্বরূপ