File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -622,7 +622,7 @@ def compute_error(valfunc, valfunc_vfi):
622
622
623
623
```{code-cell} ipython3
624
624
# create an instance of QLearningMcCall
625
- qlmc = create_qlearning_mccall ()
625
+ qlmc = QLearningMcCall ()
626
626
627
627
# run
628
628
qtable0 = jnp.zeros((len(w_default), 2))
@@ -683,7 +683,7 @@ valfunc_vfi
683
683
def plot_epochs(epochs_to_plot, quit_allowed=1, key=key):
684
684
"Plot value function implied by outcomes of an increasing number of epochs."
685
685
686
- qlmc_new = create_qlearning_mccall (w=w_new, q=q_new, quit_allowed=quit_allowed)
686
+ qlmc_new = QLearningMcCall (w=w_new, q=q_new, quit_allowed=quit_allowed)
687
687
qtable = jnp.zeros((len(w_new),2))
688
688
epochs_to_plot = jnp.asarray(epochs_to_plot)
689
689
# plot
You can’t perform that action at this time.
0 commit comments