eDistanceMethods Enumeration
|
|
Distance method – defines how distances between objects are computed.
Namespace:
MediaCy.Addins.Measurements
Assembly:
MediaCy.Addins.Measurements (in MediaCy.Addins.Measurements.dll) Version: 3.1.0.0
SyntaxPublic Enumeration eDistanceMethods
Members
| Member name | Value | Description |
---|
| eDFSquaredEuclideanFunction | 0 |
Squared Euclidean - This distance is computed as:
distance( x, y ) = sum ( xi - yi )^2
Squaring the simple Euclidean distance places progressively greater weight on objects that are further apart.
|
| eDFMaximumFunction | 1 |
Maximum - This distance is computed as:
distance( x, y ) = maximum( |xi - yi| )
This distance measure may be appropriate in cases when you want to define two objects as different
if they differ on any one of the dimensions.
|
| eDFEuclideanFunction | 2 |
Euclidean - Euclidean distance is simply the geometric distance in the multidimensional space. This distance is computed as:
distance( x, y ) = sqrt( sum ( xi - yi )^2 )
|
| eDFCityBlockFunction | 3 |
City Block - This distance is computed as:
distance( x, y ) = sum ( | xi - yi | )
In most cases, the city-block distance measure yields results similar to the simple Euclidean distance.
Note, however, that the effect of outliers is dampened, since they are not squared.
|
Remarks
See Also