vocalpy.metrics.segmentation.ir#
Metrics for segmentation adapted from information retrieval.
Functions
|
Concatenate arrays of start and stop times into a single array of boundary times. |
|
Find hits in arrays of event times. |
|
Compute the F-score for a segmentation. |
|
Compute precision \(P\) for a segmentation. |
|
Helper function that computes precision, recall, and the F-score. |
|
Compute recall \(R\) for a segmentation. |
Classes
|
Class representing data used to compute an information retrieval metric. |