def cgs_iteration6(self, track_ll):
     obs_l = copy.copy(self.obs_d.keys())
     np.random.shuffle(obs_l)
     cgs_iter_cy(self, obs_l)
     ll = self.metric() if track_ll else None
     return (self.theta, self.alpha_post), ll
 def cgs_iteration2(self, track_ll):
     cgs_iter_cy(self)
     ll = self.metric() if track_ll else None
     return (self.theta, self.alpha_post), ll