package oml

  1. Overview
  2. Docs
type !'a probabilities = ('a * float) list
val most_likely : 'a probabilities -> 'a
module type Data_intf = sig ... end
module type Dummy_encoded_data_intf = sig ... end
module type Category_encoded_data_intf = sig ... end
module type Continuous_encoded_data_intf = sig ... end
module type Estimate_optional_arg_intf = sig ... end
module type Classifier_intf = sig ... end
module type Generative_intf = sig ... end
type smoothing = float
type binomial_spec = {
  1. smoothing : smoothing;
  2. bernoulli : bool;
}
type binary = {
  1. predicted : bool;
  2. probability : float;
  3. actual : bool;
}
type descriptive_statistics = {
  1. sensitivity : float;
  2. specificity : float;
  3. positive_predictive : float;
  4. negative_predictive : float;
  5. accuracy : float;
  6. area_under_curve : float;
}
val evaluate_performance : binary list -> descriptive_statistics
val cross_validated_auc : (float * float) array -> float
OCaml

Innovation. Community. Security.