qiskit.aqua.utils.map_label_to_class_name¶
-
map_label_to_class_name
(predicted_labels, label_to_class)[소스]¶ Helper converts labels (numeric) to class name (string)
- 매개변수
predicted_labels (numpy.ndarray) – Nx1 array
label_to_class (dict or list) – a mapping form label (numeric) to class name (str)
- 반환값
predicted class names of each datum
- 반환 형식
str