chemicalchecker.util.performance.performance.PerformanceBinary
- class PerformanceBinary(y_true, y_pred)[source]
Bases:
object
PerformanceBinary class.
Compute performance metric for a binary classiier.
Initialize a PerformanceBinary instance.
- Parameters:
y_true (array) – Array of truth labels.
y_pred (array) – Array of predicted labels.
Methods
Save in stats in json format.
Attributes
metrics