Implementation of the Greenwald and Khanna algorithm for streaming calculation of epsilon-approximate quantiles.
See:
Greenwald and Khanna, "Space-efficient online computation of quantile summaries" in SIGMOD 2001
Implementation of the Greenwald and Khanna algorithm for streaming calculation of epsilon-approximate quantiles.
See:
Greenwald and Khanna, "Space-efficient online computation of quantile summaries" in SIGMOD 2001
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 1 | Implementation of the Greenwald and Khanna algorithm for streaming calculation of epsilon-approximate quantiles. |
| Insert | 1 | |
| Query | 1 | 使用数量百分比来获取得到对应的阈值,quantile为[0,1]之间的百分比值 |
| ToString | 1 | |
| GetEnumerator | 1 |
03 Fields
| Name | Overloads | Summary |
|---|---|---|
| epsilon | 1 | Acceptable % error in percentile estimate |
| count | 1 | Total number of items in stream |
| compact_size | 1 | Threshold to trigger a compaction |
04 Members
Double, Int32, IEnumerable(Of Double))Implementation of the Greenwald and Khanna algorithm for streaming calculation of epsilon-approximate quantiles.
| Name | Type | Description |
|---|---|---|
epsilon | Double | Acceptable % error in percentile estimate |
compact_size | Int32 | Threshold to trigger a compaction |
Double)对这个函数的调用无法被并行化
| Name | Type | Description |
|---|---|---|
v | Double | - |
Double)使用数量百分比来获取得到对应的阈值,quantile为[0,1]之间的百分比值
| Name | Type | Description |
|---|---|---|
quantile# | Double |
|
阈值
Acceptable % error in percentile estimate
Total number of items in stream
Threshold to trigger a compaction