For probability measures on a measurable space , the KL-divergence is
if and otherwise.
Modified Sep 02, 20241 min read
For probability measures ρ,ν on a measurable space (Ω,F), the KL-divergence is
DKL(ρ∥ν)=Eρ[log(dνdρ(X))]=∫log(dνdρ(x))ρ(dx),if ρ≪ν and ∞ otherwise.