a35b74e9bc26c62321654ba32ce1d3464f47f71a,pyhawkes/internals/impulses.py,DirichletImpulseResponses,get_vlb,#DirichletImpulseResponses#,136

Before Change


        self.mf_update_gamma(EZ)

    def get_vlb(self):
        raise NotImplementedError

    def resample_from_mf(self):
        
        Resample from the mean field distribution

After Change



        // Second term
        // E[LN q(g | \tilde{gamma})]
        vlb += Dirichlet(self.mf_gamma).entropy().sum()

        return vlb

    def resample_from_mf(self):
        
        Resample from the mean field distribution
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: slinderman/pyhawkes
Commit Name: a35b74e9bc26c62321654ba32ce1d3464f47f71a
Time: 2015-01-23
Author: scott.linderman@gmail.com
File Name: pyhawkes/internals/impulses.py
Class Name: DirichletImpulseResponses
Method Name: get_vlb


Project Name: freelunchtheorem/Conditional_Density_Estimation
Commit Name: 5f880ccb8615fe3c5263680ac06377a1b2606c7e
Time: 2018-01-15
Author: f4bio.ferreira@gmail.com
File Name: evaluation/GoodnessOfFit.py
Class Name: GoodnessOfFit
Method Name: kl_divergence


Project Name: slinderman/pyhawkes
Commit Name: a35b74e9bc26c62321654ba32ce1d3464f47f71a
Time: 2015-01-23
Author: scott.linderman@gmail.com
File Name: pyhawkes/internals/bias.py
Class Name: GammaBias
Method Name: get_vlb


Project Name: dit/dit
Commit Name: 69e83f107250c075c4921b79d585ef24754371d6
Time: 2013-10-08
Author: ryangregoryjames@gmail.com
File Name: dit/abc.py
Class Name:
Method Name: H