"We open all the experiment outputs, compute raw metrics such as energy in window or slowdown / waiting time, and save this as a csv file. Also compute these metrics for each experiment relatively to the baseline behavior. "
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "assumed-saver",
"metadata": {},
"outputs": [],
"source": [
"def compute_metrics(exp_num, seed):\n",
" \"\"\"Returns a dictionnary of metrics for the given expe.\"\"\"\n",
We open all the experiment outputs, compute raw metrics such as energy in window or slowdown / waiting time, and save this as a csv file. Also compute these metrics for each experiment relatively to the baseline behavior.
%% Cell type:code id:assumed-saver tags:
``` python
defcompute_metrics(exp_num,seed):
"""Returns a dictionnary of metrics for the given expe."""