The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

504744 (2) [Avatar] Offline

Figure 6.6 shows that we have "walk:0.1, shop:0.4, clean:0.5" for rainy hidden state and "walk:0.6, shop:0.3, clean:0.1" for sunny hidden state, however in listing 6.6 you define them as obs_prob = np.array([[0.5, 0.4, 0.1], [0.1, 0.3, 0.6]]).

Shouldn't we define this as obs_prob = np.array([[0.1, 0.4, 0.5],[0.6, 0.3, 0.1]]) ?
Nishant Shukla (52) [Avatar] Offline

Thank you for pointing that out!

All fixed now smilie