Click or drag to resize

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
Syntax
VB
Public Enumeration eDistanceMethods
Members
  Member nameValueDescription
eDFSquaredEuclideanFunction0 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.
eDFMaximumFunction1 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.
eDFEuclideanFunction2 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 )
eDFCityBlockFunction3 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