Skip to content

Commit 61ff42f

Browse files
committed
update notebook labels
1 parent 4a9b61d commit 61ff42f

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

notebooks/experiment_analysis.ipynb

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,17 +95,13 @@
9595
"for ax, model in zip(axes, models):\n",
9696
" optimizers = sorted(hpo_grouped[model].keys())\n",
9797
" data_to_plot = [hpo_grouped[model][opt] for opt in optimizers]\n",
98-
" all_values = [val for sublist in data_to_plot for val in sublist]\n",
9998
" \n",
100-
" if all_values:\n",
101-
" y_min, y_max = np.percentile(all_values, [2, 98])\n",
102-
" ax.set_ylim(y_min - (y_max - y_min) * 0.1, y_max + (y_max - y_min) * 0.1)\n",
10399
" \n",
104100
" bp = ax.boxplot(data_to_plot, tick_labels=optimizers, patch_artist=True)\n",
105101
" for patch in bp['boxes']:\n",
106102
" patch.set_facecolor('lightblue')\n",
107103
" \n",
108-
" ax.set_title(f'{model} - Final Fitness (HPO)', fontweight='bold')\n",
104+
" ax.set_title(f'{model}', fontweight='bold')\n",
109105
" ax.set_xlabel('Optimizer')\n",
110106
" ax.set_ylabel('Composite Fitness')\n",
111107
" ax.grid(True, alpha=0.3)\n",
@@ -180,7 +176,7 @@
180176
" f'{val:.4f}', ha='center', va='bottom', fontsize=9)\n",
181177
" \n",
182178
" ax.set_ylim(0, 1)\n",
183-
" ax.set_title(f'{model} - Test Performance', fontweight='bold')\n",
179+
" ax.set_title(f'{model}', fontweight='bold')\n",
184180
" ax.set_xlabel('Optimizer')\n",
185181
" ax.set_ylabel('Composite Fitness')\n",
186182
" ax.grid(True, alpha=0.3, axis='y')\n",
@@ -252,8 +248,8 @@
252248
" ax.fill_between(generations, mean_curve - std_curve, mean_curve + std_curve, \n",
253249
" color=color, alpha=0.2)\n",
254250
" \n",
255-
" ax.set_title(f'{model} - Convergence', fontweight='bold')\n",
256-
" ax.set_xlabel('Generation')\n",
251+
" ax.set_title(f'{model}', fontweight='bold')\n",
252+
" ax.set_xlabel('Evaluation Count ($n$)')\n",
257253
" ax.set_ylabel('Best Fitness')\n",
258254
" ax.legend()\n",
259255
" ax.grid(True, alpha=0.3)\n",

0 commit comments

Comments
 (0)