package oml

  1. Overview
  2. Docs

Parameters

Signature

type clas = D.clas
type feature = D.feature
type opt
val default : opt
type t
val eval : t -> feature -> clas Probabilities.t
type samples = (clas * feature) list
val estimate : ?opt:opt -> ?classes:clas list -> samples -> t
val opt : ?lambda:float -> ?tolerance:float -> unit -> opt
val coefficients : t -> float array
val base_class : t -> clas