[docs]classAgglomerativeClustering(ClusteringMethod):""" Agglomerative clustering method which wraps scikit-learn's clustering of the same name. Input arguments for the method are the same as supported by scikit-learn (see `AgglomerativeClustering scikit-learn documentation <https://scikit-learn.org/stable/modules/generated/sklearn.cluster.AgglomerativeClustering.html>`_ for details). **YAML specification:** .. indent with spaces .. code-block:: yaml definitions: ml_methods: my_agglomerative_clustering: AgglomerativeClustering: # arguments as defined by scikit-learn n_clusters: 3 linkage: 'ward' """def__init__(self,name=None,**kwargs):super().__init__(name)self.model=SklearnAgglomerativeClustering(**kwargs)