9b43479f3d34e6cbcaf20c029e76f8e8db252399,pymc3/gp/cov.py,Gibbs,__init__,#Gibbs#Any#Any#Any#Any#,301
Before Change
if active_dims is None:
assert input_dim == 1, "Must have one dimensional input"
else:
assert len(active_dims) == 1, "Must have one dimensional input"
assert callable(lengthscale_func), "Must be a function"
self.ell = handle_args(lengthscale_func, args)
self.args = args
After Change
def __init__(self, input_dim, lengthscale_func, args=None, active_dims=None):
Covariance.__init__(self, input_dim, active_dims)
if active_dims is not None:
if input_dim != 1 or sum(active_dims) == 1:
raise NotImplementedError("Higher dimensional inputs are untested")
else:
if input_dim != 1:
raise NotImplementedError("Higher dimensional inputs are untested")
assert callable(lengthscale_func), "Must be a callable"
self.ell = handle_args(lengthscale_func, args)
self.args = args
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances Project Name: pymc-devs/pymc3
Commit Name: 9b43479f3d34e6cbcaf20c029e76f8e8db252399
Time: 2017-02-28
Author: w.j.engels@gmail.com
File Name: pymc3/gp/cov.py
Class Name: Gibbs
Method Name: __init__
Project Name: probcomp/bayeslite
Commit Name: ba84a25ac96a9a8de0dd065c4e16b08664430603
Time: 2015-02-17
Author: baxyjr@gmail.com
File Name: src/bql.py
Class Name:
Method Name: execute_phrase
Project Name: GPflow/GPflow
Commit Name: d1ac7b831ad36cd0e4bdd7980819f83208345148
Time: 2018-02-07
Author: alex.ialongo@gmail.com
File Name: gpflow/expectations.py
Class Name:
Method Name: _expectation