Skip to content

Commit

Permalink
documentation string
Browse files Browse the repository at this point in the history
  • Loading branch information
Eight1911 authored and tylerjereddy committed Nov 6, 2018
1 parent b88297f commit 7c725a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scipy/spatial/distance.py
Original file line number Diff line number Diff line change
Expand Up @@ -1212,10 +1212,10 @@ def jensenshannon(p, q, base=None):
.. math::
\\frac{D(p \parallel m) + D(q \parallel m)}{2}
\\frac{D(p \\parallel m) + D(q \\parallel m)}{2}
where :math:`M` is the average of :math:`p` and :math:`q`
and :math:`D` is the Kullback-Leibler Divergence.
where :math:`m` is the average of :math:`p` and :math:`q`
and :math:`D` is the Kullback-Leibler divergence.
This routine will normalize `p` and `q` if they don't sum to 1.0.
Expand Down

0 comments on commit 7c725a1

Please sign in to comment.