feat(eval): add markdown export for hit rates and average ages
- Introduced functionality to export hit rates and average ages as markdown files. - Generated `hit_rates.md` and `avg_ages.md` for easier sharing and reporting. Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
@@ -145,6 +145,17 @@
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 6,
|
||||
"id": "58a7865b-6ce6-4960-8dc5-c926d5463949",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"pd.DataFrame(hit_rates, columns=[\"hit_rates\"]).to_markdown('./experiments/hit_rates.md')\n",
|
||||
"pd.DataFrame(avg_ages, columns=[\"avg_ages\"]).to_markdown('./experiments/avg_ages.md')"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 7,
|
||||
"id": "a92dcf86-d0ae-4f5c-937f-aeac45ac0dea",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@@ -155,7 +166,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 7,
|
||||
"execution_count": 8,
|
||||
"id": "0ffb1366-83ea-49ab-83ca-945ed993ef3f",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@@ -170,7 +181,7 @@
|
||||
" './experiments/No_Refresh_5_0s_ttl/details.csv']"
|
||||
]
|
||||
},
|
||||
"execution_count": 7,
|
||||
"execution_count": 8,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
@@ -181,7 +192,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 8,
|
||||
"execution_count": 9,
|
||||
"id": "6e48f78f-15a3-4788-8ac9-6ad1fabbee26",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@@ -346,7 +357,7 @@
|
||||
"[99 rows x 6 columns]"
|
||||
]
|
||||
},
|
||||
"execution_count": 8,
|
||||
"execution_count": 9,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
@@ -357,7 +368,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 9,
|
||||
"execution_count": 10,
|
||||
"id": "3e0ddc4a-bede-4921-8ce8-427ef028e19e",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@@ -367,7 +378,7 @@
|
||||
"43375"
|
||||
]
|
||||
},
|
||||
"execution_count": 9,
|
||||
"execution_count": 10,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user