コード例 #1
0
ファイル: test_hmm.py プロジェクト: bhmm/bhmm
    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
コード例 #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
コード例 #3
0
ファイル: test_testsystems.py プロジェクト: ongbe/bhmm
 def test_three_state_model(self):
     """Test three-state model.
     """
     model = testsystems.dalton_model()
     # TODO: Check stationary probiblities are correct?
     return
コード例 #4
0
ファイル: test_testsystems.py プロジェクト: ChayaSt/bhmm
 def test_three_state_model(self):
     """Test three-state model.
     """
     model = testsystems.dalton_model()
     # TODO: Check stationary probiblities are correct?
     return