Aggregation.Correlation Method

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0

Overload List

Correlation<C>(ColumnSelector, ColumnSelector) Creates a descriptor that computes correlations for selected column pairs.
Correlation<C>(C, C) Creates a descriptor that computes correlation between two columns.

Correlation<C>(ColumnSelector, ColumnSelector)

Creates a descriptor that computes correlations for selected column pairs.
C#
public static Aggregation<C, string> Correlation<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 correlation aggregation descriptor.

Remarks

Selector-based binary descriptors expand cartesian.

Exceptions

ArgumentNullExceptionleft or right is null.

Correlation<C>(C, C)

Creates a descriptor that computes correlation between two columns.
C#
public static Aggregation<C, string> Correlation<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 correlation aggregation descriptor.

Exceptions

ArgumentNullExceptionleftKey or rightKey is null.

See Also