Skip to content

Commit

Permalink
fix random MDP example
Browse files Browse the repository at this point in the history
  • Loading branch information
emuskardin committed Oct 3, 2022
1 parent 08083d5 commit 3f0680c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@ def random_mdp_example(num_states, input_len, num_outputs, n_c=20, n_resample=10
from aalpy.learning_algs import run_stochastic_Lstar
from aalpy.utils import generate_random_mdp

mdp, input_alphabet = generate_random_mdp(num_states, input_len, num_outputs)
mdp = generate_random_mdp(num_states, input_len, num_outputs)
input_alphabet = mdp.get_input_alphabet()
sul = MdpSUL(mdp)
eq_oracle = RandomWalkEqOracle(input_alphabet, sul=sul, num_steps=5000, reset_prob=0.11,
reset_after_cex=True)
Expand Down

0 comments on commit 3f0680c

Please sign in to comment.