aka "Bayesian Methods for Hackers": An introduction to Bayesian methods + probabilistic programming with a computation/understanding-first, mathematics-second point of view. All in pure Python ;)
In chapter 3, the last cell warns me that "ValueError: x and y must have same first dimension, but have shapes (50000,) and (275000,)"
In the book, the first dim. of. every trace is equal to the num. of draws as pictures showed bellow.
However, in my experiment with codes in the book, I got trace with much more 1st dim.
For instance, in. chapter 3, when I want to sample 4 vars for 25000 draws, I got traces with 100000(4 * draws) as 1st dim.
In chapter 3, the last cell warns me that "ValueError: x and y must have same first dimension, but have shapes (50000,) and (275000,)"
In the book, the first dim. of. every trace is equal to the num. of draws as pictures showed bellow.
However, in my experiment with codes in the book, I got trace with much more 1st dim. For instance, in. chapter 3, when I want to sample 4 vars for 25000 draws, I got traces with 100000(4 * draws) as 1st dim.