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

Chapter 2 | Challenger Simultation false use of np.ndarray | TFP version

Open Pindar777 opened this issue 6 years ago • 0 comments

Hi there,

in the following line the variable used should be p_deterministic:

simulated_data = tfd.Bernoulli(name="bernoulli_sim", probs=p_deterministic_).sample(sample_shape=10000)

p_deterministic_ is evaluated after this step.

Pindar777 avatar Jan 06 '19 11:01 Pindar777