Aggregation.Euclidean Distance Method
Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
Overload List
| Euclidean | Creates a descriptor that computes Euclidean distances for selected column pairs. |
| Euclidean | Creates a descriptor that computes Euclidean distance between two columns. |
EuclideanDistance<C>(ColumnSelector, ColumnSelector)
Creates a descriptor that computes Euclidean distances for selected column pairs.
public static Aggregation<C, string> EuclideanDistance<C>(
ColumnSelector left,
ColumnSelector right
)
Parameters
- left ColumnSelector
- The selector that identifies left input columns.
- right ColumnSelector
- The selector that identifies right input columns.
Type Parameters
- C
- The type of the data frame column key.
Return Value
Aggregation<C, String>A Euclidean-distance aggregation descriptor.
Remarks
Selector-based binary descriptors expand cartesian.
Exceptions
| Argument | left or right is null. |
EuclideanDistance<C>(C, C)
Creates a descriptor that computes Euclidean distance between two columns.
public static Aggregation<C, string> EuclideanDistance<C>(
C leftKey,
C rightKey
)
Parameters
- leftKey C
- The key of the left input column.
- rightKey C
- The key of the right input column.
Type Parameters
- C
- The type of the data frame column key.
Return Value
Aggregation<C, String>A Euclidean-distance aggregation descriptor.
Exceptions
| Argument | leftKey or rightKey is null. |