diff --git a/pmlearn/__init__.py b/pmlearn/__init__.py index 41a115e..98e3329 100644 --- a/pmlearn/__init__.py +++ b/pmlearn/__init__.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', diff --git a/pmlearn/gaussian_process/gpr.py b/pmlearn/gaussian_process/gpr.py index 4f41373..0c06a03 100644 --- a/pmlearn/gaussian_process/gpr.py +++ b/pmlearn/gaussian_process/gpr.py @@ -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, diff --git a/requirements.txt b/requirements.txt index 8b22fe9..4390a4b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,10 +4,10 @@ matplotlib>=2.1.1 numpy>=1.13.1 numpydoc>=0.7.0 pandas>=0.21.1 -pymc3>=3.4.1 +pymc3==3.4.1 scikit-learn>=0.19.1 scipy>=1.0.0 seaborn>=0.8.1 six>=1.10.0 -theano>=1.0.0 +theano>=1.0.4 tqdm>=4.8.4 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy