Returns the currrent total count for the key
Returns the currrent total count for the key
TODO Should this compress in place? Returns a new CountMinSketch that has half the width of this CMS.
TODO Should this compress in place? Returns a new CountMinSketch that has half the width of this CMS. Each of the w/2 columns of the new CMS has the combined counts of the ith and ith+w/2 columns of this CMS. See the Hokusai paper for details.
A new CountMinSketch that is the compressed version of this
CMSCompressException
if this CMS's width is not a power of two, or is too small.
The estimate is correct within 'epsilon' * (total item count), with probability 'confidence'.
The estimate is correct within 'epsilon' * (total item count), with probability 'confidence'.