In Tutorial 1 on W3D3 (Optimal Control) there is an issue with the code for Interactive Demo 4.
It sets the params as params = [stay_prob, high_rew_p, low_rew_p, threshold] while the function "binaryHMM_belief" unpacks those params in different order: p_stay, low_rew_p, high_rew_p, threshold = self.params
The code should be as this: params = [stay_prob, low_rew_p, high_rew_p, threshold]
In Tutorial 1 on W3D3 (Optimal Control) there is an issue with the code for Interactive Demo 4.
It sets the params as
params = [stay_prob, high_rew_p, low_rew_p, threshold]
while the function "binaryHMM_belief" unpacks those params in different order:p_stay, low_rew_p, high_rew_p, threshold = self.params
The code should be as this:
params = [stay_prob, low_rew_p, high_rew_p, threshold]