[{'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 error_metrics(model, predictions, y_test):\n    print("Model: ", model)\n    # The mean squared error\n    print("--Mean squared error: %.2f" % mean_squared_error(y_test, predictions))\n    # RMS\n    print(\'--Root Mean Squared Error: %.2f\' % np.sqrt(metrics.mean_squared_error(y_test, predictions)))\n    # Explained variance score: 1 is perfect prediction\n    print(\'--Variance score: %.2f\' % r2_score(y_test, predictions))\''}, {'role': 'assistant', 'content': 'helper_functions'}]