sig
type confusion_matrix =
Biocaml_bin_pred.confusion_matrix = private {
tp : int;
tn : int;
fp : int;
fn : int;
}
val confusion_matrix :
scores:float array ->
labels:bool array -> threshold:float -> confusion_matrix
val sensitivity : confusion_matrix -> float
val recall : confusion_matrix -> float
val false_positive_rate : confusion_matrix -> float
val accuracy : confusion_matrix -> float
val specificity : confusion_matrix -> float
val positive_predictive_value : confusion_matrix -> float
val precision : confusion_matrix -> float
val negative_predictive_value : confusion_matrix -> float
val false_discovery_rate : confusion_matrix -> float
val f1_score : confusion_matrix -> float
val performance_curve :
scores:float array ->
labels:bool array -> (float * confusion_matrix) array
val roc_curve :
scores:float array -> labels:bool array -> (float * float) array * float
val rp_curve :
scores:float array -> labels:bool array -> (float * float) array
end