Create a Count-Min sketch out of a single item or data stream.
We assume the Count-Min sketches on the left and right use the same hash functions.
We assume the Count-Min sketches on the left and right use the same hash functions.
override this if there is a faster way to do this sum than reduceLeftOption on plus
override this if there is a faster way to do this sum than reduceLeftOption on plus
Monoid for adding Count-Min sketches.
eps and delta are parameters that bound the error of each query estimate. For example, errors in answering queries (e.g., how often has element x appeared in the stream described by the sketch?) are often of the form: "with probability p >= 1 - delta, the estimate is close to the truth by some factor depending on eps."