Ë
    0Ò^jÊ
  ã                   óœ   — d Z ddlmZmZmZmZmZmZmZm	Z	m
Z
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZm Z m!Z!m"Z" g d¢Z#y)a¬  
Hierarchical clustering (:mod:`scipy.cluster.hierarchy`)
========================================================

.. currentmodule:: scipy.cluster.hierarchy

These functions cut hierarchical clusterings into flat clusterings
or find the roots of the forest formed by a cut by providing the flat
cluster ids of each observation.

.. autosummary::
   :toctree: generated/

   fcluster
   fclusterdata
   leaders

These are routines for agglomerative clustering.

.. autosummary::
   :toctree: generated/

   linkage
   single
   complete
   average
   weighted
   centroid
   median
   ward

These routines compute statistics on hierarchies.

.. autosummary::
   :toctree: generated/

   cophenet
   from_mlab_linkage
   inconsistent
   maxinconsts
   maxdists
   maxRstat
   to_mlab_linkage

Routines for visualizing flat clusters.

.. autosummary::
   :toctree: generated/

   dendrogram

These are data structures and routines for representing hierarchies as
tree objects.

.. autosummary::
   :toctree: generated/

   ClusterNode
   leaves_list
   to_tree
   cut_tree
   optimal_leaf_ordering

These are predicates for checking the validity of linkage and
inconsistency matrices as well as for checking isomorphism of two
flat cluster assignments.

.. autosummary::
   :toctree: generated/

   is_valid_im
   is_valid_linkage
   is_isomorphic
   is_monotonic
   correspond
   num_obs_linkage

Utility routines for plotting:

.. autosummary::
   :toctree: generated/

   set_link_color_palette

Utility classes:

.. autosummary::
   :toctree: generated/

   DisjointSet -- data structure for incremental connectivity queries
   
Warnings:
    
.. autosummary::
   :toctree: generated/

   ClusterWarning

é   )!ÚClusterNodeÚClusterWarningÚDisjointSetÚaverageÚcentroidÚcompleteÚcophenetÚ
correspondÚcut_treeÚ
dendrogramÚfclusterÚfclusterdataÚfrom_mlab_linkageÚinconsistentÚis_isomorphicÚis_monotonicÚis_valid_imÚis_valid_linkageÚleadersÚleaves_listÚlinkageÚmaxRstatÚmaxdistsÚmaxinconstsÚmedianÚnum_obs_linkageÚoptimal_leaf_orderingÚset_link_color_paletteÚsingleÚto_mlab_linkageÚto_treeÚwardÚweightedN)$Ú__doc__Ú_hierarchy_implr   r   r   r   r   r   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   Ú__all__© ó    úk/var/www/ramen.bs-engineer-server.com/venv/lib/python3.12/site-packages/scipy/cluster/hierarchy/__init__.pyú<module>r*      s@   ðñb÷F÷ ÷ ÷ ÷ ÷ ÷ ÷ õ ò�r(   