

def calc_evidence(self, Data, SS, LP):
    elbo_pData = self.Elogp_Edges(SS, LP)
    elbo_pLam = self.Elogp_Lam()
    elbo_qLam = self.Elogq_Lam()
    return ((elbo_pData + elbo_pLam) - elbo_qLam)

dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/bnpy/obsmodel/BernRelObsModel.py BernRelObsModel.calc_evidence/original