Skip to content

Commit 9926606

Browse files
committed
remove record of __call__'s
1 parent d03e81c commit 9926606

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

pymc3/gp/gp.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
import pymc3 as pm
88

9-
__all__ = ['GPLatent', 'GPMarginal']
9+
__all__ = ['GPLatent', 'GPMarginal', 'TProcess', 'GPMarginalSparse']
1010

1111
cholesky = pm.distributions.dist_math.Cholesky(nofail=True, lower=True)
1212
solve_lower = tt.slinalg.Solve(A_structure='lower_triangular')
@@ -42,8 +42,6 @@ def __call__(self, name, size, mean_func):
4242
self.size = size
4343
self.mean_func = mean_func
4444

45-
# help user keep track of GP since internal state changes
46-
self.call_record.append((name, size))
4745
# force user to run `__call__` before `conditioned_on`
4846
self._ready = True
4947
return self
@@ -116,7 +114,7 @@ def _predictive_rv(self, X, f, Xs):
116114

117115

118116

119-
class StudentTProcess(GPLatent):
117+
class TProcess(GPLatent):
120118
""" StudentT process
121119
"""
122120
def __init__(self, cov_func):
@@ -147,8 +145,6 @@ class GPMarginal(GPBase):
147145

148146
def __init__(self, cov_func):
149147
super(GPMarginal, self).__init__(cov_func)
150-
# if you want to predict or sample from noisy gp,
151-
# easy to add iid normal noise
152148

153149
def __call__(self, name, size, mean_func, include_noise=False):
154150
self.include_noise = include_noise

0 commit comments

Comments
 (0)