Exemple #1
0
    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
Exemple #2
0
    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
Exemple #3
0
 def test_three_state_model(self):
     """Test three-state model.
     """
     model = testsystems.dalton_model()
     # TODO: Check stationary probiblities are correct?
     return
Exemple #4
0
 def test_three_state_model(self):
     """Test three-state model.
     """
     model = testsystems.dalton_model()
     # TODO: Check stationary probiblities are correct?
     return