Click or drag to resize
DissimilaritiesDistanceMethod Property
The method in computing the dissimilarities or similarities.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public virtual DissimilaritiesMethod DistanceMethod { get; set; }

Property Value

Type: DissimilaritiesMethod
A Dissimilarities.Method identifying the method to use in computing the dissimilarities or similarities.
Remarks
Acceptable values of DistanceMethod are:

DistanceMethodMetric
L2NormEuclidean distance (L_2
             norm)
L1NormSum of the absolute differences (L_1 norm)
InfinityNormMaximum difference (L_\infty
             norm)
MahalanobisMahalanobis distance
AbsCosineAbsolute value of the cosine of the angle between the vectors
AngleInRadiansAngle in radians (0, \pi) between the lines through the origin defined by the vectors
CorrelationCoefficientCorrelation coefficient
AbsCorrelationCoefficientAbsolute value of the correlation coefficient
ExactMatchesNumber of exact matches, where x_i = y_i.

See class description for more details. By default, DistanceMethod = Method.L2Norm.
See Also