oml
Math Library
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library oml
val eval : t -> feature -> class_ Probabilities.t
eval classifier feature
assign probabilities to the possible classes based upon feature
.
estimate opt classes samples
estimates a classifier based upon the training samples
.
classes
is an optional argument to specify ahead of time the possible classes to train on (defaults to the ones found in the training data). This is useful for models where we know the population domain but may not see an example of a training datum for rare cases.
opt
are the optional classifier dependent estimation/evaluation arguments.