DissimilaritiesDistanceMethod Property |
The method in computing the dissimilarities or similarities.
Namespace: Imsl.StatAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public virtual DissimilaritiesMethod DistanceMethod { get; set; }
Public Overridable Property DistanceMethod As DissimilaritiesMethod
Get
Set
public:
virtual property DissimilaritiesMethod DistanceMethod {
DissimilaritiesMethod get ();
void set (DissimilaritiesMethod value);
}
abstract DistanceMethod : DissimilaritiesMethod with get, set
override DistanceMethod : DissimilaritiesMethod with 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:
DistanceMethod | Metric |
---|
L2Norm | Euclidean distance ( norm) |
L1Norm | Sum of the absolute differences
( norm) |
InfinityNorm | Maximum difference ( norm) |
Mahalanobis | Mahalanobis distance |
AbsCosine | Absolute value of the cosine of the
angle between the vectors |
AngleInRadians | Angle in radians
(0, ) between the lines through the origin defined by
the vectors |
CorrelationCoefficient | Correlation coefficient |
AbsCorrelationCoefficient | Absolute value of the correlation
coefficient |
ExactMatches | Number of exact matches, where
. |
See class description for more details.
By default,
DistanceMethod =
Method.L2Norm.
See Also