def _init_model(self, Z):
        m = LdaCgsSeq(context_type=self.context_type,
                      K=self.K, V=self.V, alpha=self.alpha, beta=self.beta)
        m.corpus = self.corpus
        m.V = self.V
        m.indices = self.indices
        m.Z = Z
        m._compute_top_doc()
        m._compute_word_top()
        m.inv_top_sums = 1. / self.word_top.sum(0)
        m.iteration = 1
        m.log_probs = [(1, m._compute_log_prob())]
        return m
dataset/ETHPy150Open inpho/vsm/vsm/model/ldaexact.py/LdaExact._init_model/original