Loading tutorials
Intermediate · Mid: 14 chapters · 39 min read. States assumed prerequisites
Start readingx appeared so far? This chapter explains why that questiond rows and w columns of counters, with one hash function per row.d rows and w columns, with one hash function per row. You should also know how add and estimate work. Here we explain why estimate never returns lesd rows and w columns, one hash per row, and an estimate taken as the minimum across rows. Here you learn exactly what the sketch promises and what it doesn't.CountMinSketch class from the earlier chapters (add and estimate), basic Python, and how a min-heap works.CountMinSketch class from the earlier chapters: its add, estimate, and _cols methods, and the idea that an estimate is the minimum over d row counters. You should also be comfortable with the one-sided error property.CountMinSketch class from the earlier chapters, with its add, estimate, w, d, params and table fields.CountMinSketch class from earlier in this tutorial and understand why the row minimum never undercounts when all updates are positive.add and estimate, and that you know the (ε, δ) guarantee: with probability at least 1 − δ, an estimate exceeds the true count by at most εN, where N is the stream length. Here you decide when that trade is worth making.