Skip to content

Commit f8107c1

Browse files
langmoretensorflower-gardener
authored andcommitted
DOCFIX: Correct Markov state distribution notation in EnKF. The distributions are e.g. P(X[t] | Y[t], ...), NOT P(X[t] | Y[t]).
PiperOrigin-RevId: 452779681
1 parent 0a10dd4 commit f8107c1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tensorflow_probability/python/experimental/sequential/ensemble_kalman_filter.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ def ensemble_kalman_filter_predict(
102102
Y[t] ~ observation_fn(X[t])
103103
```
104104
105-
Given the ensemble `state.particles` sampled from `P(X[t-1] | Y[t-1])`, this
106-
function produces the predicted (a.k.a. forecast or background) ensemble
107-
sampled from `P(X[t] | Y[t-1])`. This is the predicted next state *before*
108-
assimilating the observation `Y[t]`.
105+
Given the ensemble `state.particles` sampled from `P(X[t-1] | Y[t-1], ...)`,
106+
this function produces the predicted (a.k.a. forecast or background) ensemble
107+
sampled from `P(X[t] | Y[t-1], ...)`. This is the predicted next state
108+
*before* assimilating the observation `Y[t]`.
109109
110110
Typically, with `F` some deterministic mapping, `transition_fn(X)` returns a
111111
normal distribution centered at `F(X)`.
@@ -177,9 +177,9 @@ def ensemble_kalman_filter_update(
177177
Y[t] ~ observation_fn(X[t])
178178
```
179179
180-
Given the ensemble `state.particles` sampled from `P(X[t] | Y[t-1])`, this
181-
function assimilates obervation `Y[t]` to produce the updated ensemble sampled
182-
from `P(X[t] | Y[t])`.
180+
Given the ensemble `state.particles` sampled from `P(X[t] | Y[t-1], ...)`,
181+
this function assimilates obervation `Y[t]` to produce the updated ensemble
182+
sampled from `P(X[t] | Y[t], ...)`.
183183
184184
Typically, with `G` some deterministic observation mapping,
185185
`observation_fn(X)` returns a normal distribution centered at `G(X)`.

0 commit comments

Comments
 (0)