diff options
author | David Luevano Alvarado <55825613+luevano@users.noreply.github.com> | 2020-03-09 20:35:14 -0700 |
---|---|---|
committer | David Luevano Alvarado <55825613+luevano@users.noreply.github.com> | 2020-03-09 20:35:14 -0700 |
commit | dc7cd2c1cd6a4906a9832298def0858d3b9a0706 (patch) | |
tree | e1c0d5a6d0dceaadad82532afa5467e9cc49ec87 | |
parent | 2396f88317fd9243e707cf66ddaa4bc58503c827 (diff) |
Change to **2
-rw-r--r-- | ml_exp/kernels.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |