Click or drag to resize

Distance Class

Provides methods to summarize distances within and between sets of multidimensional points.
Inheritance Hierarchy
SystemObject
  Novacta.AnalyticsDistance

Namespace:  Novacta.Analytics
Assembly:  Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax
public static class Distance

The Distance type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAverageLinkage
Computes the average linkage between the specified clusters.
Public methodStatic memberCentroidLinkage
Computes the centroid linkage between the specified clusters.
Public methodStatic memberCompleteDiameter
Computes the complete diameter of the specified cluster.
Public methodStatic memberCompleteLinkage
Computes the complete linkage between the specified clusters.
Public methodStatic memberEuclidean
Computes the Euclidean distance matrix of the specified cluster.
Public methodStatic memberSingleLinkage
Computes the single linkage between the specified clusters.
Top
Remarks

Sets of multidimensional points are referred to as clusters.

Distances within a cluster

The Euclidean distances among points in a cluster are returned by method Euclidean(DoubleMatrix) as a distance matrix. The complete diameter of a cluster, i.e. the maximal Euclidean distance among two cluster points, is instead computed by method CompleteDiameter(DoubleMatrix).

Distances between clusters

Distances between points belonging to different clusters can be summarized in terms of linkages. Method SingleLinkage computes the shortest distance between pairs of individuals belonging to different clusters, while CompleteLinkage and AverageLinkage compute the maximum and the average of those distances, respectively. Method CentroidLinkage the distance between the mean points (centroids) of the specified clusters.

See Also