Aggregators Class
Contains many of the most common aggregation functions.
Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public static class Aggregators
- Inheritance
- Object → Aggregators
Remarks
Use the Aggregators class to access many common aggregation functions. Most aggregators are returned as AggregatorGroup objects, which means they can be used on untyped data frame columns.
Properties
Absolute | Gets an aggregator that computes the largest value. |
Absolute | Gets an aggregator that computes the index of the largest value. |
Absolute | Gets an aggregator that computes the smallest value. |
Absolute | Gets an aggregator that computes the index of the smallest value. |
Correlation | Gets an aggregator that computes the correlation. |
Correlation | Gets an aggregator that computes the correlation. |
Correlation | Gets an aggregator that computes the correlation. |
Cosine | Gets an aggregator that computes the mean. The result is returned as a value of the same type. |
Cosine | Gets an aggregator that computes the mean. The result is returned as a value of the same type. |
Cosine | Gets an aggregator that computes the correlation. |
Count | Gets an aggregator that computes the number of non-missing values. |
Count | Gets an aggregator that computes the number of non-missing values. |
Covariance | Gets an aggregator that computes the covariance. |
Covariance | Gets an aggregator that computes the variance. |
Dot | Gets an aggregator that computes the dot product. |
Euclidean | Gets an aggregator that computes the Euclidean distance. |
Euclidean | Gets an aggregator that computes the Euclidean distance. |
First | Gets an aggregator that returns the first non-missing value. |
First | Gets an aggregator that computes the first quartile. |
Kurtosis | Gets an aggregator that computes the kurtosis. |
Last | Gets an aggregator that returns the last non-missing value. |
Log | Gets an aggregator that computes the product and returns the result as a Double. |
Max | Gets an aggregator that computes the largest value. |
Max | Gets an aggregator that computes the index of the largest value. |
Mean | Gets an aggregator that computes the mean. The result is returned as a value of the same type. |
Mean | Gets an aggregator that computes the mean. |
Median | Gets an aggregator that computes the median. |
Min | Gets an aggregator that computes the smallest value. |
Min | Gets an aggregator that computes the index of the smallest value. |
Mode | Gets an aggregator that computes the number of non-missing values. |
One | Gets an aggregator that computes the onenorm. The result is returned as a value of the same type. |
One | Gets an aggregator that computes the onenorm and returns the result as a Double. |
Product | Gets an aggregator that computes the product. The result is returned as a value of the same type. |
Product | Gets an aggregator that computes the product and returns the result as a Double. |
Range | Gets an aggregator that computes the largest value. |
Skewness | Gets an aggregator that computes the skewness. |
Standard | Gets an aggregator that computes the standard deviation. The result is returned as a value of the same type. |
Standard | Gets an aggregator that computes the standard deviation. |
Sum | Gets an aggregator that computes the sum. The result is returned as a value of the same type. |
Sum | Gets an aggregator that computes the sum and returns the result as a Double. |
Sum | Gets an aggregator that computes the Sum of Absolute Differences (SAD). |
Sum | Gets an aggregator that computes the sum and returns the result as a Double. |
Third | Gets an aggregator that computes the third quartile. |
Two | Gets an aggregator that computes the two-norm and returns the result as a Double. |
Variance | Gets an aggregator that computes the variance. The result is returned as a value of the same type. |
Variance | Gets an aggregator that computes the variance. |
Weighted | Gets an aggregator that computes the mean of a sequence weighted by another sequence. |
Weighted | Gets an aggregator that computes the standard deviation of a sequence weighted by another sequence. |
Weighted | Gets an aggregator that computes the variance of a sequence weighted by another sequence. |
Methods
Create<T, TResult>(Func<Vector<T>, TResult>) | Constructs a new aggregator from a function. |
Create<T, TResult, TAccumulator>(Func<TAccumulator, TResult>, AggregatorAttributes, TResult) | Constructs a new aggregator that uses the specified accumulator. |
Create<T, TResult, TIntermediate, TAccumulator>(Func<TAccumulator, TResult>, AggregatorAttributes, TResult) | |
Create | Constructs a new aggregator group from a function. |
Quantile( | Gets an aggregator that computes the specified quantile. |
Quantile( | Gets an aggregator that computes the specified quantile. |
Quantile( | Gets an aggregator that computes the specified quantile. |
Skip | Gets an aggregator that returns the first non-missing value after skipping the specified number of values. |
Fields
Open | Defines a set of aggregators that return the OHLC (Open, High, Low, Close) prices. |