jaideeppyne opened a new pull request, #70: URL: https://github.com/apache/datasketches-python/pull/70
Fixes #68. `get_estimate()` is the HIP estimator. It is the more accurate of the two, and it can change with insertion order. The composite estimator is order-independent, and it is what a union uses once HIP can no longer be kept. C++ and Java already expose it. This binds the same method on both `hll_sketch` and `hll_union`. The docstring matches the C++ note that this is the estimator for when order-independence matters, not a replacement for `get_estimate()`. The test builds the same items in opposite orders and checks that `get_composite_estimate()` agrees, and that `hll_union.get_composite_estimate()` matches `get_result().get_composite_estimate()`. Tests: `python -m unittest tests.hll_test`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
