def update_obs_params_VB(self, SS, mergeCompA=None, **kwargs):
    if mergeCompA is None:
      self.Lam[mergeCompA] = SS.WordCounts[mergeCompA] + self.obsPrior.lamvec    
    else:
      self.Lam = SS.WordCounts + self.obsPrior.lamvec
dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/bnpy/obsmodel/BernRelObsModel.py/BernRelObsModel.update_obs_params_VB/original