metric_recall: Recall Metric

View source: R/metrics.R

metric_recallR Documentation

Recall Metric

Description

Creates a recall metric object for classification tasks.

Usage

metric_recall(positive_class = 1)

Arguments

positive_class

The class label treated as the positive class. Defaults to 1.

Value

An object of class "met_metric".

Examples

metric <- metric_recall()
metric$fn(c(0, 1, 1, 0), c(0, 1, 0, 0))

metANN documentation built on May 16, 2026, 1:06 a.m.