def test_hmm(self): # Create a simple HMM model. model = testsystems.dalton_model(nstates=3) # Test model parameter access. assert_equal(model.transition_matrix.shape, (3, 3)) assert_equal(model.stationary_distribution.shape, (3,)) return
def test_hmm(self): # Create a simple HMM model. model = testsystems.dalton_model(nstates=3) # Test model parameter access. assert_equal(model.transition_matrix.shape, (3,3)) assert_equal(model.stationary_distribution.shape, (3,)) return
def test_three_state_model(self): """Test three-state model. """ model = testsystems.dalton_model() # TODO: Check stationary probiblities are correct? return