count_error#

count_error(true_change_points: Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], bool, int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]], pred_change_points: Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], bool, int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]) 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