compute_fpr#

mlquantify.utils.method.compute_fpr(FP, TN)[source]#

Compute the False Positive Rate for a binary classification task.

Parameters:
FPint

The number of False Positives.

TNint

The number of True Negatives.

Returns:
float

The False Positive Rate.