def aBl_eigen(self): if self._aBBl is None: sigmas = np.array([[c.sigmas for c in d.components] for d in self.obs_distns]) mus = np.array([[c.mu for c in d.components] for d in self.obs_distns]) weights = np.array([d.weights.weights for d in self.obs_distns]) changepoints = np.array(self.changepoints).astype('int32') if self.model.temperature is not None: sigmas *= self.model.temperature from pyhsmm.util.temp import gmm_likes self._aBBl = np.empty((self.Tblock,self.num_states)) gmm_likes(self.data,sigmas,mus,weights,changepoints,self._aBBl) return self._aBBl