This is an implementation of the Hokusai paper http://www.auai.org/uai2012/papers/231.pdf Much of the Count-Min logic is in https://github.com/dustin/go-probably