ClusterDissimilarityFunction

ClusterDissimilarityFunction

is an option for ClusteringTree and Dendrogram that specifies the intercluster dissimilarity.

Details

  • Possible settings for ClusterDissimilarityFunction 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
    a pure function
  • The function f defines a distance from any two clusters.
  • The function f needs to be a real valued function of the DistanceMatrix.

Examples

Basic Examples  (1)

Obtain a cluster hierarchy from a list of colors:

Compare it with the clustering obtained using different cluster dissimilarities:

Show the same results using dendrograms:

Wolfram Research (2016), ClusterDissimilarityFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/ClusterDissimilarityFunction.html.

Text

Wolfram Research (2016), ClusterDissimilarityFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/ClusterDissimilarityFunction.html.

CMS

Wolfram Language. 2016. "ClusterDissimilarityFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ClusterDissimilarityFunction.html.

APA

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

BibTeX

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

BibLaTeX

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