[{'role': 'system', 'content': "You are an expert in machine learning and your task is to classify code snippets into one of the following categories: ['helper_functions', 'load_data', 'data_exploration', 'data_preprocessing', 'evaluation', 'modelling', 'prediction', 'result_visualization', 'save_results', 'comment_only']."}, {'role': 'user', 'content': "Identify the single most appropriate category to which the provided code belongs. Provide your response as a single category label without any additional information, commentary, or personal opinions.\\nPython Code:def plot_confusion_matrix(cls_pred):\ncls_true = data.test.cls\ncm = confusion_matrix(y_true=cls_true,\ny_pred=cls_pred)\nprint(cm)\nplt.matshow(cm)\nplt.colorbar()\ntick_marks = np.arange(num_classes)\nplt.xticks(tick_marks, range(num_classes))\nplt.yticks(tick_marks, range(num_classes))\nplt.xlabel('predicted')\nplt.ylabel('true')\nplt.show()"}, {'role': 'assistant', 'content': 'evaluation'}]