in sketches/Sampler.py [0:0]
def items(self):
"""
Generator which returns item, pseudo-inclusion probability
"""
for R, w, x in self.buffer:
yield x, self.inc_probability(self.getThreshold(x, w), w)