crackmnist_eccv.plot_seaborn_automated ¶
Generate test-loss performance curves from a pollution experiment CSV file.
Plots average test loss vs. proportion of polluted training inputs, grouped by noise intensity, with ±1 standard deviation shading.
Usage¶
# Fully polluted test set, default intensities:
python plot_seaborn_automated.py --input 128_F9_salt_pepper_radius8.csv --test_perc 1.0 --intensities 0.05 0.1 0.2
# Clean test set, custom intensities:
python plot_seaborn_automated.py --input 128_F9_gaussian_radius8.csv --test_perc 0.0 --intensities 0.1 0.3 0.5
# Custom output path:
python plot_seaborn_automated.py --input 128_F9_blob_radius8.csv --test_perc 1.0 --intensities 0.05 0.1 0.2 --output my_plot.png
Functions:
| Name | Description |
|---|---|
main | Load CSV, filter by test pollution level, and plot loss curves. |
parse_args | Parse command-line arguments for the plotting script. |
Functions:¶
main ¶
Load CSV, filter by test pollution level, and plot loss curves.
Source code in src/crackmnist_eccv/plot_seaborn_automated.py
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 | |
parse_args ¶
parse_args() -> Namespace
Parse command-line arguments for the plotting script.
Returns:
| Type | Description |
|---|---|
Namespace | Parsed argument namespace with input, test_perc, intensities, and output fields. |