2e6b56ce989ddb63bd367d13373a3ec1d190fac6,src/iid_gaussian.py,StdNormalMetamodel,simulate_joint,#StdNormalMetamodel#Any#Any#Any#Any#,50
Before Change
def drop_models(self, *args): pass
def analyze_models(self, *args): pass
def simulate_joint(self, _bdb, _generator_id, targets, _constraints):
return stats.norm(loc=0, scale=1).rvs(len(targets))
def logpdf(self, _bdb, _generator_id, targets, _constraints):
vals = [value for (_, _, value) in targets]
anss = stats.norm(loc=0, scale=1).logpdf(vals)
After Change
def drop_models(self, *args): pass
def analyze_models(self, *args): pass
def simulate_joint(self, _bdb, _generator_id, targets, _constraints):
return [self.prng.gauss(0, 1) for _ in targets]
def logpdf(self, _bdb, _generator_id, targets, _constraints):
return sum(logpdfOne(value, 0, 1) for (_, _, value) in targets)
def insert(self, *args): pass
def remove(self, *args): pass
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: probcomp/bayeslite
Commit Name: 2e6b56ce989ddb63bd367d13373a3ec1d190fac6
Time: 2015-08-28
Author: axch@mit.edu
File Name: src/iid_gaussian.py
Class Name: StdNormalMetamodel
Method Name: simulate_joint
Project Name: flow-project/flow
Commit Name: 66533e85c0f2caab50aba671ee9c8adc6a38c528
Time: 2018-12-29
Author: akreidieh@gmail.com
File Name: flow/core/kernel/vehicle/aimsun.py
Class Name: AimsunKernelVehicle
Method Name: get_headway
Project Name: rtavenar/tslearn
Commit Name: 46cb0b5b2cf2d836a2cf96be95d4e25a4004675e
Time: 2018-10-22
Author: guillaume.androz@gmail.com
File Name: tslearn/clustering.py
Class Name: KShape
Method Name: _fit_one_init