diff --git a/content/GA_2_4/ga_draft.ipynb b/content/GA_2_4/ga_draft.ipynb index 527cac6fd858c4c99fe967ebc4d934636d5d51b8..dc446c213adcb5a765a183c6758efa378d6f6644 100644 --- a/content/GA_2_4/ga_draft.ipynb +++ b/content/GA_2_4/ga_draft.ipynb @@ -112,7 +112,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -141,14 +141,14 @@ " plt.plot(time, data, label='Data')\n", " plt.plot(time, y_hat, label='Estimated data')\n", " plt.xlabel('Time [days]')\n", - " plt.ylabel('Atmospheric Pressure [hPa]')\n", + " plt.ylabel('Temperature [°C]')\n", " plt.title('Data vs Estimated data')\n", " plt.grid(True)\n", " plt.legend()\n", " plt.subplot(212)\n", " plt.plot(time, e_hat, label='Residuals')\n", " plt.xlabel('Time [days]')\n", - " plt.ylabel('Atmospheric Pressure [hPa]')\n", + " plt.ylabel('Temperature [°C]')\n", " plt.title('Residuals')\n", " plt.grid(True)\n", " plt.legend()\n", @@ -286,7 +286,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": null, "metadata": {}, "outputs": [ { @@ -380,7 +380,7 @@ "freqs = np.array([1, 1/365])\n", "# END SOLUTION BLOCK\n", "\n", - "print(f'Estimated Parameters (standard deviation):')\n", + "print(f'Estimated Parameters:')\n", "for i in range(len(x_hat)):\n", " print(f'x{i} = {x_hat[i]:.3f}')\n", "\n", @@ -745,7 +745,7 @@ }, { "cell_type": "code", - "execution_count": 20, + "execution_count": null, "metadata": {}, "outputs": [ { @@ -805,7 +805,7 @@ " _, e1, _, _ = AR(e_hat, p+1)\n", " test = LR(e0, e1, 1)\n", " p += 1\n", - " print('-'*50+'\\n')\n", + " print('-'*50+'\\n') \n", "print(f'Optimal AR order: {p-1}')" ] }