bundles / scipy 1.17.1 / scipy / odr / _odrpack / Output
class
scipy.odr._odrpack:Output
source: /scipy/odr/_odrpack.py :578
Signature
class Output ( output ) Members
Summary
The Output class stores the output of an ODR run.
Extended Summary
Attributes
beta: ndarrayEstimated parameter values, of shape (q,).
sd_beta: ndarrayStandard deviations of the estimated parameters, of shape (p,).
cov_beta: ndarrayCovariance matrix of the estimated parameters, of shape (p,p). Note that this cov_beta is not scaled by the residual variance res_var, whereas sd_beta is. This means
np.sqrt(np.diag(output.cov_beta * output.res_var))is the same result asoutput.sd_beta.delta: ndarray, optionalArray of estimated errors in input variables, of same shape as
x.eps: ndarray, optionalArray of estimated errors in response variables, of same shape as y.
xplus: ndarray, optionalArray of
x + delta.y: ndarray, optionalArray
y = fcn(x + delta).res_var: float, optionalResidual variance.
sum_square: float, optionalSum of squares error.
sum_square_delta: float, optionalSum of squares of delta error.
sum_square_eps: float, optionalSum of squares of eps error.
inv_condnum: float, optionalInverse condition number (cf. ODRPACK UG p. 77).
rel_error: float, optionalRelative error in function values computed within fcn.
work: ndarray, optionalFinal work array.
work_ind: dict, optionalIndices into work for drawing out values (cf. ODRPACK UG p. 83).
info: int, optionalReason for returning, as output by ODRPACK (cf. ODRPACK UG p. 38).
stopreason: list of str, optionalinfo interpreted into English.
Notes
Takes one argument for initialization, the return value from the function odr. The attributes listed as "optional" above are only present if odr was run with full_output=1.
Aliases
-
scipy.odr.Output