Skip to content

Commit

Permalink
improve nb
Browse files Browse the repository at this point in the history
  • Loading branch information
juanitorduz committed Aug 3, 2024
1 parent b60b30d commit c48947b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/numpyro_pathfinder.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Note that the value for `a` is close to the true value of $1.0$. However, the values for `b` and `sigma` are do not match the true values of $2.0$ and $0.5$ respectively. The reason is that we use a `dist.HalfNormal` and `dist.Exponential` prior these parameters respectively so the samples are taken from the unconstrained space."
"Note that the value for `a` is close to the true value of `1.0`. However, the values for `b` and `sigma` do not match the true values of `2.0` and `0.5` respectively. The reason is that we are using prior the prior distributions `dist.HalfNormal` and `dist.Exponential` for these parameters respectively. Since these distributions are positive, the sampler transform these parameters to the unconstrained space using a bijective transformation. To compare the results in the original space, we need to apply the inverse transformation."
]
},
{
Expand Down

0 comments on commit c48947b

Please sign in to comment.