package scipy

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type tag = [
  1. | `Output
]
type t = [ `Object | `Output ] Obj.t
val of_pyobject : Py.Object.t -> t
val to_pyobject : [> tag ] Obj.t -> Py.Object.t
val create : Py.Object.t -> t

The Output class stores the output of an ODR run.

Attributes ---------- beta : ndarray Estimated parameter values, of shape (q,). sd_beta : ndarray Standard errors of the estimated parameters, of shape (p,). cov_beta : ndarray Covariance matrix of the estimated parameters, of shape (p,p). delta : ndarray, optional Array of estimated errors in input variables, of same shape as `x`. eps : ndarray, optional Array of estimated errors in response variables, of same shape as `y`. xplus : ndarray, optional Array of ``x + delta``. y : ndarray, optional Array ``y = fcn(x + delta)``. res_var : float, optional Residual variance. sum_square : float, optional Sum of squares error. sum_square_delta : float, optional Sum of squares of delta error. sum_square_eps : float, optional Sum of squares of eps error. inv_condnum : float, optional Inverse condition number (cf. ODRPACK UG p. 77). rel_error : float, optional Relative error in function values computed within fcn. work : ndarray, optional Final work array. work_ind : dict, optional Indices into work for drawing out values (cf. ODRPACK UG p. 83). info : int, optional Reason for returning, as output by ODRPACK (cf. ODRPACK UG p. 38). stopreason : list of str, optional `info` interpreted into English.

Notes ----- Takes one argument for initialization, the return value from the function `~scipy.odr.odr`. The attributes listed as 'optional' above are only present if `~scipy.odr.odr` was run with ``full_output=1``.

val pprint : [> tag ] Obj.t -> Py.Object.t

Pretty-print important results.

val beta : t -> [ `ArrayLike | `Ndarray | `Object ] Np.Obj.t

Attribute beta: get value or raise Not_found if None.

val beta_opt : t -> [ `ArrayLike | `Ndarray | `Object ] Np.Obj.t option

Attribute beta: get value as an option.

val sd_beta : t -> [ `ArrayLike | `Ndarray | `Object ] Np.Obj.t

Attribute sd_beta: get value or raise Not_found if None.

val sd_beta_opt : t -> [ `ArrayLike | `Ndarray | `Object ] Np.Obj.t option

Attribute sd_beta: get value as an option.

val cov_beta : t -> [ `ArrayLike | `Ndarray | `Object ] Np.Obj.t

Attribute cov_beta: get value or raise Not_found if None.

val cov_beta_opt : t -> [ `ArrayLike | `Ndarray | `Object ] Np.Obj.t option

Attribute cov_beta: get value as an option.

val delta : t -> [ `ArrayLike | `Ndarray | `Object ] Np.Obj.t

Attribute delta: get value or raise Not_found if None.

val delta_opt : t -> [ `ArrayLike | `Ndarray | `Object ] Np.Obj.t option

Attribute delta: get value as an option.

val eps : t -> [ `ArrayLike | `Ndarray | `Object ] Np.Obj.t

Attribute eps: get value or raise Not_found if None.

val eps_opt : t -> [ `ArrayLike | `Ndarray | `Object ] Np.Obj.t option

Attribute eps: get value as an option.

val xplus : t -> [ `ArrayLike | `Ndarray | `Object ] Np.Obj.t

Attribute xplus: get value or raise Not_found if None.

val xplus_opt : t -> [ `ArrayLike | `Ndarray | `Object ] Np.Obj.t option

Attribute xplus: get value as an option.

val y : t -> [ `ArrayLike | `Ndarray | `Object ] Np.Obj.t

Attribute y: get value or raise Not_found if None.

val y_opt : t -> [ `ArrayLike | `Ndarray | `Object ] Np.Obj.t option

Attribute y: get value as an option.

val res_var : t -> float

Attribute res_var: get value or raise Not_found if None.

val res_var_opt : t -> float option

Attribute res_var: get value as an option.

val sum_square : t -> float

Attribute sum_square: get value or raise Not_found if None.

val sum_square_opt : t -> float option

Attribute sum_square: get value as an option.

val sum_square_delta : t -> float

Attribute sum_square_delta: get value or raise Not_found if None.

val sum_square_delta_opt : t -> float option

Attribute sum_square_delta: get value as an option.

val sum_square_eps : t -> float

Attribute sum_square_eps: get value or raise Not_found if None.

val sum_square_eps_opt : t -> float option

Attribute sum_square_eps: get value as an option.

val inv_condnum : t -> float

Attribute inv_condnum: get value or raise Not_found if None.

val inv_condnum_opt : t -> float option

Attribute inv_condnum: get value as an option.

val rel_error : t -> float

Attribute rel_error: get value or raise Not_found if None.

val rel_error_opt : t -> float option

Attribute rel_error: get value as an option.

val work : t -> [ `ArrayLike | `Ndarray | `Object ] Np.Obj.t

Attribute work: get value or raise Not_found if None.

val work_opt : t -> [ `ArrayLike | `Ndarray | `Object ] Np.Obj.t option

Attribute work: get value as an option.

val work_ind : t -> Py.Object.t

Attribute work_ind: get value or raise Not_found if None.

val work_ind_opt : t -> Py.Object.t option

Attribute work_ind: get value as an option.

val info : t -> int

Attribute info: get value or raise Not_found if None.

val info_opt : t -> int option

Attribute info: get value as an option.

val stopreason : t -> string list

Attribute stopreason: get value or raise Not_found if None.

val stopreason_opt : t -> string list option

Attribute stopreason: get value as an option.

val to_string : t -> string

Print the object to a human-readable representation.

val show : t -> string

Print the object to a human-readable representation.

val pp : Format.formatter -> t -> unit

Pretty-print the object to a formatter.

OCaml

Innovation. Community. Security.