aNet.ai
Machine Learning/Learning path
0day streak0XP · Lv 1
← 5. Similarity / Divergence Measures
Lesson 4 of 13 10 min · 92 words From lecture slides

JS divergence

A symmetric, bounded divergence built from KL against the average distribution.

The Jensen–Shannon divergence compares both distributions to their average M:

Worked example with , : . Then and , so .

JS is symmetric and bounded: for two non-overlapping distributions it equals instead of blowing up, so it is more stable than KL — but a constant value also gives no useful gradient.

Formula to remember

JS divergence

Slides

Symmetric; equals log 2 for non-overlapping distributions.

Quick check · +5 XP

In the JS divergence, M is…

Practice this topic
Saved in this browser as you type.
aNet.ai · Introduction to Machine Learning · NewUU course outlineProgress saved in this browser