a4f4dc39620b5b9a2301c8ec786c632f3eabd814,pymc3/step_methods/hmc/quadpotential.py,QuadPotential,velocity,#QuadPotential#Any#,126
Before Change
self.L = scipy.linalg.cholesky(A, lower=True)
def velocity(self, x):
return tt.dot(self.A, x)
def random(self):
n = floatX(normal(size=self.L.shape[0]))
return scipy.linalg.solve_triangular(self.L.T, n)
After Change
class QuadPotential(object):
def velocity(self, x):
raise NotImplementedError("Abstract method")
def energy(self, x):
raise NotImplementedError("Abstract method")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: pymc-devs/pymc3
Commit Name: a4f4dc39620b5b9a2301c8ec786c632f3eabd814
Time: 2017-07-16
Author: adrian.seyboldt@gmail.com
File Name: pymc3/step_methods/hmc/quadpotential.py
Class Name: QuadPotential
Method Name: velocity
Project Name: kundajelab/deeplift
Commit Name: 38a58431da1a8a41199529003fa4ddb9ebce8153
Time: 2016-07-08
Author: avanti.shrikumar@gmail.com
File Name: deeplift/blobs.py
Class Name: RNN
Method Name: _get_mxts_increments_for_inputs
Project Name: pymc-devs/pymc3
Commit Name: a4f4dc39620b5b9a2301c8ec786c632f3eabd814
Time: 2017-07-16
Author: adrian.seyboldt@gmail.com
File Name: pymc3/step_methods/hmc/quadpotential.py
Class Name: QuadPotential
Method Name: energy