-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #61 from dynatrace-oss/release-0.7.1
prepare 0.7.1 release
- Loading branch information
Showing
72 changed files
with
9,035 additions
and
9,001 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
### HyperLogLog estimation error | ||
|
||
The state of an HyperLogLog sketch with precision parameter $p$ requires $m = 0.75 \cdot 2^p$ bytes. The expected relative standard error is approximately given by | ||
$\frac{1.039}{\sqrt{m}}$. This is a good approximation for all $p\geq 6$ and large distinct counts. However, the error is significantly smaller for distinct counts that are in the order of $m$ or smaller. The bias is always much smaller than the root-mean-square error (rmse) and can therefore be neglected. The following charts show the empirically evaluated relative error as a function of the true distinct count for various precision parameters $p$ based on 100k simulation runs: | ||
The state of an HyperLogLog sketch with precision parameter $p$ requires $m = 0.75 \cdot 2^p$ bytes. | ||
The expected relative standard error is approximately given by $\frac{1.039}{\sqrt{m}}$ and $\frac{0.833}{\sqrt{m}}$ for the default and the martingale estimator, respectively. | ||
This is a good approximation for all $p\geq 6$ and large distinct counts. | ||
However, the error is significantly smaller for distinct counts that are in the order of $m$ or smaller. | ||
The bias is always much smaller than the root-mean-square error (rmse) and can therefore be neglected. | ||
The following charts show the empirically evaluated relative error as a function of the true distinct count for various precision parameters $p$ based on 100k simulation runs: | ||
|
||
<img src="../test-results/hyperloglog-estimation-error-p3.png" width="400"><img src="../test-results/hyperloglog-estimation-error-p4.png" width="400"><img src="../test-results/hyperloglog-estimation-error-p5.png" width="400"><img src="../test-results/hyperloglog-estimation-error-p6.png" width="400"><img src="../test-results/hyperloglog-estimation-error-p7.png" width="400"><img src="../test-results/hyperloglog-estimation-error-p8.png" width="400"><img src="../test-results/hyperloglog-estimation-error-p9.png" width="400"><img src="../test-results/hyperloglog-estimation-error-p10.png" width="400"><img src="../test-results/hyperloglog-estimation-error-p11.png" width="400"><img src="../test-results/hyperloglog-estimation-error-p12.png" width="400"><img src="../test-results/hyperloglog-estimation-error-p13.png" width="400"><img src="../test-results/hyperloglog-estimation-error-p14.png" width="400"><img src="../test-results/hyperloglog-estimation-error-p15.png" width="400"><img src="../test-results/hyperloglog-estimation-error-p16.png" width="400"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
### UltraLogLog estimation error | ||
|
||
The state of an UltraLogLog sketch with precision parameter $p$ requires $m = 2^p$ bytes. The expected relative standard error is approximately given by | ||
$\frac{0.785}{\sqrt{m}}$. This is a good approximation for all $p\geq 6$ and large distinct counts. However, the error is significantly smaller for distinct counts that are in the order of $m$ or smaller. The bias is always much smaller than the root-mean-square error (rmse) and can therefore be neglected. The following charts show the empirically evaluated relative error as a function of the true distinct count for various precision parameters $p$ based on 100k simulation runs: | ||
The state of an UltraLogLog sketch with precision parameter $p$ requires $m = 2^p$ bytes. | ||
The expected relative standard error is approximately given by $\frac{0.785}{\sqrt{m}}$ and $\frac{0.658}{\sqrt{m}}$ for the default and the martingale estimator, respectively. | ||
This is a good approximation for all $p\geq 6$ and large distinct counts. | ||
However, the error is significantly smaller for distinct counts that are in the order of $m$ or smaller. | ||
The bias is always much smaller than the root-mean-square error (rmse) and can therefore be neglected. | ||
The following charts show the empirically evaluated relative error as a function of the true distinct count for various precision parameters $p$ based on 100k simulation runs: | ||
|
||
<img src="../test-results/ultraloglog-estimation-error-p3.png" width="400"><img src="../test-results/ultraloglog-estimation-error-p4.png" width="400"><img src="../test-results/ultraloglog-estimation-error-p5.png" width="400"><img src="../test-results/ultraloglog-estimation-error-p6.png" width="400"><img src="../test-results/ultraloglog-estimation-error-p7.png" width="400"><img src="../test-results/ultraloglog-estimation-error-p8.png" width="400"><img src="../test-results/ultraloglog-estimation-error-p9.png" width="400"><img src="../test-results/ultraloglog-estimation-error-p10.png" width="400"><img src="../test-results/ultraloglog-estimation-error-p11.png" width="400"><img src="../test-results/ultraloglog-estimation-error-p12.png" width="400"><img src="../test-results/ultraloglog-estimation-error-p13.png" width="400"><img src="../test-results/ultraloglog-estimation-error-p14.png" width="400"><img src="../test-results/ultraloglog-estimation-error-p15.png" width="400"><img src="../test-results/ultraloglog-estimation-error-p16.png" width="400"> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip | ||
networkTimeout=10000 | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.