[{'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:correct_prediction = tf.equal(tf.argmax(logits, 1), tf.argmax(one_hot_y, 1))\naccuracy_operation = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))\nsaver = tf.train.Saver()\ndef evaluate(X_data, y_data):\nnum_examples = len(X_data)\ntotal_accuracy = 0\nsess = tf.get_default_session()\nfor offset in range(0, num_examples, BATCH_SIZE):\nbatch_x, batch_y = X_data[offset:offset+BATCH_SIZE], y_data[offset:offset+BATCH_SIZE]\naccuracy = sess.run(accuracy_operation, feed_dict={x: batch_x, y: batch_y})\ntotal_accuracy += (accuracy * len(batch_x))\nreturn total_accuracy / num_examples'}, {'role': 'assistant', 'content': 'evaluation'}]