|
510 | 510 | "\n",
|
511 | 511 | " print(f\"Estimation error measures: {estimation_error[m_candidate][l_candidate][rep_key]} \\n\")\n",
|
512 | 512 | "\n",
|
513 |
| - " with open(f\"results/estimate_prob_random_walk_method.pkl\", \"wb\") as file:\n", |
| 513 | + " with open(f\"results/measurements/estimate_prob_random_walk_method.pkl\", \"wb\") as file:\n", |
514 | 514 | " pickle.dump(estimation_error, file, protocol=pickle.HIGHEST_PROTOCOL)\n",
|
515 | 515 | "else:\n",
|
516 |
| - " with open(f\"results/estimate_prob_random_walk_method.pkl\", \"rb\") as file:\n", |
| 516 | + " with open(f\"results/measurements/estimate_prob_random_walk_method.pkl\", \"rb\") as file:\n", |
517 | 517 | " estimation_error = pickle.load(file)"
|
518 | 518 | ]
|
519 | 519 | },
|
|
719 | 719 | "\n",
|
720 | 720 | " print(f\"Estimation error measures: {estimation_error[c_candidate][tau_candidate][rep_key]} \\n\")\n",
|
721 | 721 | "\n",
|
722 |
| - " with open(f\"results/estimate_prob_pi_method.pkl\", \"wb\") as file:\n", |
| 722 | + " with open(f\"results/measurements/estimate_prob_pi_method.pkl\", \"wb\") as file:\n", |
723 | 723 | " pickle.dump(estimation_error, file, protocol=pickle.HIGHEST_PROTOCOL)\n",
|
724 | 724 | "else:\n",
|
725 |
| - " with open(f\"results/estimate_prob_pi_method.pkl\", \"rb\") as file:\n", |
| 725 | + " with open(f\"results/measurements/estimate_prob_pi_method.pkl\", \"rb\") as file:\n", |
726 | 726 | " estimation_error = pickle.load(file)"
|
727 | 727 | ]
|
728 | 728 | },
|
|
866 | 866 | "metadata": {},
|
867 | 867 | "outputs": [],
|
868 | 868 | "source": [
|
869 |
| - "plt.plot(small_tau_c_run_times.keys(), small_tau_c_run_times.values(), color=\"blue\", label=\"tau = 1e-5\")\n", |
870 |
| - "plt.plot(medium_tau_c_run_times.keys(), medium_tau_c_run_times.values(), color=\"green\", label=\"tau = 1e-3\")\n", |
871 |
| - "plt.plot(large_tau_c_run_times.keys(), large_tau_c_run_times.values(), color=\"red\", label=\"tau = 1e-1\")\n", |
| 869 | + "plt.plot(small_tau_c_run_times.keys(), small_tau_c_run_times.values(), color=\"blue\", label=f\"tau = {small_tau}\")\n", |
| 870 | + "plt.plot(medium_tau_c_run_times.keys(), medium_tau_c_run_times.values(), color=\"green\", label=f\"tau = {round(medium_tau,3)}\")\n", |
| 871 | + "plt.plot(large_tau_c_run_times.keys(), large_tau_c_run_times.values(), color=\"red\", label=f\"tau = {large_tau}\")\n", |
872 | 872 | "\n",
|
873 | 873 | "\n",
|
874 | 874 | "plt.legend(loc=\"upper right\")\n",
|
|
0 commit comments