HierarchicalClustering`
HierarchicalClustering`

Linkage

Linkage

is an option for Agglomerate and DendrogramPlot that specifies the linkage method for agglomerative clustering.

Details and Options

  • To use Linkage, you first need to load the Hierarchical Clustering Package using Needs["HierarchicalClustering`"].
  • Linkage defines the intercluster dissimilarity, given the dissimilarities between member elements.
  • Possible settings for the Linkage option include:
  • "Single"smallest intercluster dissimilarity
    "Average"average intercluster dissimilarity
    "Complete"largest intercluster dissimilarity
    "WeightedAverage"weighted average intercluster dissimilarity
    "Centroid"distance from cluster centroids
    "Median"distance from cluster medians
    "Ward"Ward's minimum variance dissimilarity
    fa pure function
  • The function f defines a distance from a cluster k to the new cluster formed by fusing clusters i and j.
  • The arguments supplied to f are dik, djk, dij, ni, nj, and nk, where d is the distance between clusters and n is the number of elements in a cluster.

Examples

Basic Examples  (1)

Agglomerative clustering using Ward's linkage:

Wolfram Research (2007), Linkage, Wolfram Language function, https://reference.wolfram.com/language/HierarchicalClustering/ref/Linkage.html.

Text

Wolfram Research (2007), Linkage, Wolfram Language function, https://reference.wolfram.com/language/HierarchicalClustering/ref/Linkage.html.

CMS

Wolfram Language. 2007. "Linkage." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/HierarchicalClustering/ref/Linkage.html.

APA

Wolfram Language. (2007). Linkage. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/HierarchicalClustering/ref/Linkage.html

BibTeX

@misc{reference.wolfram_2024_linkage, author="Wolfram Research", title="{Linkage}", year="2007", howpublished="\url{https://reference.wolfram.com/language/HierarchicalClustering/ref/Linkage.html}", note=[Accessed: 22-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_linkage, organization={Wolfram Research}, title={Linkage}, year={2007}, url={https://reference.wolfram.com/language/HierarchicalClustering/ref/Linkage.html}, note=[Accessed: 22-December-2024 ]}