bundles / scipy 1.17.1 / scipy / cluster / hierarchy
module
scipy.cluster.hierarchy
source: /scipy/cluster/hierarchy.py :0
Members
-
_append_contraction_marks -
_append_contraction_marks_sub -
_append_nonsingleton_leaf_node -
_append_singleton_leaf_node -
_dendrogram_calculate_info -
_get_leaves_color_list -
_get_tick_rotation -
_get_tick_text_size -
_is_valid_im -
_is_valid_linkage -
_lazy_valid_checks -
_order_cluster_tree -
_plot_dendrogram -
_remove_dups -
_warning -
average -
centroid -
ClusterNode -
ClusterWarning -
complete -
cophenet -
correspond -
cut_tree -
dendrogram -
fcluster -
fclusterdata -
from_mlab_linkage -
inconsistent -
int_floor -
is_isomorphic -
is_monotonic -
is_valid_im -
is_valid_linkage -
leaders -
leaves_list -
linkage -
maxdists -
maxinconsts -
maxRstat -
median -
num_obs_linkage -
optimal_leaf_ordering -
set_link_color_palette -
single -
to_mlab_linkage -
to_tree -
ward -
weighted
Summary
No Docstrings
Additional content
Hierarchical clustering (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
Aliases
-
scipy.cluster.hierarchy