Skip to content

Commit f24b402

Browse files
committed
minor tweaks to readme and index file
1 parent 3ea08be commit f24b402

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ To install the latest releast of dynamax from PyPi:
3939

4040
``` {.console}
4141
pip install dynamax # Install dynamax and core dependencies, or
42-
pip install dynamax[notebooks] # Install with dep's for demo notebooks
42+
pip install dynamax[notebooks] # Install with demo notebook dependencies
4343
```
4444

4545
To install the latest development branch:

docs/index.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ To install the latest releast of dynamax from PyPi:
3131
.. code-block:: console
3232
3333
pip install dynamax # Install dynamax and core dependencies, or
34-
pip install dynamax[notebooks] # Install with dep's for demo notebooks
34+
pip install dynamax[notebooks] # Install with demo notebook dependencies
3535
3636
3737
To install the latest development branch:
@@ -83,23 +83,23 @@ The corresponding joint distribution has the following form
8383

8484
.. math::
8585
86-
p(y_{1:T}, z_{1:T} | u_{1:T}) = p(z_1 | u_1) p(y_1 | z_1, u_1) \prod_{t=1}^T p(z_t | z_{t-1}, u_t) p(y_t | z_t, u_t)
86+
p(y_{1:T}, z_{1:T} \mid u_{1:T}) = p(z_1 \mid u_1) \prod_{t=2}^T p(z_t \mid z_{t-1}, u_t) \prod_{t=1}^T p(y_t \mid z_t, u_t)
8787
8888
89-
Here :math:`p(z_t | z_{t-1}, u_t)` is called the transition or dynamics model,
90-
and :math:`p(y_t | z_{t}, u_t)` is called the observation or emission model.
89+
Here :math:`p(z_t \mid z_{t-1}, u_t)` is called the transition or dynamics model,
90+
and :math:`p(y_t \mid z_{t}, u_t)` is called the observation or emission model.
9191
(In both cases, the inputs :math:`u_t` are optional;
9292
furthermore, the observation model may have auto-regressive dependencies,
93-
in which case we write :math:`p(y_t | z_{t}, u_t, y_{1:t-1})`.)
93+
in which case we write :math:`p(y_t \mid z_{t}, u_t, y_{1:t-1})`.)
9494

9595
We assume that we see the observations :math:`y_{1:T}`,
9696
and want to infer the hidden states, either
97-
using online filtering (i.e., computing :math:`p(z_t|y_{1:t})`)
98-
or offline smoothing (i.e., computing :math:`p(z_t|y_{1:T})`).
97+
using online filtering (i.e., computing :math:`p(z_t \mid y_{1:t})`)
98+
or offline smoothing (i.e., computing :math:`p(z_t \mid y_{1:T})`).
9999
We may also be interested in predicting future states,
100-
:math:`p(z_{t+h}|y_{1:t})`,
100+
:math:`p(z_{t+h} \mid y_{1:t})`,
101101
or future observations,
102-
:math:`p(y_{t+h}|y_{1:t})`,
102+
:math:`p(y_{t+h} \mid y_{1:t})`,
103103
where h is the forecast horizon.
104104
(Note that by using a hidden state to represent the past observations,
105105
the model can have "infinite" memory, unlike a standard auto-regressive model.)

0 commit comments

Comments
 (0)