diff --git a/sklearn/gaussian_process/kernels.py b/sklearn/gaussian_process/kernels.py index b68b6a1f9f5bdef0e85d00e472219550ba77cd44..50febc8542570567ad36866ae84a85b649ceeca2 100644 --- a/sklearn/gaussian_process/kernels.py +++ b/sklearn/gaussian_process/kernels.py @@ -1512,7 +1512,8 @@ class ExpSineSquared(StationaryKernelMixin, NormalizedKernelMixin, Kernel): parameter periodicity>0. Only the isotropic variant where l is a scalar is supported at the moment. The kernel given by: - k(x_i, x_j) = exp(-2 sin(\pi / periodicity * d(x_i, x_j)) / length_scale)^2 + k(x_i, x_j) = + exp(-2 (sin(\pi / periodicity * d(x_i, x_j)) / length_scale) ^ 2) .. versionadded:: 0.18