Skip to content

Commit

Permalink
Merge pull request #3543 from pymc-devs/periodic_kernel_doc_fix
Browse files Browse the repository at this point in the history
Fix exponent in Periodic covariance function
  • Loading branch information
fonnesbeck committed Jul 12, 2019
2 parents 89bba1e + 3fff316 commit 1ec703e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymc3/gp/cov.py
Expand Up @@ -296,7 +296,7 @@ class Periodic(Stationary):
The Periodic kernel.
.. math::
k(x, x') = \mathrm{exp}\left( -\frac{2 \mathrm{sin}^2(\pi |x-x'| \frac{1}{T})}{\ell^2} \right)
k(x, x') = \mathrm{exp}\left( -\frac{\mathrm{sin}^2(\pi |x-x'| \frac{1}{T})}{2\ell^2} \right)
"""

def __init__(self, input_dim, period, ls=None, ls_inv=None, active_dims=None):
Expand Down

0 comments on commit 1ec703e

Please sign in to comment.