The method in computing the dissimilarities or similarities.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public virtual Dissimilarities..::.Method DistanceMethod { get; set; }
Visual Basic (Declaration)
Public Overridable Property DistanceMethod As Dissimilarities..::.Method
Visual C++
public:
virtual property Dissimilarities..::.Method DistanceMethod {
	Dissimilarities..::.Method get ();
	void set (Dissimilarities..::.Method value);
}

Field Value

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