CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers

Chapter2 -- error in plot_artificial_sms_dataset() function

joaoppadua opened this issue · 0 comments

Hi,
In the TFP version of Chapter 2, the original code of the plot_artificial_sms_dataset() function raises an error in evaluating a shape parameter. The error seems to be due to the use of the tau parameter in graph type, i.e., before it is evaluated.
Adding the following line after a similar one to evaluate lambdas solved the bug: [ tau_ ] = evaluate([ tau ])
Hope this helps.
Warm wishes,
Joao