Class MedianAbsoluteDeviationAggregationDescriptor<T>
This single-value aggregation approximates the median absolute deviation of its search results.
Median absolute deviation is a measure of variability. It is a robust statistic, meaning that it is useful for describing data that may have outliers, or may not be normally distributed. For such data it can be more descriptive than standard deviation.
It is calculated as the median of each data point’s deviation from the median of the entire sample. That is, for a random variable
X
, the median absolute deviation
is median(|median(X) - Xi|).
Inheritance
Implements
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class MedianAbsoluteDeviationAggregationDescriptor<T> : FormattableMetricAggregationDescriptorBase<MedianAbsoluteDeviationAggregationDescriptor<T>, IMedianAbsoluteDeviationAggregation, T>, IDescriptor, IMedianAbsoluteDeviationAggregation, IFormattableMetricAggregation, IMetricAggregation, IAggregation where T : class
Type Parameters
Name | Description |
---|---|
T |
Methods
| Edit this page View SourceCompression(double?)
TDigest algorithm component that controls memory usage and approximation error.
By increasing the compression value, you can increase the accuracy
at the cost of more memory. Larger compression values also make
the algorithm slower since the underlying tree data structure grows in
size, resulting in more expensive operations. The default compression value is 100
.
Declaration
public MedianAbsoluteDeviationAggregationDescriptor<T> Compression(double? compression)
Parameters
Type | Name | Description |
---|---|---|
double? | compression |
Returns
Type | Description |
---|---|
MedianAbsoluteDeviationAggregationDescriptor<T> |