Leon Unger

Results 9 issues of Leon Unger

Hi there, when trying to run the code with N>1 (introduction of part 3) these lines are not executed `likelihood_x_ = evaluate(tfd.Poisson(rate=x_).prob(data_[:, 0])) likelihood_y_ = evaluate(tfd.Poisson(rate=y_).prob(data_[:, 1]))` Error message: ValueError:...

Hi there, on my system with tf-gpu this code makes trouble: ` [ lambda_1_samples, lambda_2_samples, posterior_tau, ], kernel_results = tfp.mcmc.sample_chain( num_results=1000, num_burnin_steps=100, current_state=initial_chain_state, kernel=tfp.mcmc.TransformedTransitionKernel( inner_kernel=tfp.mcmc.HamiltonianMonteCarlo( target_log_prob_fn=unnormalized_log_posterior, num_leapfrog_steps=2, step_size=step_size, step_size_update_fn=tfp.mcmc.make_simple_step_size_update_policy(), state_gradients_are_stopped=True),...

Hi @matthew-mcateer, could you please elaborate on the indtroduction of these lines in Chapter 3? `sds = tfd.Independent(tfd.Uniform(low=[0., 0.], high=[100., 100.]), reinterpreted_batch_ndims=1, name='sds')` At the moment the texts says >...

Hi @matthew-mcateer, I tried to modify the code in order to get stable results. By doing so I came across this 'feature': `intSeed = 12345 generate = tfd.Normal(0, 1) ####...

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.

Hi there, the kwarg 'normed' in plt.histo was deprecated in matplotlib since 2.1 and should be changed into 'density'. By the way: Thanks to all contributers - awesome work! And...

### Observation Since pandoc > 2.10.1 and pandoc-citeproc.exe is no longer being used there is a bug in terms of changing the layout of the default list-style. Doing so in...

bug

Instead of using the function to link to the "latest" release of mermaid.min.js hosted by https://cdnjs.cloudflare.com/ajax/libs/mermaid/... the also stated option to use the alternative host https://cdn.jsdelivr.net/npm/mermaid@... is not working. The...

bug