compute_rand: Rand Index Function for change point detection

View source: R/RcppExports.R

compute_randR Documentation

Rand Index Function for change point detection

Description

Computes the rand Index (non-adjusted) for the change point sets. A specific equation for change point detection is used to make the computation faster. Proof of correctness of the equation is given in the dissertation.

Usage

compute_rand(cp1, cp2, m)

Arguments

cp1

Change point set for model 1 or true change point set.

cp2

Change point set for model 2 or true change point set.

m

The size of the vector array.


Lucas-Prates/blockcpd documentation built on Aug. 19, 2022, 12:55 a.m.