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