Probabilistic-Programming-and-Bayesian-Methods-for-Hackers icon indicating copy to clipboard operation
Probabilistic-Programming-and-Bayesian-Methods-for-Hackers copied to clipboard

Chapter2 -- error in plot_artificial_sms_dataset() function

Open joaoppadua opened this issue 3 years ago • 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

joaoppadua avatar Feb 18 '22 20:02 joaoppadua