<jupyter_start><jupyter_text>Plotting<jupyter_code>idx = 560

interventions = [
    {'age': 40.},
    {'ventricle_volume': 80000.},
    {'lesion_volume': 1e-5},
    {'edss': 1e-5}
]

plot_gen_intervention_range(model_name, interventions, idx, normalise_all=True, num_samples=32)<jupyter_output><empty_output><jupyter_text>Interactive PlottingDifference is the test image minus the original. Red shows higher intensity in the test image relative to the original, and blue shows lower intensity in the test image relative to the original.<jupyter_code>interactive_plot(model_name);<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.10344827586206896, 'fraction_numerical': 0.026272577996715927, 'mean_word_length': 6.922077922077922, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '69948', 'license': 'Apache-2.0', 'n_tokens_mistral': 217, 'n_tokens_neox': 199, 'n_words': 49, 'path': 'counterfactualms/experiments/plotting/interactive_plots.ipynb', 'repo_name': 'jcreinhold/counterfactualms', 'size': '609'}