count_error#

count_error(true_change_points: Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], pred_change_points: Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str]) float[source]#

Error counting the difference in the number of change points.

Parameters:
true_change_points: array_like

Integer indexes (positions) of true change points

pred_change_points: array_like

Integer indexes (positions) of predicted change points

Returns:
count_error