d15d9ad19021a8a3f26a86fbc6b71838ac37e7d1,pymc3/distributions/multivariate.py,MvNormal,logp,#MvNormal#Any#,121

Before Change


        delta = value - mu
        k = tau.shape[0]

        result = k * tt.log(2 * np.pi)
        if self.gpu_compat:
            result -= tt.log(det(tau))
        else:
            result -= logdet(tau)
        result += (tt.dot(delta, tau) * delta).sum(axis=delta.ndim - 1)
        return -1 / 2. * result


class MvStudentT(Continuous):
    R

After Change



    def logp(self, value):
        if self.has_tau:
            return self._logp_tau(value)
        return self._logp_chol(value)

    def _logp_chol(self, value):
        chol_cov = self.chol_cov
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: pymc-devs/pymc3
Commit Name: d15d9ad19021a8a3f26a86fbc6b71838ac37e7d1
Time: 2017-03-30
Author: jonathan.h.friedman@gmail.com
File Name: pymc3/distributions/multivariate.py
Class Name: MvNormal
Method Name: logp


Project Name: geomstats/geomstats
Commit Name: 48f114dfb7ae386b8baef4e261a554a1cdedc4b9
Time: 2020-01-22
Author: opeltre@gmail.com
File Name: geomstats/geometry/general_linear.py
Class Name: GeneralLinear
Method Name: belongs


Project Name: ysig/GraKeL
Commit Name: b996639740adde1bf4b39b278e83c4c295ad65ca
Time: 2018-09-24
Author: y.siglidis@gmail.com
File Name: grakel/kernels/multiscale_laplacian.py
Class Name: MultiscaleLaplacianFast
Method Name: pairwise_operation


Project Name: pymc-devs/pymc3
Commit Name: 867c2f9862bfa47183c25316b3e1316442592082
Time: 2015-06-18
Author: jsalvatier@gmail.com
File Name: pymc3/distributions/transforms.py
Class Name: Transform
Method Name: jacobian_det