[{'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_bag_utility_distributions(bags, size=10000, fit=norm):<br>    plot_distributions(bags, create_bag_utility_sampler, size=size, fit=fit)<br><br>def create_bag_utility_sampler(bag):<br>    bag_weight_sampler, bag_name = create_bag_weight_sampler(bag)<br>    def bag_utility_sampler(size=1):<br>        samples = bag_weight_sampler(size)<br>        samples[samples > 50] = 0<br>        return samples<br>    return bag_utility_sampler, bag_name<br><br>bag = { "horse": 2, "ball": 19 }<br>bag_utility_sampler, name = create_bag_utility_sampler(bag)<br>print("Sampling utility from bag {}: {}\\<br>".format(name, bag_utility_sampler(9)))<br>plot_bag_utility_distributions(example_bags)'}, {'role': 'assistant', 'content': 'result_visualization'}]