package oml

  1. Overview
  2. Docs
type opt = {
  1. tik_matrix : float array array;
  2. l2_regularizer : [ `From of float array | `S of float ] option;
}
val opt : ?tik_matrix:float array array -> ?l2_regularizer:[ `From of float array | `S of float ] -> unit -> opt
val default : opt
type input = float array
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 aic : t -> float
val press : t -> float
OCaml

Innovation. Community. Security.