autointent.metrics.decision.decision_recall#
- autointent.metrics.decision.decision_recall(y_true, y_pred)#
Calculate decision recall. Supports both multiclass and multilabel.
This function internally uses
sklearn.metrics.recall_score()
with average=macro. Refer to the scikit-learn documentation for more details.- Parameters:
y_true (autointent.metrics.custom_types.LABELS_VALUE_TYPE) – True values of labels
y_pred (autointent.metrics.custom_types.LABELS_VALUE_TYPE) – Predicted values of labels
- Returns:
Score of the decision recall
- Return type: