count_error#

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

计算变点数量差异的误差。

参数:
true_change_points: 类似数组

真实变点的整数索引(位置)

pred_change_points: 类似数组

预测变点的整数索引(位置)

返回:
count_error