7f607e66745235eaaa5eb70740791f45d9a21601,pymc3/variational/opvi.py,Approximation,logq,#Approximation#,1047

Before Change



    @node_property
    def logq(self):
        return self.symbolic_logq.mean(0)

    @node_property
    def logq_norm(self):
        return self.logq / self.symbolic_normalizing_constant

After Change



    @node_property
    def logq(self):
        return tt.add(*self.collect("logq"))

    @node_property
    def logq_norm(self):
        return self.logq / self.symbolic_normalizing_constant
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pymc-devs/pymc3
Commit Name: 7f607e66745235eaaa5eb70740791f45d9a21601
Time: 2017-09-02
Author: maxim.v.kochurov@gmail.com
File Name: pymc3/variational/opvi.py
Class Name: Approximation
Method Name: logq


Project Name: Pinafore/qb
Commit Name: 166cb2c804d081401f0efb52745d214fa633fae1
Time: 2017-04-13
Author: ski.rodriguez@gmail.com
File Name: qanta/guesser/elasticsearch.py
Class Name: ElasticSearchGuesser
Method Name: guess


Project Name: pymc-devs/pymc3
Commit Name: 13831dd959789127f9735275757f1d660de22b82
Time: 2017-09-02
Author: maxim.v.kochurov@gmail.com
File Name: pymc3/variational/stein.py
Class Name: Stein
Method Name: dlogp