56acbf4e0a09b2a4a3c35c787378c137961076a1,GPy/inference/latent_function_inference/var_gauss.py,VarGauss,inference,#VarGauss#Any#Any#Any#Any#Any#Any#Any#,28

Before Change


            dL_dthetaL = np.array([])
        dF_da = np.dot(K, dF_dm)
        SigmaB = Sigma*self.beta
        dF_db = -np.diag(Sigma.dot(np.diag(dF_dv.flatten())).dot(SigmaB))*2
        KL = 0.5*(Alogdet + np.trace(Ai) - num_data + np.sum(m*self.alpha))
        dKL_da = m
        A_A2 = Ai - Ai.dot(Ai)
        dKL_db = np.diag(np.dot(KB.T, A_A2))

After Change


        dF_da = np.dot(K, dF_dm)
        SigmaB = Sigma*self.beta
        //dF_db_ = -np.diag(Sigma.dot(np.diag(dF_dv.flatten())).dot(SigmaB))*2
        dF_db = -2*np.sum(Sigma**2 * (dF_dv * self.beta), 0)
        //assert np.allclose(dF_db, dF_db_)

        KL = 0.5*(Alogdet + np.trace(Ai) - num_data + np.sum(m*self.alpha))
        dKL_da = m
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: SheffieldML/GPy
Commit Name: 56acbf4e0a09b2a4a3c35c787378c137961076a1
Time: 2015-09-04
Author: james.hensman@gmail.com
File Name: GPy/inference/latent_function_inference/var_gauss.py
Class Name: VarGauss
Method Name: inference


Project Name: nilearn/nilearn
Commit Name: 57447a51c963cf82622d991bbf4c97bc4c276219
Time: 2014-02-20
Author: virgile.fritsch@gmail.com
File Name: nilearn/mass_univariate/permuted_least_squares.py
Class Name:
Method Name: orthonormalize_matrix


Project Name: KrishnaswamyLab/PHATE
Commit Name: 32514a805320fa562efdddb2757431b27c5ef076
Time: 2018-03-20
Author: davidvandijk@gmail.com
File Name: Python/phate/phate.py
Class Name:
Method Name: embed_phate