Skip to main content

Validator overview

The categorical distribution Validator verifies that only the expected number of categories are added, removed, or changed over time, as well as the relative entropy. Categorical distribution validators support reference source configuration for data validation. For more information, see Reference Source Validation. For an overview of all validator types, see Validator Types.

Relative entropy

You can use relative entropy to validate distribution shifts in your data over time, or to compare the distributions of two data sets. Relative entropy is presented as a percentage where:
  • 0% means identical empirical distributions.
  • 100% means maximal difference in empirical distributions.
In Validio, relative entropy is adapted from the implementation of the Kullback - Leibler divergence.

Metric configuration parameters

Configure the validator metric calculation with the the following parameters:

Metric calculation example

The following example illustrates how the categorical distribution validator calculates the different metrics. The table shows all values from the categorical fields monitored in respective datasets: