Aggregation.Sum Of Squares 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
| Sum | Creates a descriptor that computes sums of squares of selected columns. |
| Sum | Creates a descriptor that computes the sum of squares of the specified column. |
SumOfSquares<C>(ColumnSelector)
Creates a descriptor that computes sums of squares of selected columns.
public static Aggregation<C, string> SumOfSquares<C>(
ColumnSelector selector
)
Parameters
- selector ColumnSelector
- The selector that identifies columns to aggregate.
Type Parameters
- C
- The type of the data frame column key.
Return Value
Aggregation<C, String>A sum-of-squares aggregation descriptor.
Exceptions
| Argument | selector is null. |
SumOfSquares<C>(C)
Creates a descriptor that computes the sum of squares of the specified column.
public static Aggregation<C, string> SumOfSquares<C>(
C key
)
Parameters
- key C
- The key of the column to aggregate.
Type Parameters
- C
- The type of the data frame column key.
Return Value
Aggregation<C, String>A sum-of-squares aggregation descriptor.
Exceptions
| Argument | key is null. |