From 3062fc68d798ac7a3c13d56a7d59f873a4101670 Mon Sep 17 00:00:00 2001 From: Michel Breyer <10465414+mbreyer@users.noreply.github.com> Date: Thu, 9 Dec 2021 11:20:36 +0100 Subject: [PATCH] Reduce print precision --- scripts/print_stats.ipynb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/print_stats.ipynb b/scripts/print_stats.ipynb index 529a790..33b555e 100644 --- a/scripts/print_stats.ipynb +++ b/scripts/print_stats.ipynb @@ -41,7 +41,8 @@ "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) * 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}$\")" + "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:.1f} \\pm {search_time_std:.1f}$ & ${total_time_mean:.1f} \\pm {total_time_std:.1f}$\")\n", + "# print(f\"${n_succeeded}/{n_attempts}$ & ${n_failed}/{n_attempts}$ & ${n_aborted}/{n_attempts}$ & ${views_mean:.0f} \\pm {views_std:.0f}$ & ${search_time_mean:.1f} \\pm {search_time_std:.1f}$ & ${total_time_mean:.1f} \\pm {total_time_std:.1f}$\")" ] }, {