Transition Probabilities Bug
Opened this issue · 0 comments
Chen-XueWen commented
Bug in: MAL database - experimentation.ipynb
Initialization of transition matrix should be
A = []
for i in range(K):
A_i = [random.uniform(0, 1) for k in range(K)]
total = sum(A_i)
A.append([entry/total for entry in A_i])
instead of
A = []
for i in range(K):
A_i = [random.uniform(0, 1) for k in range(K)]
total = sum(pi)
A.append([entry/total for entry in A_i])