def __init__(self, dists_fun, dists_options):
"""Hierarchical clustering using the Scipy linkage function.
This is the same but faster algorithm as available in Hierarchical (~10 times faster). But with less
options to steer the clustering (e.g. no possibility to give weights). It still computes the entire
distance matrix first and is thus not ideal for extremely large data sets.
"""
super().__init__()
self.dists_fun = dists_fun
self.dists_options = dists_options
评论列表
文章目录