From dc7cd2c1cd6a4906a9832298def0858d3b9a0706 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado <55825613+luevano@users.noreply.github.com> Date: Mon, 9 Mar 2020 20:35:14 -0700 Subject: Change to **2 --- ml_exp/kernels.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ml_exp/kernels.py b/ml_exp/kernels.py index 11679460b..599487b3a 100644 --- a/ml_exp/kernels.py +++ b/ml_exp/kernels.py @@ -50,7 +50,7 @@ def laplauss_kernel(X1, X1_size = X1.shape[0] X2_size = X2.shape[0] if laplauss == 'gauss': - i_sigma = -0.5 / (sigma*sigma) + i_sigma = -0.5 / (sigma**2) elif laplauss == 'laplace': i_sigma = -0.5 / sigma else: -- cgit v1.2.3-70-g09d2