mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-08 11:32:39 +02:00
fix the remaining problem of cache.py
This commit is contained in:
parent
ca1edecce4
commit
59172435e2
3 changed files with 61 additions and 20 deletions
|
|
@ -79,7 +79,6 @@ class Stationary(Kern):
|
|||
#a convenience function, so we can cache dK_dr
|
||||
return self.dK_dr(self._scaled_dist(X, X2))
|
||||
|
||||
@Cache_this(limit=5, ignore_args=(0,))
|
||||
def _unscaled_dist(self, X, X2=None):
|
||||
"""
|
||||
Compute the Euclidean distance between each row of X and X2, or between
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue