nueramic_mathml.ml.metrics.recall#
- recall(y_true, y_pred)#
Return True Positive Rate. TPR = TP / P = TP / (TP + FN). Alias is Recall
Note
if P == 0, then TPR = 0
- Parameters:
y_true (Tensor) – array with true values of binary classification
y_pred (Tensor) – array with prediction values of binary classification
- Returns:
- Return type:
float