def E_logqV( self ):
    logNormC = gammaln(self.qalpha0 + self.qalpha1) \
                      - gammaln(self.qalpha0) - gammaln(self.qalpha1)
    logBetaPDF = (self.qalpha1-1)*self.ElogV + (self.qalpha0-1)*self.Elog1mV
    if self.truncType == 'z':
      return logNormC.sum() + logBetaPDF.sum()
    elif self.truncType == 'v':
      # skip last entry because entropy of Beta(1,0) = 0
      return logNormC[:-1].sum() + logBetaPDF[:-1].sum()
    
  ######################################################### IO Utils
  #########################################################   for humans
dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/bnpy/allocmodel/mix/DPMixModel.py/DPMixModel.E_logqV/original