Beispiel #1
0
 def generate_states(self):
     self.stateseq = sample_markov(T=self.T, trans_matrix=self.trans_matrix, init_state_distn=self.pi_0)
Beispiel #2
0
 def generate_states(self):
     self.stateseq = sample_markov(T=self.T,
                                   trans_matrix=self.trans_matrix,
                                   init_state_distn=self.pi_0)