mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-29 14:56:24 +02:00
[Poly] added bias and scale
This commit is contained in:
parent
01a7f85c9e
commit
c18d9dac84
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ class Poly(Kern):
|
|||
_, _, B = self._AB(X, X2)
|
||||
return B * self.variance
|
||||
|
||||
#@Cache_this(limit=2)
|
||||
@Cache_this(limit=2)
|
||||
def _AB(self, X, X2=None):
|
||||
if X2 is None:
|
||||
dot_prod = np.dot(X, X.T)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue