Skip to content

Sound Event Classification#

Sound event classification focuses on classifying isolated sound events. Unlike detection, this task assumes that the temporal segmentation has already been performed, and the goal is purely to identify the class of each event.

soundevent.evaluation.tasks.sound_event_classification #

Sound event classification evaluation.

Functions:

Name Description
sound_event_classification

Attributes#

EXAMPLE_METRICS = () module-attribute #

RUN_METRICS = ((terms.balanced_accuracy, metrics.balanced_accuracy), (terms.accuracy, metrics.accuracy), (terms.top_3_accuracy, metrics.top_3_accuracy)) module-attribute #

SOUNDEVENT_METRICS = ((terms.true_class_probability, metrics.true_class_probability),) module-attribute #

Classes#

Functions#

sound_event_classification(clip_predictions, clip_annotations, tags) #