dcase_models.util.tagging

dcase_models.util.tagging(Y_val, Y_predicted, label_list=[])[source]

Calculate metrics for Audio Tagging

Parameters:
Y_val : list of ndarray

2D array with the ground-truth event roll shape: (N_times, N_classes)

Y_predicted : list of ndarray

2D array with the predicted event roll shape: (N_times, N_classes)

label_list:

Label list.

Returns:
sef_eval.scenes.AudioTaggingMetrics

Object with the tagging results