Collection of algorithms for estimating the cardinality of sets. Provides implementation of:
- HyperLogLog
- LogLog
- Linear Counter
Assuming you have Apache Maven installed and configured:
mvn package
And you should be all set.
Main inspiration for the code was stream-lib (https://github.com/clearspring/stream-lib) and and probably-js (https://github.com/yammer/probablyjs).