package omlr

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module A = BatArray
module Fn = Stdlib.Filename
module L = BatList
module Log = Dolog.Log
module S = BatString
type std_param = {
  1. mean : float;
  2. sd : float;
}
type std_params = std_param array
type model_param = {
  1. mean : float;
  2. sd : float;
  3. w : float;
}
type model = model_param array
val read_csv_file : randomize:bool -> skip_header:bool -> Utls.filename -> string list
val matrix_of_csv_lines : sep:char -> string list -> float array array
val standardization_params : float array array -> std_param array
val standardize : std_params -> float array array -> unit
val combine_std_params_and_optim_weights : std_params -> float array -> model
val dump_model_to_file : Utls.filename -> model_param array -> unit
val load_model_from_file : Utls.filename -> model
val regression_formula : int -> string
val train_model : debug:bool -> float array array -> model
val predict_one : model -> float array -> float
OCaml

Innovation. Community. Security.