Approximation Statistics
Data scientists frequently want to find anomalies in numerical data. To that end, HCP has some simple approximation statistics.
Function | Description | Input | Returns |
---|---|---|---|
HLLP_ADD | Add value to the HyperLogLogPlus estimator set. |
|
The HyperLogLogPlus set with a new value added |
HLLP_CARDINALITY | Returns HyperLogLogPlus-estimated cardinality for this set. |
|
Long value representing the cardinality for this set |
HLLP_INIT | Initializes the HyperLogLogPlus estimator set. p must be a value between 4 and sp and sp must be less than 32 and greater than 4. |
|
A new HyperLogLogPlus set |
HLLP_MERGE | Merge hllp sets together. The resulting estimator is initialized with p and sp precision values from the first provided hllp estimator set. |
|
True if the filter might contain the value and false otherwise |