sed_eval.sound_event.SegmentBasedMetrics.evaluate

SegmentBasedMetrics.evaluate(reference_event_list, estimated_event_list, evaluated_length_seconds=None)[source]

Evaluate file pair (reference and estimated)

Parameters:

reference_event_list : list of dict or dcase_util.containers.MetaDataContainer

Reference event list.

estimated_event_list : list of dict or dcase_util.containers.MetaDataContainer

Estimated event list.

evaluated_length_seconds : float, optional

Evaluated length. If none given, maximum offset is used. Default value None

Returns:

self