def get_post_distr( self, SS, k=None, kB=None, **kwargs):
    if k is None:
      EN = SS.N
      Ex = SS.x
      Exx = SS.xx
    elif kB is not None:
      EN = float(SS.N[k] + SS.N[kB])
      Ex = SS.x[k] + SS.x[kB]
      Exx = SS.xx[k] + SS.xx[kB]
    else:
      EN = float(SS.N[k])
      Ex = SS.x[k]
      Exx = SS.xx[k]
    kappa = self.kappa + EN
    m = (self.kappa * self.m + Ex) / kappa
    a = self.a + 0.5*EN
    b = self.b + 0.5*(Exx + self.kappa*np.square(self.m) - kappa*np.square(m))
    return GaussGammaDistr(a, b, m, kappa)
Populate loads from masters in stack.remotes
dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/bnpy/distr/GaussGammaDistr.py/GaussGammaDistr.get_post_distr--crossover with--dataset/ETHPy150Open saltstack/salt/salt/daemons/flo/core.py/SaltRaetRoadClusterLoadSetup.action