Helper Classes

These classes are required for certain sketches or specific functionality within sketches. Some of them are abstract base classes, but in those cases there is at least one reference example of a concrete class.

  • serde is used when serializing and deserializing sketches.

  • jaccard is used to compute the Jaccard similarity between pairs of theta or tuple sketches.

  • tuple_policy is required to use a tuple_sketch by specifying how summaries are combined.

  • ks_test() performs a Kolmogorov-Smirnov test on absolute-error quantiles family sketches.

  • kernel_function is required when using a kernel_sketch for Kernel Density Estimation.