We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9228de7 commit a4fac29Copy full SHA for a4fac29
README.md
@@ -114,7 +114,7 @@ for the case of an HMM with Gaussian emissions. (See [this
114
notebook](https://github.com/probml/dynamax/blob/main/docs/notebooks/hmm/gaussian_hmm.ipynb)
115
for a runnable version of this code.)
116
117
-``` {.python}
+```python
118
import jax.numpy as jnp
119
import jax.random as jr
120
import matplotlib.pyplot as plt
@@ -147,7 +147,7 @@ print(post.smoothed_probs.shape) # (1000, 3)
147
JAX allows you to easily vectorize these operations with `vmap`.
148
For example, you can sample and fit to a batch of emissions as shown below.
149
150
151
from functools import partial
152
from jax import vmap
153
0 commit comments