What is JS Distance?

JS Distance

JS distance is a symmetric derivation of KL divergence, and it is used to measure drift. In addition to being an actual metric (as opposed to KL), it is bounded by the square root of ln(2). For two distributions P and Q, the formula for JS distance is shown in the image. Use JS distance to compare distributions with low variance. 

js distance math

Sign up for our monthly newsletter, The Drift.

Subscribe