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 class_probabilities : t -> clas -> float * (feature -> float array)
val opt : ?smoothing:float -> unit -> opt