多标签分类 tmp_label = [0] * self.class_num for label in data["intent"].split(","): tmp_label[self.label2idx[label]] = 1 labels.append(tmp_label) 混淆矩阵