You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Examples.py, line 189, I got TypeError: cannot unpack non-iterable Mdp object while doing: mdp, input_alphabet = generate_random_mdp(num_states, input_len, num_outputs)
Solution:
In aalpy/utils/AutomatonGenerators.py, line 269, replace: return Mdp(states[0], states) by return Mdp(states[0], states), inputs
:)
The text was updated successfully, but these errors were encountered:
I will update the random MDP and SMM generation once I am back to work in a week or so. Just to make it a bit better, it is functional as is, but some things go on my nerves :)
There are some other examples that deal with learning of stochastic models in Examples.py, which might be more suited for your needs.
Btw, cool library with Baum-Welch algorithm, I was just thinking recently about adding those to AALpy :)
If you have some questions regarding anything let us know :)
Problem:
In Examples.py, line 189, I got
TypeError: cannot unpack non-iterable Mdp object
while doing:mdp, input_alphabet = generate_random_mdp(num_states, input_len, num_outputs)
Solution:
In aalpy/utils/AutomatonGenerators.py, line 269, replace:
return Mdp(states[0], states)
byreturn Mdp(states[0], states), inputs
:)
The text was updated successfully, but these errors were encountered: