20 #ifndef KOLMOGOROV_SMIRNOV_HPP_
21 #define KOLMOGOROV_SMIRNOV_HPP_
37 template<
typename Sketch>
38 static double delta(
const Sketch& sketch1,
const Sketch& sketch2);
50 template<
typename Sketch>
51 static double threshold(
const Sketch& sketch1,
const Sketch& sketch2,
double p);
64 template<
typename Sketch>
65 static bool test(
const Sketch& sketch1,
const Sketch& sketch2,
double p);
70 #include "kolmogorov_smirnov_impl.hpp"
Kolmogorov-Smirnov test for KLL or Quantiles sketches.
Definition: kolmogorov_smirnov.hpp:28
static double delta(const Sketch &sketch1, const Sketch &sketch2)
Computes the raw delta area between two quantile sketches for the Kolmogorov-Smirnov Test.
Definition: kolmogorov_smirnov_impl.hpp:29
static bool test(const Sketch &sketch1, const Sketch &sketch2, double p)
Performs the Kolmogorov-Smirnov Test between two quantile sketches.
Definition: kolmogorov_smirnov_impl.hpp:69
static double threshold(const Sketch &sketch1, const Sketch &sketch2, double p)
Computes the adjusted delta area threshold for the Kolmogorov-Smirnov Test.
Definition: kolmogorov_smirnov_impl.hpp:58
DataSketches namespace.
Definition: binomial_bounds.hpp:38