diff --git a/M1/Numerical Methods/TP1.ipynb b/M1/Numerical Methods/TP1.ipynb index 3594122..2d07b3c 100644 --- a/M1/Numerical Methods/TP1.ipynb +++ b/M1/Numerical Methods/TP1.ipynb @@ -3,8 +3,8 @@ { "metadata": { "ExecuteTime": { - "end_time": "2025-03-24T12:47:57.787145Z", - "start_time": "2025-03-24T12:47:55.026815Z" + "end_time": "2025-03-25T10:54:41.599150Z", + "start_time": "2025-03-25T10:54:40.565727Z" } }, "cell_type": "code", @@ -27,8 +27,8 @@ "metadata": { "collapsed": true, "ExecuteTime": { - "end_time": "2025-03-24T13:03:31.147156Z", - "start_time": "2025-03-24T13:03:31.143091Z" + "end_time": "2025-03-25T10:54:41.610056Z", + "start_time": "2025-03-25T10:54:41.606741Z" } }, "cell_type": "code", @@ -42,13 +42,13 @@ ], "id": "initial_id", "outputs": [], - "execution_count": 16 + "execution_count": 2 }, { "metadata": { "ExecuteTime": { - "end_time": "2025-03-24T13:03:31.465476Z", - "start_time": "2025-03-24T13:03:31.458190Z" + "end_time": "2025-03-25T10:54:42.273536Z", + "start_time": "2025-03-25T10:54:42.268267Z" } }, "cell_type": "code", @@ -64,13 +64,13 @@ ], "id": "f447a3bdff49e850", "outputs": [], - "execution_count": 17 + "execution_count": 3 }, { "metadata": { "ExecuteTime": { - "end_time": "2025-03-24T13:03:31.969965Z", - "start_time": "2025-03-24T13:03:31.873313Z" + "end_time": "2025-03-25T10:54:42.767856Z", + "start_time": "2025-03-25T10:54:42.638591Z" } }, "cell_type": "code", @@ -100,13 +100,13 @@ "output_type": "display_data" } ], - "execution_count": 18 + "execution_count": 4 }, { "metadata": { "ExecuteTime": { - "end_time": "2025-03-24T13:03:40.685245Z", - "start_time": "2025-03-24T13:03:40.677482Z" + "end_time": "2025-03-25T10:54:43.351276Z", + "start_time": "2025-03-25T10:54:43.345778Z" } }, "cell_type": "code", @@ -122,13 +122,13 @@ ], "id": "57527c2e5eb6d17d", "outputs": [], - "execution_count": 20 + "execution_count": 5 }, { "metadata": { "ExecuteTime": { - "end_time": "2025-03-24T13:03:41.177015Z", - "start_time": "2025-03-24T13:03:41.027624Z" + "end_time": "2025-03-25T10:54:44.080895Z", + "start_time": "2025-03-25T10:54:43.982842Z" } }, "cell_type": "code", @@ -159,7 +159,7 @@ "output_type": "display_data" } ], - "execution_count": 21 + "execution_count": 6 }, { "metadata": {}, @@ -170,8 +170,8 @@ { "metadata": { "ExecuteTime": { - "end_time": "2025-03-24T13:14:56.636016Z", - "start_time": "2025-03-24T13:14:56.632263Z" + "end_time": "2025-03-25T10:54:45.274127Z", + "start_time": "2025-03-25T10:54:45.270681Z" } }, "cell_type": "code", @@ -185,13 +185,13 @@ ], "id": "61588e94b56ea779", "outputs": [], - "execution_count": 41 + "execution_count": 7 }, { "metadata": { "ExecuteTime": { - "end_time": "2025-03-24T13:14:57.036853Z", - "start_time": "2025-03-24T13:14:57.033785Z" + "end_time": "2025-03-25T10:54:45.743525Z", + "start_time": "2025-03-25T10:54:45.739660Z" } }, "cell_type": "code", @@ -207,13 +207,13 @@ ], "id": "a32f0facb958a1a0", "outputs": [], - "execution_count": 42 + "execution_count": 8 }, { "metadata": { "ExecuteTime": { - "end_time": "2025-03-24T13:14:57.487407Z", - "start_time": "2025-03-24T13:14:57.484369Z" + "end_time": "2025-03-25T10:54:46.330864Z", + "start_time": "2025-03-25T10:54:46.325559Z" } }, "cell_type": "code", @@ -231,13 +231,13 @@ ], "id": "ca061c36b09f7200", "outputs": [], - "execution_count": 43 + "execution_count": 9 }, { "metadata": { "ExecuteTime": { - "end_time": "2025-03-24T13:14:57.869526Z", - "start_time": "2025-03-24T13:14:57.865654Z" + "end_time": "2025-03-25T10:54:46.819777Z", + "start_time": "2025-03-25T10:54:46.815301Z" } }, "cell_type": "code", @@ -257,13 +257,13 @@ ], "id": "afc8571b14a6b464", "outputs": [], - "execution_count": 44 + "execution_count": 10 }, { "metadata": { "ExecuteTime": { - "end_time": "2025-03-24T13:14:58.376791Z", - "start_time": "2025-03-24T13:14:58.220423Z" + "end_time": "2025-03-25T10:54:47.675843Z", + "start_time": "2025-03-25T10:54:47.573186Z" } }, "cell_type": "code", @@ -298,13 +298,13 @@ "output_type": "display_data" } ], - "execution_count": 45 + "execution_count": 11 }, { "metadata": { "ExecuteTime": { - "end_time": "2025-03-24T13:22:36.716443Z", - "start_time": "2025-03-24T13:22:36.310338Z" + "end_time": "2025-03-25T10:54:48.871101Z", + "start_time": "2025-03-25T10:54:48.363979Z" } }, "cell_type": "code", @@ -356,7 +356,7 @@ "output_type": "display_data" } ], - "execution_count": 48 + "execution_count": 12 }, { "metadata": {}, @@ -367,8 +367,8 @@ { "metadata": { "ExecuteTime": { - "end_time": "2025-03-24T13:04:29.473273Z", - "start_time": "2025-03-24T13:04:29.469482Z" + "end_time": "2025-03-25T10:54:51.471808Z", + "start_time": "2025-03-25T10:54:51.467799Z" } }, "cell_type": "code", @@ -384,13 +384,13 @@ ], "id": "4484c71f50b8e691", "outputs": [], - "execution_count": 28 + "execution_count": 13 }, { "metadata": { "ExecuteTime": { - "end_time": "2025-03-24T13:46:24.490267Z", - "start_time": "2025-03-24T13:46:24.315085Z" + "end_time": "2025-03-25T10:54:52.163532Z", + "start_time": "2025-03-25T10:54:51.982495Z" } }, "cell_type": "code", @@ -444,7 +444,15 @@ "output_type": "display_data" } ], - "execution_count": 53 + "execution_count": 14 + }, + { + "metadata": {}, + "cell_type": "code", + "outputs": [], + "execution_count": null, + "source": "", + "id": "e770cb3923a39dcf" } ], "metadata": { diff --git a/M1/Numerical Methods/TP2.ipynb b/M1/Numerical Methods/TP2.ipynb index 14c1961..b995c7f 100644 --- a/M1/Numerical Methods/TP2.ipynb +++ b/M1/Numerical Methods/TP2.ipynb @@ -17,8 +17,8 @@ { "metadata": { "ExecuteTime": { - "end_time": "2025-03-24T14:45:40.568860Z", - "start_time": "2025-03-24T14:45:37.895550Z" + "end_time": "2025-03-24T15:16:27.015669Z", + "start_time": "2025-03-24T15:16:23.856887Z" } }, "cell_type": "code", @@ -42,6 +42,7 @@ " accuracies.append(accuracy_score(y_test, y_pred))\n", "\n", "print(f'Mean Accuracy: {np.mean(accuracies) * 100:.0f}%')\n", + "print(f'STD Accuracy: {np.std(accuracies) * 100:.0f}%')\n", "print(f\"Max accuracy: {np.max(accuracies) * 100:.0f}%\")\n", "print(f\"Min accuracy: {np.min(accuracies) * 100:.0f}%\")" ], @@ -51,13 +52,14 @@ "name": "stdout", "output_type": "stream", "text": [ - "Mean Accuracy: 92%\n", - "Max accuracy: 96%\n", - "Min accuracy: 86%\n" + "Mean Accuracy: 94%\n", + "STD Accuracy: 3%\n", + "Max accuracy: 100%\n", + "Min accuracy: 88%\n" ] } ], - "execution_count": 28 + "execution_count": 33 }, { "metadata": {