forked from FKD13/12urenloop-hmmlearn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
static_probabilities.py
23 lines (20 loc) · 1.83 KB
/
static_probabilities.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import numpy as np
TRANSITION_PROBABILITIES_12UL = np.array([
[0.8319327731092437, 0.08319319717022551, 8.320113109176904E-4, 8.404964234943026E-6, 8.404964234943026E-6, 8.320113109176904E-4, 0.08319319717022551],
[0.08319319717022551, 0.8319327731092437, 0.08319319717022551, 8.320113109176904E-4, 8.404964234943026E-6, 8.404964234943026E-6, 8.320113109176904E-4],
[8.320113109176904E-4, 0.08319319717022551, 0.8319327731092437, 0.08319319717022551, 8.320113109176904E-4, 8.404964234943026E-6, 8.404964234943026E-6],
[8.404964234943026E-6, 8.320113109176904E-4, 0.08319319717022551, 0.8319327731092437, 0.08319319717022551, 8.320113109176904E-4, 8.404964234943026E-6],
[8.404964234943026E-6, 8.404964234943026E-6, 8.320113109176904E-4, 0.08319319717022551, 0.8319327731092437, 0.08319319717022551, 8.320113109176904E-4],
[8.320113109176904E-4, 8.404964234943026E-6, 8.404964234943026E-6, 8.320113109176904E-4, 0.08319319717022551, 0.8319327731092437, 0.08319319717022551],
[0.08319319717022551, 8.320113109176904E-4, 8.404964234943026E-6, 8.404964234943026E-6, 8.320113109176904E-4, 0.08319319717022551, 0.8319327731092437],
])
EMISSION_PROBABILITIES_12UL = np.array([
[0.75/0.81, 0.01/0.81, 0.01/0.81, 0.01/0.81, 0.01/0.81, 0.01/0.81, 0.01/0.81],
[0.01/0.81, 0.75/0.81, 0.01/0.81, 0.01/0.81, 0.01/0.81, 0.01/0.81, 0.01/0.81],
[0.01/0.81, 0.01/0.81, 0.75/0.81, 0.01/0.81, 0.01/0.81, 0.01/0.81, 0.01/0.81],
[0.01/0.81, 0.01/0.81, 0.01/0.81, 0.75/0.81, 0.01/0.81, 0.01/0.81, 0.01/0.81],
[0.01/0.81, 0.01/0.81, 0.01/0.81, 0.01/0.81, 0.75/0.81, 0.01/0.81, 0.01/0.81],
[0.01/0.81, 0.01/0.81, 0.01/0.81, 0.01/0.81, 0.01/0.81, 0.75/0.81, 0.01/0.81],
[0.01/0.81, 0.01/0.81, 0.01/0.81, 0.01/0.81, 0.01/0.81, 0.01/0.81, 0.75/0.81],
])
START_PROBABILITIES_12UL = np.array([0.994, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001])