We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cc8219 commit 7cf37d4Copy full SHA for 7cf37d4
1 file changed
uncertaintyx/fit/eiv/numpy.py
@@ -123,7 +123,7 @@ def jac_x(x: np.ndarray, p: np.ndarray) -> np.ndarray:
123
punc = u(res.sd_beta, k_u)
124
pcov = u(res.cov_beta * res.res_var, k_u + k_u)
125
rvar = np.var(f.eval(popt, x) - y, axis=0, ddof=popt.size)
126
- cost = res.sum_square
+ cost = 0.5 * res.sum_square # compares to EVM cost
127
128
return Result(
129
f,
0 commit comments