mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-18 13:55:14 +02:00
rbf
This commit is contained in:
parent
5cf792504a
commit
399da015e6
1 changed files with 1 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ class RBF(Stationary):
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, input_dim, variance=1., lengthscale=None, ARD=False, name='RBF'):
|
def __init__(self, input_dim, variance=1., lengthscale=None, ARD=False, name='rbf'):
|
||||||
super(RBF, self).__init__(input_dim, variance, lengthscale, ARD, name)
|
super(RBF, self).__init__(input_dim, variance, lengthscale, ARD, name)
|
||||||
self.weave_options = {}
|
self.weave_options = {}
|
||||||
|
|
||||||
|
|
@ -200,7 +200,6 @@ class RBF(Stationary):
|
||||||
#allocate memory for the things we want to compute
|
#allocate memory for the things we want to compute
|
||||||
mudist = np.empty((N, M, M, Q))
|
mudist = np.empty((N, M, M, Q))
|
||||||
mudist_sq = np.empty((N, M, M, Q))
|
mudist_sq = np.empty((N, M, M, Q))
|
||||||
exponent = np.zeros((N,M,M))
|
|
||||||
psi2 = np.empty((N, M, M))
|
psi2 = np.empty((N, M, M))
|
||||||
|
|
||||||
l2 = self.lengthscale **2
|
l2 = self.lengthscale **2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue