Click or drag to resize

SingleLinkageTInstance Class

Implements the minimum or single-linkage clustering method, i.e., returns the minimum value of all pairwise distances between the elements in each cluster. The method is also known as nearest neighbor clustering.
Inheritance Hierarchy
SystemObject
  Aglomera.LinkageSingleLinkageTInstance

Namespace:  Aglomera.Linkage
Assembly:  Aglomera (in Aglomera.dll) Version: 1.1.0
Syntax
C#
public class SingleLinkage<TInstance> : ILinkageCriterion<TInstance>
where TInstance : Object, IComparable<TInstance>
Request Example View Source

Type Parameters

TInstance
The type of instance considered.

The SingleLinkageTInstance type exposes the following members.

Constructors
  NameDescription
Public methodSingleLinkageTInstance
Creates a new SingleLinkageTInstance with given dissimilarity metric.
Top
Properties
  NameDescription
Public propertyDissimilarityMetric
Gets the metric used to measure the dissimilarity / distance between cluster elements according to this linkage criterion.
Top
Methods
  NameDescription
Public methodCalculate
Calculates the distance / dissimilarity between the two given clusters according to this linkage criterion.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Remarks
A drawback of this method is that it tends to produce long thin clusters in which nearby elements of the same cluster have small distances, but elements at opposite ends of a cluster may be much farther from each other than two elements of other clusters [1]. Since the merge criterion is strictly local, a chain of points can be extended for long distances without regard to the overall shape of the emerging cluster. This effect is called chaining [2]. References: [1] - https://en.wikipedia.org/wiki/Single-linkage_clustering. [2] - https://nlp.stanford.edu/IR-book/html/htmledition/single-link-and-complete-link-clustering-1.html
See Also