Learn R Programming

RegimeChange (version 0.1.1)

recall_score: Recall Score with Tolerance

Description

Proportion of true changepoints that are matched by a detection.

Usage

recall_score(detected, true_cp, tolerance = 5)

Value

Recall (0 to 1)

Arguments

detected

Vector of detected changepoint locations

true_cp

Vector of true changepoint locations

tolerance

Maximum distance for a match