Print metrics in percentage
This commit is contained in:
parent
2d8a6fdee1
commit
7b826434d2
@ -41,7 +41,7 @@
|
||||
"total_time_mean = (df.search_time + df.grasp_time).mean()\n",
|
||||
"total_time_std = (df.search_time + df.grasp_time).std()\n",
|
||||
"\n",
|
||||
"print(f\"${n_succeeded / n_attempts:.2f}$ & ${n_failed / n_attempts:.2f}$ & ${n_aborted / n_attempts:.2f}$ & ${views_mean:.0f} \\pm {views_std:.0f}$ & ${search_time_mean:.2f} \\pm {search_time_std:.2f}$ & ${total_time_mean:.2f} \\pm {total_time_std:.2f}$\")"
|
||||
"print(f\"${(n_succeeded / n_attempts) * 100:.0f}$ & ${(n_failed / n_attempts) * 100:.0f}$ & ${(n_aborted / n_attempts) * 100:.0f}$ & ${views_mean:.0f} \\pm {views_std:.0f}$ & ${search_time_mean:.2f} \\pm {search_time_std:.2f}$ & ${total_time_mean:.2f} \\pm {total_time_std:.2f}$\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -71,7 +71,7 @@
|
||||
"print(f\" Grasp selection: {grasp_selection.mean():.3f}\")\n",
|
||||
"print(f\"IG computation: {ig_computation.mean():.3f}\")\n",
|
||||
"print(\"---\")\n",
|
||||
"print(f\"Total time: {view_generation.mean() + state_update.mean() + ig_computation.mean():.3f}\")\n"
|
||||
"print(f\"Total time: {view_generation.mean() + state_update.mean() + ig_computation.mean():.3f}\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -100,7 +100,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.8.10"
|
||||
"version": "3.9.9"
|
||||
},
|
||||
"orig_nbformat": 4
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user