Probabilistic-Programming-and-Bayesian-Methods-for-Hackers
Probabilistic-Programming-and-Bayesian-Methods-for-Hackers copied to clipboard
Chapter 2 | Challenger Simultation false use of np.ndarray | TFP version
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.