Hausdorff metric (hausdorff
)#
Compute the Hausdorff distance between changepoints.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
bkps1
|
list
|
list of the last index of each regime. |
required |
bkps2
|
list
|
list of the last index of each regime. |
required |
Returns:
Name | Type | Description |
---|---|---|
float |
Hausdorff distance. |
Source code in src/ruptures/metrics/hausdorff.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
|