Skip to content
Permalink
Browse files

Merge pull request #33 from pymc-learn/dev

Dev
  • Loading branch information...
Emaasit committed Dec 3, 2018
2 parents 2b49a97 + 8a71350 commit 5d72707f8c0129591be2cfb1bf7bb5b02b460e2c
Showing with 4 additions and 4 deletions.
  1. +1 −1 pmlearn/__init__.py
  2. +3 −3 pmlearn/gaussian_process/gpr.py
@@ -10,7 +10,7 @@
See http://pymc-learn.org for complete documentation.
"""

__version__ = '0.0.1.rc2'
__version__ = '0.0.1.rc3'

__all__ = ['gaussian_process',
'linear_model',
@@ -144,7 +144,7 @@ def create_model(self):
if self.prior_mean is None:
mean_function = pm.gp.mean.Zero()
else:
mean_function = self.prior_mean
mean_function = pm.gp.mean.Constant(c=self.prior_mean)

self.gp = pm.gp.Latent(mean_func=mean_function,
cov_func=cov_function)
@@ -259,7 +259,7 @@ def create_model(self):
if self.prior_mean is None:
mean_function = pm.gp.mean.Zero()
else:
mean_function = self.prior_mean
mean_function = pm.gp.mean.Constant(c=self.prior_mean)

self.gp = pm.gp.Latent(mean_func=mean_function,
cov_func=cov_function)
@@ -373,7 +373,7 @@ def create_model(self):
if self.prior_mean is None:
mean_function = pm.gp.mean.Zero()
else:
mean_function = self.prior_mean
mean_function = pm.gp.mean.Constant(c=self.prior_mean)

self.gp = pm.gp.MarginalSparse(mean_func=mean_function,
cov_func=cov_function,

0 comments on commit 5d72707

Please sign in to comment.
You can’t perform that action at this time.