package oml

  1. Overview
  2. Docs
type opt = float array
val opt : ?weights:float array -> unit -> opt
val default : opt
type input = float
type t
val describe : t -> string
val eval : t -> input -> float
val regress : ?opt:opt -> input array -> resp:float array -> t
val residuals : t -> float array
val coefficients : t -> float array
val residual_standard_error : t -> float
val coeff_of_determination : t -> float
val confidence_interval : t -> alpha:float -> input -> float * float
val prediction_interval : t -> alpha:float -> input -> float * float
val coefficient_tests : ?null:float -> t -> Statistics.Hypothesis_test.t array
val f_statistic : t -> float
val alpha : t -> float
val beta : t -> float
val alpha_test : ?null:float -> t -> Statistics.Hypothesis_test.t
val beta_test : ?null:float -> t -> Statistics.Hypothesis_test.t
OCaml

Innovation. Community. Security.