def calc_evidence( self, Data, SS, LP=None):
    if self.inferType == 'EM': 
      # handled in alloc model and aggregated in HModel
      return 0
    else:
      return self.E_logpX(SS) + self.E_logpPhi() - self.E_logqPhi()
dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/bnpy/obsmodel/ZMGaussObsModel.py/ZMGaussObsModel.calc_evidence/original