16a8cda8a273a1fd91c3017e403f8f83c120d9e1,pymc3/gp/mean.py,Constant,__call__,#Constant#Any#,52
Before Change
self.c = c
def __call__(self, X):
return tt.ones(tt.stack([X.shape[0], ])) * self.c
class Linear(Mean):
After Change
self.c = c
def __call__(self, X):
return tt.alloc(1.0, X.shape[0]) * self.c
class Linear(Mean):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: pymc-devs/pymc3
Commit Name: 16a8cda8a273a1fd91c3017e403f8f83c120d9e1
Time: 2017-08-13
Author: w.j.engels@gmail.com
File Name: pymc3/gp/mean.py
Class Name: Constant
Method Name: __call__
Project Name: pymc-devs/pymc3
Commit Name: 842a8b842f481326071ab714b5af408098da88a2
Time: 2017-08-26
Author: w.j.engels@gmail.com
File Name: pymc3/gp/cov.py
Class Name: Gibbs
Method Name: diag
Project Name: pymc-devs/pymc3
Commit Name: 2084ce2547b2181baee21715e6f8fe338cc7464d
Time: 2017-08-23
Author: w.j.engels@gmail.com
File Name: pymc3/gp/cov.py
Class Name: Stationary
Method Name: diag