Kullback–Leibler divergence
is the Kullback–Leibler divergence in nats. When the sample space formula_9 is a finite set, the Kullback–Leibler divergence is given by