File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 10
10
See http://pymc-learn.org for complete documentation.
11
11
"""
12
12
13
- __version__ = '0.0.1.rc2 '
13
+ __version__ = '0.0.1.rc3 '
14
14
15
15
__all__ = ['gaussian_process' ,
16
16
'linear_model' ,
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ def create_model(self):
144
144
if self .prior_mean is None :
145
145
mean_function = pm .gp .mean .Zero ()
146
146
else :
147
- mean_function = self .prior_mean
147
+ mean_function = pm . gp . mean . Constant ( c = self .prior_mean )
148
148
149
149
self .gp = pm .gp .Latent (mean_func = mean_function ,
150
150
cov_func = cov_function )
@@ -259,7 +259,7 @@ def create_model(self):
259
259
if self .prior_mean is None :
260
260
mean_function = pm .gp .mean .Zero ()
261
261
else :
262
- mean_function = self .prior_mean
262
+ mean_function = pm . gp . mean . Constant ( c = self .prior_mean )
263
263
264
264
self .gp = pm .gp .Latent (mean_func = mean_function ,
265
265
cov_func = cov_function )
@@ -373,7 +373,7 @@ def create_model(self):
373
373
if self .prior_mean is None :
374
374
mean_function = pm .gp .mean .Zero ()
375
375
else :
376
- mean_function = self .prior_mean
376
+ mean_function = pm . gp . mean . Constant ( c = self .prior_mean )
377
377
378
378
self .gp = pm .gp .MarginalSparse (mean_func = mean_function ,
379
379
cov_func = cov_function ,
You can’t perform that action at this time.
0 commit comments