Skip to content

Commit df2602b

Browse files
committed
Update: docstrings
1 parent 75783ba commit df2602b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

uncertaintyx/fit/eiv/jax.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ def evm_fit(
7676
U(p) \in \mathbb{R}^{k \times k}, \quad
7777
U(p) \in \mathbb{R}^{k},
7878
79-
Otherwise, under the same notation as :class:`EIV`:
79+
Standard uncertainty is not accepted and must be squared to
80+
a variance (diagonal uncertainty tensor) before supplied as
81+
argument. Otherwise, under the same notation as :class:`EIV`:
8082
8183
:param f: The model function.
8284
:param p: Parameters :math:`p \in \mathbb{R}^{k}`.
@@ -261,7 +263,7 @@ def fit(
261263
:param max_iter: The maximum number of iterations conducted.
262264
:returns: The fit result.
263265
"""
264-
i, popt, state, cost, g, converged = evm_fit(
266+
i, popt, state, cost, g, converged = evm(
265267
f.f,
266268
jnp.asarray(f.estimate(x, y)),
267269
jnp.asarray(x),

0 commit comments

Comments
 (0)