diff --git a/MyIA.AI.Notebooks/Probas/Infer/Infer-01-Setup.ipynb b/MyIA.AI.Notebooks/Probas/Infer/Infer-01-Setup.ipynb index 00e5b303ddd..3551d741ddc 100644 --- a/MyIA.AI.Notebooks/Probas/Infer/Infer-01-Setup.ipynb +++ b/MyIA.AI.Notebooks/Probas/Infer/Infer-01-Setup.ipynb @@ -5,10 +5,10 @@ "id": "ab8b7b64", "metadata": { "papermill": { - "duration": 0.003685, - "end_time": "2026-06-22T19:14:45.600100", + "duration": 0.010792, + "end_time": "2026-10-21T01:13:44.667926+00:00", "exception": false, - "start_time": "2026-06-22T19:14:45.596415", + "start_time": "2026-10-21T01:13:44.657134+00:00", "status": "completed" }, "tags": [] @@ -45,10 +45,10 @@ "id": "42dba707", "metadata": { "papermill": { - "duration": 0.003065, - "end_time": "2026-06-22T19:14:45.606740", + "duration": 0.008514, + "end_time": "2026-10-21T01:13:44.687755+00:00", "exception": false, - "start_time": "2026-06-22T19:14:45.603675", + "start_time": "2026-10-21T01:13:44.679241+00:00", "status": "completed" }, "tags": [] @@ -90,10 +90,10 @@ "id": "01b459aa", "metadata": { "papermill": { - "duration": 0.003663, - "end_time": "2026-06-22T19:14:45.613461", + "duration": 0.006386, + "end_time": "2026-10-21T01:13:44.701895+00:00", "exception": false, - "start_time": "2026-06-22T19:14:45.609798", + "start_time": "2026-10-21T01:13:44.695509+00:00", "status": "completed" }, "tags": [] @@ -132,10 +132,10 @@ "id": "5b34e453", "metadata": { "papermill": { - "duration": 0.002847, - "end_time": "2026-06-22T19:14:45.619509", + "duration": 0.008547, + "end_time": "2026-10-21T01:13:44.718724+00:00", "exception": false, - "start_time": "2026-06-22T19:14:45.616662", + "start_time": "2026-10-21T01:13:44.710177+00:00", "status": "completed" }, "tags": [] @@ -158,19 +158,19 @@ "id": "cr1bl8bp3a9", "metadata": { "execution": { - "iopub.execute_input": "2026-06-22T19:14:45.632472Z", - "iopub.status.busy": "2026-06-22T19:14:45.629471Z", - "iopub.status.idle": "2026-06-22T19:14:46.695799Z", - "shell.execute_reply": "2026-06-22T19:14:46.693716Z" + "iopub.execute_input": "2026-10-21T01:13:44.763301Z", + "iopub.status.busy": "2026-10-21T01:13:44.748455Z", + "iopub.status.idle": "2026-10-21T01:13:49.350685Z", + "shell.execute_reply": "2026-10-21T01:13:49.341233Z" }, "language_info": { "name": "polyglot-notebook" }, "papermill": { - "duration": 1.073242, - "end_time": "2026-06-22T19:14:46.695799", + "duration": 4.622237, + "end_time": "2026-10-21T01:13:49.350685+00:00", "exception": false, - "start_time": "2026-06-22T19:14:45.622557", + "start_time": "2026-10-21T01:13:44.728448+00:00", "status": "completed" }, "polyglot_notebook": { @@ -180,7 +180,6 @@ }, "outputs": [ { - "output_type": "display_data", "data": { "text/html": [ "\r\n", @@ -189,6 +188,7 @@ " The below script needs to be able to find the current output cell; this is an easy method to get it.\r\n", " \r\n", " \r\n", "" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "stream", "name": "stdout", - "text": [ - "Graphviz configure pour cette plateforme : C:\\Program Files\\Graphviz\\bin\r\n" - ] - }, - { "output_type": "stream", - "name": "stdout", "text": [ - "Verification OK : dot - graphviz version 14.1.5 (20260411.2331)\r\n" + "Verification OK : dot - graphviz version 14.1.2 (0)\r\n" ] } ], @@ -391,10 +393,10 @@ "id": "b85npb17cng", "metadata": { "papermill": { - "duration": 0.007321, - "end_time": "2026-06-22T19:14:46.709876", + "duration": 0.008366, + "end_time": "2026-10-21T01:13:49.366274+00:00", "exception": false, - "start_time": "2026-06-22T19:14:46.702555", + "start_time": "2026-10-21T01:13:49.357908+00:00", "status": "completed" }, "tags": [] @@ -430,16 +432,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-06-22T19:14:46.726235Z", - "iopub.status.busy": "2026-06-22T19:14:46.725714Z", - "iopub.status.idle": "2026-06-22T19:14:48.273742Z", - "shell.execute_reply": "2026-06-22T19:14:48.273742Z" + "iopub.execute_input": "2026-10-21T01:13:49.387048Z", + "iopub.status.busy": "2026-10-21T01:13:49.386039Z", + "iopub.status.idle": "2026-10-21T01:13:54.201601Z", + "shell.execute_reply": "2026-10-21T01:13:54.201601Z" }, "papermill": { - "duration": 1.556375, - "end_time": "2026-06-22T19:14:48.273742", + "duration": 4.827103, + "end_time": "2026-10-21T01:13:54.201601+00:00", "exception": false, - "start_time": "2026-06-22T19:14:46.717367", + "start_time": "2026-10-21T01:13:49.374498+00:00", "status": "completed" }, "polyglot_notebook": { @@ -449,13 +451,13 @@ }, "outputs": [ { - "output_type": "display_data", "data": { "text/html": [ - "
Installing Packages
" + "
Installed Packages
" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" } ], "source": [ @@ -469,10 +471,10 @@ "id": "a8b9fff5", "metadata": { "papermill": { - "duration": 0.006999, - "end_time": "2026-06-22T19:14:48.287867", + "duration": 0.01013, + "end_time": "2026-10-21T01:13:54.221835+00:00", "exception": false, - "start_time": "2026-06-22T19:14:48.280868", + "start_time": "2026-10-21T01:13:54.211705+00:00", "status": "completed" }, "tags": [] @@ -490,16 +492,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-06-22T19:14:48.301167Z", - "iopub.status.busy": "2026-06-22T19:14:48.301167Z", - "iopub.status.idle": "2026-06-22T19:14:48.355152Z", - "shell.execute_reply": "2026-06-22T19:14:48.354642Z" + "iopub.execute_input": "2026-10-21T01:13:54.245234Z", + "iopub.status.busy": "2026-10-21T01:13:54.244234Z", + "iopub.status.idle": "2026-10-21T01:13:54.338153Z", + "shell.execute_reply": "2026-10-21T01:13:54.337620Z" }, "papermill": { - "duration": 0.061283, - "end_time": "2026-06-22T19:14:48.355152", + "duration": 0.106329, + "end_time": "2026-10-21T01:13:54.338692+00:00", "exception": false, - "start_time": "2026-06-22T19:14:48.293869", + "start_time": "2026-10-21T01:13:54.232363+00:00", "status": "completed" }, "polyglot_notebook": { @@ -509,36 +511,36 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Infer.NET charge avec succes !\r\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ " - Microsoft.ML.Probabilistic.Models : Variables aleatoires et modeles\r\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ " - Microsoft.ML.Probabilistic.Distributions : Gaussian, Beta, Dirichlet...\r\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ " - Microsoft.ML.Probabilistic.Algorithms : EP, VMP, Gibbs\r\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ " - Microsoft.ML.Probabilistic.Compiler : Compilation Roslyn des modeles\r\n" ] @@ -566,10 +568,10 @@ "id": "7a9110ca", "metadata": { "papermill": { - "duration": 0.006933, - "end_time": "2026-06-22T19:14:48.368705", + "duration": 0.006123, + "end_time": "2026-10-21T01:13:54.354693+00:00", "exception": false, - "start_time": "2026-06-22T19:14:48.361772", + "start_time": "2026-10-21T01:13:54.348570+00:00", "status": "completed" }, "tags": [] @@ -584,19 +586,19 @@ "id": "cs20ulzhlng", "metadata": { "execution": { - "iopub.execute_input": "2026-06-22T19:14:48.383046Z", - "iopub.status.busy": "2026-06-22T19:14:48.382529Z", - "iopub.status.idle": "2026-06-22T19:14:48.895085Z", - "shell.execute_reply": "2026-06-22T19:14:48.895085Z" + "iopub.execute_input": "2026-10-21T01:13:54.371252Z", + "iopub.status.busy": "2026-10-21T01:13:54.370693Z", + "iopub.status.idle": "2026-10-21T01:13:55.365197Z", + "shell.execute_reply": "2026-10-21T01:13:55.365197Z" }, "language_info": { "name": "polyglot-notebook" }, "papermill": { - "duration": 0.520244, - "end_time": "2026-06-22T19:14:48.895085", + "duration": 1.003342, + "end_time": "2026-10-21T01:13:55.365197+00:00", "exception": false, - "start_time": "2026-06-22T19:14:48.374841", + "start_time": "2026-10-21T01:13:54.361855+00:00", "status": "completed" }, "polyglot_notebook": { @@ -606,17 +608,17 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "FactorGraphHelper.cs charge depuis le fichier externe !\r\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ - "Usage: moteur.ShowFactorGraph = true; puis display(HTML(FactorGraphHelper.GetLatestFactorGraphHtml()))\r\n" + "Usage: moteur.ShowFactorGraph = true; puis FactorGraphHelper.GetLatestFactorGraphHtml().DisplayAs(\"text/html\")\r\n" ] } ], @@ -626,7 +628,7 @@ "#load \"FactorGraphHelper.cs\"\n", "\n", "Console.WriteLine(\"FactorGraphHelper.cs charge depuis le fichier externe !\");\n", - "Console.WriteLine(\"Usage: moteur.ShowFactorGraph = true; puis display(HTML(FactorGraphHelper.GetLatestFactorGraphHtml()))\");" + "Console.WriteLine(\"Usage: moteur.ShowFactorGraph = true; puis FactorGraphHelper.GetLatestFactorGraphHtml().DisplayAs(\\\"text/html\\\")\");" ] }, { @@ -634,10 +636,10 @@ "id": "dp1aijv9ox7", "metadata": { "papermill": { - "duration": 0.007219, - "end_time": "2026-06-22T19:14:48.909906", + "duration": 0.008364, + "end_time": "2026-10-21T01:13:55.385722+00:00", "exception": false, - "start_time": "2026-06-22T19:14:48.902687", + "start_time": "2026-10-21T01:13:55.377358+00:00", "status": "completed" }, "tags": [] @@ -663,10 +665,10 @@ "id": "92dccdbd", "metadata": { "papermill": { - "duration": 0.007061, - "end_time": "2026-06-22T19:14:48.925197", + "duration": 0.011758, + "end_time": "2026-10-21T01:13:55.407888+00:00", "exception": false, - "start_time": "2026-06-22T19:14:48.918136", + "start_time": "2026-10-21T01:13:55.396130+00:00", "status": "completed" }, "tags": [] @@ -694,16 +696,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-06-22T19:14:48.942700Z", - "iopub.status.busy": "2026-06-22T19:14:48.942181Z", - "iopub.status.idle": "2026-06-22T19:14:50.457228Z", - "shell.execute_reply": "2026-06-22T19:14:50.457228Z" + "iopub.execute_input": "2026-10-21T01:13:55.428626Z", + "iopub.status.busy": "2026-10-21T01:13:55.428626Z", + "iopub.status.idle": "2026-10-21T01:13:58.771547Z", + "shell.execute_reply": "2026-10-21T01:13:58.771006Z" }, "papermill": { - "duration": 1.523759, - "end_time": "2026-06-22T19:14:50.457228", + "duration": 3.353635, + "end_time": "2026-10-21T01:13:58.771547+00:00", "exception": false, - "start_time": "2026-06-22T19:14:48.933469", + "start_time": "2026-10-21T01:13:55.417912+00:00", "status": "completed" }, "polyglot_notebook": { @@ -713,22 +715,22 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Compiling model..." ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "done.\r\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Probabilite d'obtenir deux faces : Bernoulli(0,25)\r\n" ] @@ -754,10 +756,10 @@ "id": "j1nrzm34c2f", "metadata": { "papermill": { - "duration": 0.008085, - "end_time": "2026-06-22T19:14:50.473314", + "duration": 0.007622, + "end_time": "2026-10-21T01:13:58.787255+00:00", "exception": false, - "start_time": "2026-06-22T19:14:50.465229", + "start_time": "2026-10-21T01:13:58.779633+00:00", "status": "completed" }, "tags": [] @@ -781,10 +783,10 @@ "id": "7d81c7cb", "metadata": { "papermill": { - "duration": 0.006864, - "end_time": "2026-06-22T19:14:50.487399", + "duration": 0.009368, + "end_time": "2026-10-21T01:13:58.806075+00:00", "exception": false, - "start_time": "2026-06-22T19:14:50.480535", + "start_time": "2026-10-21T01:13:58.796707+00:00", "status": "completed" }, "tags": [] @@ -830,10 +832,10 @@ "id": "3b0d2370", "metadata": { "papermill": { - "duration": 0.007736, - "end_time": "2026-06-22T19:14:50.501668", + "duration": 0.007118, + "end_time": "2026-10-21T01:13:58.823195+00:00", "exception": false, - "start_time": "2026-06-22T19:14:50.493932", + "start_time": "2026-10-21T01:13:58.816077+00:00", "status": "completed" }, "tags": [] @@ -862,16 +864,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-06-22T19:14:50.517563Z", - "iopub.status.busy": "2026-06-22T19:14:50.517563Z", - "iopub.status.idle": "2026-06-22T19:14:50.566835Z", - "shell.execute_reply": "2026-06-22T19:14:50.566835Z" + "iopub.execute_input": "2026-10-21T01:13:58.843784Z", + "iopub.status.busy": "2026-10-21T01:13:58.843228Z", + "iopub.status.idle": "2026-10-21T01:13:58.937966Z", + "shell.execute_reply": "2026-10-21T01:13:58.937236Z" }, "papermill": { - "duration": 0.056918, - "end_time": "2026-06-22T19:14:50.566835", + "duration": 0.106761, + "end_time": "2026-10-21T01:13:58.937966+00:00", "exception": false, - "start_time": "2026-06-22T19:14:50.509917", + "start_time": "2026-10-21T01:13:58.831205+00:00", "status": "completed" }, "polyglot_notebook": { @@ -881,8 +883,8 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Variables creees avec succes !\r\n" ] @@ -911,10 +913,10 @@ "id": "hifwis3sou8", "metadata": { "papermill": { - "duration": 0.004166, - "end_time": "2026-06-22T19:14:50.575001", + "duration": 0.009703, + "end_time": "2026-10-21T01:13:58.956690+00:00", "exception": false, - "start_time": "2026-06-22T19:14:50.570835", + "start_time": "2026-10-21T01:13:58.946987+00:00", "status": "completed" }, "tags": [] @@ -944,10 +946,10 @@ "id": "952806dd", "metadata": { "papermill": { - "duration": 0.003002, - "end_time": "2026-06-22T19:14:50.581995", + "duration": 0.005634, + "end_time": "2026-10-21T01:13:58.971149+00:00", "exception": false, - "start_time": "2026-06-22T19:14:50.578993", + "start_time": "2026-10-21T01:13:58.965515+00:00", "status": "completed" }, "tags": [] @@ -963,10 +965,10 @@ "id": "kp3m20jmh8", "metadata": { "papermill": { - "duration": 0.003, - "end_time": "2026-06-22T19:14:50.588995", + "duration": 0.008388, + "end_time": "2026-10-21T01:13:58.989418+00:00", "exception": false, - "start_time": "2026-06-22T19:14:50.585995", + "start_time": "2026-10-21T01:13:58.981030+00:00", "status": "completed" }, "tags": [] @@ -993,16 +995,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-06-22T19:14:50.621028Z", - "iopub.status.busy": "2026-06-22T19:14:50.621028Z", - "iopub.status.idle": "2026-06-22T19:14:51.142215Z", - "shell.execute_reply": "2026-06-22T19:14:51.142215Z" + "iopub.execute_input": "2026-10-21T01:13:59.012751Z", + "iopub.status.busy": "2026-10-21T01:13:59.012188Z", + "iopub.status.idle": "2026-10-21T01:14:00.035513Z", + "shell.execute_reply": "2026-10-21T01:14:00.035513Z" }, "papermill": { - "duration": 0.54922, - "end_time": "2026-06-22T19:14:51.142215", + "duration": 1.036233, + "end_time": "2026-10-21T01:14:00.035513+00:00", "exception": false, - "start_time": "2026-06-22T19:14:50.592995", + "start_time": "2026-10-21T01:13:58.999280+00:00", "status": "completed" }, "polyglot_notebook": { @@ -1012,36 +1014,36 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Compiling model..." ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "done.\r\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Distribution a posteriori du biais : Beta(8,4)[mean=0,6667]\r\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Moyenne estimee du biais : 0,667\r\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Intervalle de confiance (ecart-type) : +/- 0,131\r\n" ] @@ -1083,10 +1085,10 @@ "id": "12e14487", "metadata": { "papermill": { - "duration": 0.008, - "end_time": "2026-06-22T19:14:51.157641", + "duration": 0.008141, + "end_time": "2026-10-21T01:14:00.053273+00:00", "exception": false, - "start_time": "2026-06-22T19:14:51.149641", + "start_time": "2026-10-21T01:14:00.045132+00:00", "status": "completed" }, "tags": [] @@ -1101,19 +1103,19 @@ "id": "1j3d7ypvqqb", "metadata": { "execution": { - "iopub.execute_input": "2026-06-22T19:14:51.172929Z", - "iopub.status.busy": "2026-06-22T19:14:51.171923Z", - "iopub.status.idle": "2026-06-22T19:14:51.801955Z", - "shell.execute_reply": "2026-06-22T19:14:51.801955Z" + "iopub.execute_input": "2026-10-21T01:14:00.073958Z", + "iopub.status.busy": "2026-10-21T01:14:00.073958Z", + "iopub.status.idle": "2026-10-21T01:14:04.842141Z", + "shell.execute_reply": "2026-10-21T01:14:04.841402Z" }, "language_info": { "name": "polyglot-notebook" }, "papermill": { - "duration": 0.638524, - "end_time": "2026-06-22T19:14:51.801955", + "duration": 4.780355, + "end_time": "2026-10-21T01:14:04.842141+00:00", "exception": false, - "start_time": "2026-06-22T19:14:51.163431", + "start_time": "2026-10-21T01:14:00.061786+00:00", "status": "completed" }, "polyglot_notebook": { @@ -1123,38 +1125,37 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Compiling model..." ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "done.\r\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Biais estime: Beta(8,4)[mean=0,6667]\r\n" ] }, { - "output_type": "display_data", "data": { "text/html": [ - "\n", - "
\n", - "
Model_09_12_26_13_44_35_46.svg
\n", - "
\n", + "\r\n", + "
\r\n", + "
Model_10_21_26_03_14_00_26.svg
\r\n", + "
\r\n", " \r\n", "\r\n", - "\r\n", "\r\n", "\r\n", "\r\n", "\r\n", - "\n", - "
\n", + "\r\n", + "
\r\n", "
" ] }, - "metadata": {} - }, - { - "output_type": "stream", - "name": "stderr", - "text": [ - "\r\n", - "warning CS1701: En supposant que la référence d'assembly 'Microsoft.AspNetCore.Html.Abstractions, Version=2.3.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' utilisée par 'Microsoft.DotNet.Interactive' correspond à l'identité 'Microsoft.AspNetCore.Html.Abstractions, Version=10.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' de 'Microsoft.AspNetCore.Html.Abstractions', il se peut que vous deviez fournir une stratégie runtime\r\n", - "\r\n" - ] + "metadata": {}, + "output_type": "display_data" } ], "source": [ @@ -1259,7 +1252,7 @@ "Console.WriteLine($\"Biais estime: {biaisPost}\");\n", "\n", "// Afficher le factor graph\n", - "display(HTML(FactorGraphHelper.GetLatestFactorGraphHtml()));" + "FactorGraphHelper.GetLatestFactorGraphHtml().DisplayAs(\"text/html\");" ] }, { @@ -1267,10 +1260,10 @@ "id": "blaktc15im5", "metadata": { "papermill": { - "duration": 0.007739, - "end_time": "2026-06-22T19:14:51.817693", + "duration": 0.012819, + "end_time": "2026-10-21T01:14:04.867597+00:00", "exception": false, - "start_time": "2026-06-22T19:14:51.809954", + "start_time": "2026-10-21T01:14:04.854778+00:00", "status": "completed" }, "tags": [] @@ -1308,10 +1301,10 @@ "id": "c23c8e87", "metadata": { "papermill": { - "duration": 0.007046, - "end_time": "2026-06-22T19:14:51.832161", + "duration": 0.012906, + "end_time": "2026-10-21T01:14:04.891865+00:00", "exception": false, - "start_time": "2026-06-22T19:14:51.825115", + "start_time": "2026-10-21T01:14:04.878959+00:00", "status": "completed" }, "tags": [] @@ -1346,10 +1339,10 @@ "id": "d42fe2e7", "metadata": { "papermill": { - "duration": 0.007008, - "end_time": "2026-06-22T19:14:51.847733", + "duration": 0.011756, + "end_time": "2026-10-21T01:14:04.913775+00:00", "exception": false, - "start_time": "2026-06-22T19:14:51.840725", + "start_time": "2026-10-21T01:14:04.902019+00:00", "status": "completed" }, "tags": [] @@ -1377,10 +1370,10 @@ "id": "p4eyf2b3his", "metadata": { "papermill": { - "duration": 0.009715, - "end_time": "2026-06-22T19:14:51.864728", + "duration": 0.013825, + "end_time": "2026-10-21T01:14:04.938428+00:00", "exception": false, - "start_time": "2026-06-22T19:14:51.855013", + "start_time": "2026-10-21T01:14:04.924603+00:00", "status": "completed" }, "tags": [] @@ -1404,16 +1397,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-06-22T19:14:51.882956Z", - "iopub.status.busy": "2026-06-22T19:14:51.882433Z", - "iopub.status.idle": "2026-06-22T19:14:52.258290Z", - "shell.execute_reply": "2026-06-22T19:14:52.257770Z" + "iopub.execute_input": "2026-10-21T01:14:04.965193Z", + "iopub.status.busy": "2026-10-21T01:14:04.965193Z", + "iopub.status.idle": "2026-10-21T01:14:05.728333Z", + "shell.execute_reply": "2026-10-21T01:14:05.728333Z" }, "papermill": { - "duration": 0.38705, - "end_time": "2026-06-22T19:14:52.258290", + "duration": 0.775561, + "end_time": "2026-10-21T01:14:05.728333+00:00", "exception": false, - "start_time": "2026-06-22T19:14:51.871240", + "start_time": "2026-10-21T01:14:04.952772+00:00", "status": "completed" }, "polyglot_notebook": { @@ -1423,36 +1416,36 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Compiling model..." ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "done.\r\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "P(trois faces) = Bernoulli(0,125)\r\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "P(au moins deux faces) = Bernoulli(0,5781)\r\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "Verification : P(3 faces) = 1/8 = 0.125, P(>=2 faces) = 4/8 = 0.5\r\n" @@ -1492,10 +1485,10 @@ "id": "sh6ls6w113e", "metadata": { "papermill": { - "duration": 0.007014, - "end_time": "2026-06-22T19:14:52.273496", + "duration": 0.00963, + "end_time": "2026-10-21T01:14:05.749579+00:00", "exception": false, - "start_time": "2026-06-22T19:14:52.266482", + "start_time": "2026-10-21T01:14:05.739949+00:00", "status": "completed" }, "tags": [] @@ -1526,10 +1519,10 @@ "id": "88j4a6u22li", "metadata": { "papermill": { - "duration": 0.008124, - "end_time": "2026-06-22T19:14:52.289621", + "duration": 0.00943, + "end_time": "2026-10-21T01:14:05.772364+00:00", "exception": false, - "start_time": "2026-06-22T19:14:52.281497", + "start_time": "2026-10-21T01:14:05.762934+00:00", "status": "completed" }, "tags": [] @@ -1578,19 +1571,19 @@ "id": "5r5yxxb87f9", "metadata": { "execution": { - "iopub.execute_input": "2026-06-22T19:14:52.308290Z", - "iopub.status.busy": "2026-06-22T19:14:52.308290Z", - "iopub.status.idle": "2026-06-22T19:14:52.868272Z", - "shell.execute_reply": "2026-06-22T19:14:52.868272Z" + "iopub.execute_input": "2026-10-21T01:14:05.797904Z", + "iopub.status.busy": "2026-10-21T01:14:05.797904Z", + "iopub.status.idle": "2026-10-21T01:14:06.911886Z", + "shell.execute_reply": "2026-10-21T01:14:06.911886Z" }, "language_info": { "name": "polyglot-notebook" }, "papermill": { - "duration": 0.570069, - "end_time": "2026-06-22T19:14:52.868272", + "duration": 1.126207, + "end_time": "2026-10-21T01:14:06.911886+00:00", "exception": false, - "start_time": "2026-06-22T19:14:52.298203", + "start_time": "2026-10-21T01:14:05.785679+00:00", "status": "completed" }, "polyglot_notebook": { @@ -1600,100 +1593,100 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "=== Options de Debug Infer.NET ===\n", "\r\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ - "Graphviz disponible : dot - graphviz version 14.1.5 (20260411.2331)\r\n" + "Graphviz disponible : dot - graphviz version 14.1.2 (0)\r\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\r\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "1. ShowSchedule = true : Affiche l'ordre des calculs de messages\n", "\r\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "2. ShowFactorGraph = true : Genere fichier DOT + SVG\n", "\r\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "3. WriteSourceFiles = true : Sauvegarde le code C# genere dans GeneratedSource/\n", "\r\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "4. ShowWarnings = true : Affiche les avertissements du compilateur\n", "\r\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "--- Execution avec options debug ---\n", "\r\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Compiling model..." ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "done.\r\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "Resultat : x ~ Gaussian(1, 0,5)\r\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "--- Factor Graph ---\r\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Fichiers .gv generes. Voir section FactorGraphHelper ci-dessous pour l'affichage inline.\r\n" ] @@ -1770,7 +1763,7 @@ "Console.WriteLine($\"\\nResultat : x ~ {xPost}\");\n", "\n", "// Note : Le FactorGraphHelper est défini plus bas dans ce notebook.\n", - "// Une fois charge, utilisez : display(HTML(FactorGraphHelper.GetLatestFactorGraphHtml()))\n", + "// Une fois charge, utilisez : FactorGraphHelper.GetLatestFactorGraphHtml().DisplayAs(\"text/html\")\n", "Console.WriteLine(\"\\n--- Factor Graph ---\");\n", "Console.WriteLine(\"Fichiers .gv generes. Voir section FactorGraphHelper ci-dessous pour l'affichage inline.\");" ] @@ -1780,10 +1773,10 @@ "id": "q2l9lsexdsl", "metadata": { "papermill": { - "duration": 0.008, - "end_time": "2026-06-22T19:14:52.885275", + "duration": 0.013002, + "end_time": "2026-10-21T01:14:06.940128+00:00", "exception": false, - "start_time": "2026-06-22T19:14:52.877275", + "start_time": "2026-10-21T01:14:06.927126+00:00", "status": "completed" }, "tags": [] @@ -1818,10 +1811,10 @@ "id": "1ks1d2mjbd3", "metadata": { "papermill": { - "duration": 0.007587, - "end_time": "2026-06-22T19:14:52.902368", + "duration": 0.011662, + "end_time": "2026-10-21T01:14:06.962957+00:00", "exception": false, - "start_time": "2026-06-22T19:14:52.894781", + "start_time": "2026-10-21T01:14:06.951295+00:00", "status": "completed" }, "tags": [] @@ -1870,10 +1863,10 @@ "id": "3olme3xdb2s", "metadata": { "papermill": { - "duration": 0.008, - "end_time": "2026-06-22T19:14:52.917368", + "duration": 0.011619, + "end_time": "2026-10-21T01:14:06.989822+00:00", "exception": false, - "start_time": "2026-06-22T19:14:52.909368", + "start_time": "2026-10-21T01:14:06.978203+00:00", "status": "completed" }, "tags": [] @@ -1893,19 +1886,19 @@ "id": "nmjji4dj15m", "metadata": { "execution": { - "iopub.execute_input": "2026-06-22T19:14:52.935368Z", - "iopub.status.busy": "2026-06-22T19:14:52.935368Z", - "iopub.status.idle": "2026-06-22T19:14:53.029089Z", - "shell.execute_reply": "2026-06-22T19:14:53.029089Z" + "iopub.execute_input": "2026-10-21T01:14:07.019673Z", + "iopub.status.busy": "2026-10-21T01:14:07.019673Z", + "iopub.status.idle": "2026-10-21T01:14:07.287260Z", + "shell.execute_reply": "2026-10-21T01:14:07.285216Z" }, "language_info": { "name": "polyglot-notebook" }, "papermill": { - "duration": 0.103721, - "end_time": "2026-06-22T19:14:53.029089", + "duration": 0.285707, + "end_time": "2026-10-21T01:14:07.287260+00:00", "exception": false, - "start_time": "2026-06-22T19:14:52.925368", + "start_time": "2026-10-21T01:14:07.001553+00:00", "status": "completed" }, "polyglot_notebook": { @@ -1915,22 +1908,22 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "FactorGraphHelper charge !\r\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ - " - display(HTML(FactorGraphHelper.GetLatestFactorGraphHtml())) : affiche le dernier graphe\r\n" + " - FactorGraphHelper.GetLatestFactorGraphHtml().DisplayAs(\"text/html\") : affiche le dernier graphe\r\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ " - FactorGraphHelper.CleanupGeneratedFiles() : nettoie les fichiers generes\r\n" ] @@ -1973,7 +1966,7 @@ " \n", " /// \n", " /// Retourne le HTML pour afficher le dernier fichier SVG genere par Infer.NET\n", - " /// Usage: display(HTML(FactorGraphHelper.GetLatestFactorGraphHtml()))\n", + " /// Usage: FactorGraphHelper.GetLatestFactorGraphHtml().DisplayAs(\"text/html\")\n", " /// \n", " public static string GetLatestFactorGraphHtml(int maxWidth = 800)\n", " {\n", @@ -2107,7 +2100,7 @@ "}\n", "\n", "Console.WriteLine(\"FactorGraphHelper charge !\");\n", - "Console.WriteLine(\" - display(HTML(FactorGraphHelper.GetLatestFactorGraphHtml())) : affiche le dernier graphe\");\n", + "Console.WriteLine(\" - FactorGraphHelper.GetLatestFactorGraphHtml().DisplayAs(\\\"text/html\\\") : affiche le dernier graphe\");\n", "Console.WriteLine(\" - FactorGraphHelper.CleanupGeneratedFiles() : nettoie les fichiers generes\");" ] }, @@ -2116,10 +2109,10 @@ "id": "s86z9cewud", "metadata": { "papermill": { - "duration": 0.009, - "end_time": "2026-06-22T19:14:53.047089", + "duration": 0.014369, + "end_time": "2026-10-21T01:14:07.317438+00:00", "exception": false, - "start_time": "2026-06-22T19:14:53.038089", + "start_time": "2026-10-21T01:14:07.303069+00:00", "status": "completed" }, "tags": [] @@ -2131,7 +2124,7 @@ "\n", "```csharp\n", "// Afficher le dernier graphe génère\n", - "display(HTML(FactorGraphHelper.GetLatestFactorGraphHtml()));\n", + "FactorGraphHelper.GetLatestFactorGraphHtml().DisplayAs(\"text/html\");\n", "\n", "// Nettoyer les fichiers temporaires\n", "FactorGraphHelper.CleanupGeneratedFiles();\n", @@ -2153,10 +2146,10 @@ "id": "aaf08fae", "metadata": { "papermill": { - "duration": 0.009001, - "end_time": "2026-06-22T19:14:53.064091", + "duration": 0.013733, + "end_time": "2026-10-21T01:14:07.346217+00:00", "exception": false, - "start_time": "2026-06-22T19:14:53.055090", + "start_time": "2026-10-21T01:14:07.332484+00:00", "status": "completed" }, "tags": [] @@ -2210,10 +2203,10 @@ "id": "b99140b6", "metadata": { "papermill": { - "duration": 0.009005, - "end_time": "2026-06-22T19:14:53.081097", + "duration": 0.01727, + "end_time": "2026-10-21T01:14:07.375597+00:00", "exception": false, - "start_time": "2026-06-22T19:14:53.072092", + "start_time": "2026-10-21T01:14:07.358327+00:00", "status": "completed" }, "tags": [] @@ -2239,24 +2232,24 @@ "id": "0dc25f62", "metadata": { "execution": { - "iopub.execute_input": "2026-06-22T19:14:53.099836Z", - "iopub.status.busy": "2026-06-22T19:14:53.098836Z", - "iopub.status.idle": "2026-06-22T19:14:53.131835Z", - "shell.execute_reply": "2026-06-22T19:14:53.131835Z" + "iopub.execute_input": "2026-10-21T01:14:07.407347Z", + "iopub.status.busy": "2026-10-21T01:14:07.407347Z", + "iopub.status.idle": "2026-10-21T01:14:07.467784Z", + "shell.execute_reply": "2026-10-21T01:14:07.467784Z" }, "papermill": { - "duration": 0.042996, - "end_time": "2026-06-22T19:14:53.132835", + "duration": 0.079127, + "end_time": "2026-10-21T01:14:07.467784+00:00", "exception": false, - "start_time": "2026-06-22T19:14:53.089839", + "start_time": "2026-10-21T01:14:07.388657+00:00", "status": "completed" }, "tags": [] }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Exercice a completer\r\n" ] @@ -2290,10 +2283,10 @@ "id": "d78060c4", "metadata": { "papermill": { - "duration": 0.010957, - "end_time": "2026-06-22T19:14:53.151794", + "duration": 0.014904, + "end_time": "2026-10-21T01:14:07.496491+00:00", "exception": false, - "start_time": "2026-06-22T19:14:53.140837", + "start_time": "2026-10-21T01:14:07.481587+00:00", "status": "completed" }, "tags": [] @@ -2318,21 +2311,21 @@ ], "metadata": { "cost": { - "api_usd_est": 0, "api_provider": "none", + "api_usd_est": 0, "cpu_min": 2, + "external_account": "none", + "free_alternative": "self", "gpu_min": 0, "gpu_required": false, - "vram_gb": 0, - "vram_tier": "NONE", + "metadata_written": "2026-07-24", "network": false, - "external_account": "none", - "free_alternative": "self", + "notes": "Configuration env .NET Interactive + Microsoft.ML.Probabilistic (NuGet). Notebook d'installation / Setup — entry point reduit de la serie. Re-exec mesure : 9s.", "reduced_pedagogical": null, "reproducibility": "HIGH", - "metadata_written": "2026-07-24", "validator": "papermill", - "notes": "Configuration env .NET Interactive + Microsoft.ML.Probabilistic (NuGet). Notebook d'installation / Setup — entry point reduit de la serie. Re-exec mesure : 9s." + "vram_gb": 0, + "vram_tier": "NONE" }, "kernelspec": { "display_name": ".NET (C#)", @@ -2346,6 +2339,18 @@ "pygments_lexer": "csharp", "version": "13.0" }, + "papermill": { + "default_parameters": {}, + "duration": 27.721075, + "end_time": "2026-10-21T01:14:07.852162+00:00", + "environment_variables": {}, + "exception": null, + "input_path": "Infer-01-Setup.ipynb", + "output_path": "Infer-01-Setup.ipynb", + "parameters": {}, + "start_time": "2026-10-21T01:13:40.131087+00:00", + "version": "2.7.0" + }, "polyglot_notebook": { "kernelInfo": { "defaultKernelName": "csharp", @@ -2361,4 +2366,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/MyIA.AI.Notebooks/Probas/Infer/Infer-01b-Premiers-Modeles.ipynb b/MyIA.AI.Notebooks/Probas/Infer/Infer-01b-Premiers-Modeles.ipynb index 62ebc332dd9..3b2d23d7f9f 100644 --- a/MyIA.AI.Notebooks/Probas/Infer/Infer-01b-Premiers-Modeles.ipynb +++ b/MyIA.AI.Notebooks/Probas/Infer/Infer-01b-Premiers-Modeles.ipynb @@ -5,10 +5,10 @@ "id": "83957ee5", "metadata": { "papermill": { - "duration": 0.110824, - "end_time": "2026-06-04T06:34:01.103316", + "duration": 0.079855, + "end_time": "2026-10-21T01:08:52.079510+00:00", "exception": false, - "start_time": "2026-06-04T06:34:00.992492", + "start_time": "2026-10-21T01:08:51.999655+00:00", "status": "completed" }, "tags": [] @@ -47,10 +47,10 @@ "id": "4b4b2b37", "metadata": { "papermill": { - "duration": 0.065763, - "end_time": "2026-06-04T06:34:01.232143", + "duration": 0.098501, + "end_time": "2026-10-21T01:08:52.256139+00:00", "exception": false, - "start_time": "2026-06-04T06:34:01.166380", + "start_time": "2026-10-21T01:08:52.157638+00:00", "status": "completed" }, "tags": [] @@ -122,16 +122,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-07-24T09:50:57.982146Z", - "iopub.status.busy": "2026-07-24T09:50:57.976255Z", - "iopub.status.idle": "2026-07-24T09:51:10.803917Z", - "shell.execute_reply": "2026-07-24T09:51:10.799683Z" + "iopub.execute_input": "2026-10-21T01:08:52.469552Z", + "iopub.status.busy": "2026-10-21T01:08:52.455014Z", + "iopub.status.idle": "2026-10-21T01:09:00.441555Z", + "shell.execute_reply": "2026-10-21T01:09:00.429582Z" }, "papermill": { - "duration": 2.713736, - "end_time": "2026-06-04T06:34:04.013501", + "duration": 8.090659, + "end_time": "2026-10-21T01:09:00.442102+00:00", "exception": false, - "start_time": "2026-06-04T06:34:01.299765", + "start_time": "2026-10-21T01:08:52.351443+00:00", "status": "completed" }, "polyglot_notebook": { @@ -149,6 +149,7 @@ " The below script needs to be able to find the current output cell; this is an easy method to get it.\r\n", "
\r\n", " \r\n", @@ -274,6 +283,13 @@ "cell_type": "markdown", "id": "enrich13410-infer1b-c2", "metadata": { + "papermill": { + "duration": 0.102432, + "end_time": "2026-10-21T01:09:00.639984+00:00", + "exception": false, + "start_time": "2026-10-21T01:09:00.537552+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -300,10 +316,10 @@ "id": "75f7b5e9", "metadata": { "papermill": { - "duration": 0.104793, - "end_time": "2026-06-04T06:34:04.180485", + "duration": 0.09005, + "end_time": "2026-10-21T01:09:00.805182+00:00", "exception": false, - "start_time": "2026-06-04T06:34:04.075692", + "start_time": "2026-10-21T01:09:00.715132+00:00", "status": "completed" }, "tags": [] @@ -317,10 +333,10 @@ "id": "67f9f63e", "metadata": { "papermill": { - "duration": 0.067549, - "end_time": "2026-06-04T06:34:04.325207", + "duration": 0.124795, + "end_time": "2026-10-21T01:09:01.015199+00:00", "exception": false, - "start_time": "2026-06-04T06:34:04.257658", + "start_time": "2026-10-21T01:09:00.890404+00:00", "status": "completed" }, "tags": [] @@ -338,16 +354,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-07-24T09:51:10.805251Z", - "iopub.status.busy": "2026-07-24T09:51:10.805070Z", - "iopub.status.idle": "2026-07-24T09:51:10.852319Z", - "shell.execute_reply": "2026-07-24T09:51:10.852140Z" + "iopub.execute_input": "2026-10-21T01:09:01.196834Z", + "iopub.status.busy": "2026-10-21T01:09:01.196834Z", + "iopub.status.idle": "2026-10-21T01:09:01.338298Z", + "shell.execute_reply": "2026-10-21T01:09:01.337729Z" }, "papermill": { - "duration": 0.841596, - "end_time": "2026-06-04T06:34:05.225436", + "duration": 0.224927, + "end_time": "2026-10-21T01:09:01.338298+00:00", "exception": false, - "start_time": "2026-06-04T06:34:04.383840", + "start_time": "2026-10-21T01:09:01.113371+00:00", "status": "completed" }, "polyglot_notebook": { @@ -379,6 +395,13 @@ "cell_type": "markdown", "id": "enrich13410-infer1b-c5", "metadata": { + "papermill": { + "duration": 0.090458, + "end_time": "2026-10-21T01:09:01.503353+00:00", + "exception": false, + "start_time": "2026-10-21T01:09:01.412895+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -403,10 +426,10 @@ "id": "5bd79cf1", "metadata": { "papermill": { - "duration": 0.154194, - "end_time": "2026-06-04T06:34:05.435978", + "duration": 0.089644, + "end_time": "2026-10-21T01:09:01.692464+00:00", "exception": false, - "start_time": "2026-06-04T06:34:05.281784", + "start_time": "2026-10-21T01:09:01.602820+00:00", "status": "completed" }, "tags": [] @@ -429,16 +452,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-07-24T09:51:10.853772Z", - "iopub.status.busy": "2026-07-24T09:51:10.853581Z", - "iopub.status.idle": "2026-07-24T09:51:12.736115Z", - "shell.execute_reply": "2026-07-24T09:51:12.735935Z" + "iopub.execute_input": "2026-10-21T01:09:01.919017Z", + "iopub.status.busy": "2026-10-21T01:09:01.919017Z", + "iopub.status.idle": "2026-10-21T01:09:06.241023Z", + "shell.execute_reply": "2026-10-21T01:09:06.240443Z" }, "papermill": { - "duration": 2.605534, - "end_time": "2026-06-04T06:34:08.107683", + "duration": 4.415889, + "end_time": "2026-10-21T01:09:06.241023+00:00", "exception": false, - "start_time": "2026-06-04T06:34:05.502149", + "start_time": "2026-10-21T01:09:01.825134+00:00", "status": "completed" }, "polyglot_notebook": { @@ -483,6 +506,13 @@ "cell_type": "markdown", "id": "enrich13410-infer1b-c7", "metadata": { + "papermill": { + "duration": 0.095499, + "end_time": "2026-10-21T01:09:06.412478+00:00", + "exception": false, + "start_time": "2026-10-21T01:09:06.316979+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -512,10 +542,10 @@ "id": "7663bd1b", "metadata": { "papermill": { - "duration": 0.086308, - "end_time": "2026-06-04T06:34:08.297470", + "duration": 0.119006, + "end_time": "2026-10-21T01:09:06.631729+00:00", "exception": false, - "start_time": "2026-06-04T06:34:08.211162", + "start_time": "2026-10-21T01:09:06.512723+00:00", "status": "completed" }, "tags": [] @@ -533,10 +563,10 @@ "id": "ce6ceab1", "metadata": { "papermill": { - "duration": 0.077792, - "end_time": "2026-06-04T06:34:08.437416", + "duration": 0.093051, + "end_time": "2026-10-21T01:09:06.825972+00:00", "exception": false, - "start_time": "2026-06-04T06:34:08.359624", + "start_time": "2026-10-21T01:09:06.732921+00:00", "status": "completed" }, "tags": [] @@ -560,16 +590,16 @@ "id": "b2f446be", "metadata": { "execution": { - "iopub.execute_input": "2026-07-24T09:51:12.737397Z", - "iopub.status.busy": "2026-07-24T09:51:12.737222Z", - "iopub.status.idle": "2026-07-24T09:51:12.766213Z", - "shell.execute_reply": "2026-07-24T09:51:12.766038Z" + "iopub.execute_input": "2026-10-21T01:09:07.090674Z", + "iopub.status.busy": "2026-10-21T01:09:07.090674Z", + "iopub.status.idle": "2026-10-21T01:09:07.157970Z", + "shell.execute_reply": "2026-10-21T01:09:07.157458Z" }, "papermill": { - "duration": 0.110266, - "end_time": "2026-06-04T06:34:08.761526", + "duration": 0.236434, + "end_time": "2026-10-21T01:09:07.157970+00:00", "exception": false, - "start_time": "2026-06-04T06:34:08.651260", + "start_time": "2026-10-21T01:09:06.921536+00:00", "status": "completed" }, "tags": [] @@ -596,10 +626,10 @@ "id": "1b8e7852", "metadata": { "papermill": { - "duration": 0.074527, - "end_time": "2026-06-04T06:34:08.898298", + "duration": 0.123534, + "end_time": "2026-10-21T01:09:07.377391+00:00", "exception": false, - "start_time": "2026-06-04T06:34:08.823771", + "start_time": "2026-10-21T01:09:07.253857+00:00", "status": "completed" }, "tags": [] @@ -632,16 +662,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-07-24T09:51:12.767316Z", - "iopub.status.busy": "2026-07-24T09:51:12.767133Z", - "iopub.status.idle": "2026-07-24T09:51:12.821114Z", - "shell.execute_reply": "2026-07-24T09:51:12.820734Z" + "iopub.execute_input": "2026-10-21T01:09:07.602037Z", + "iopub.status.busy": "2026-10-21T01:09:07.602037Z", + "iopub.status.idle": "2026-10-21T01:09:07.703439Z", + "shell.execute_reply": "2026-10-21T01:09:07.703439Z" }, "papermill": { - "duration": 0.120568, - "end_time": "2026-06-04T06:34:09.139913", + "duration": 0.197386, + "end_time": "2026-10-21T01:09:07.703439+00:00", "exception": false, - "start_time": "2026-06-04T06:34:09.019345", + "start_time": "2026-10-21T01:09:07.506053+00:00", "status": "completed" }, "polyglot_notebook": { @@ -669,6 +699,13 @@ "cell_type": "markdown", "id": "enrich13410-infer1b-c12", "metadata": { + "papermill": { + "duration": 0.090431, + "end_time": "2026-10-21T01:09:07.876338+00:00", + "exception": false, + "start_time": "2026-10-21T01:09:07.785907+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -707,10 +744,10 @@ "id": "ec889cf9", "metadata": { "papermill": { - "duration": 0.070602, - "end_time": "2026-06-04T06:34:09.378991", + "duration": 0.070475, + "end_time": "2026-10-21T01:09:08.036984+00:00", "exception": false, - "start_time": "2026-06-04T06:34:09.308389", + "start_time": "2026-10-21T01:09:07.966509+00:00", "status": "completed" }, "tags": [] @@ -728,16 +765,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-07-24T09:51:12.823036Z", - "iopub.status.busy": "2026-07-24T09:51:12.822770Z", - "iopub.status.idle": "2026-07-24T09:51:12.871605Z", - "shell.execute_reply": "2026-07-24T09:51:12.871424Z" + "iopub.execute_input": "2026-10-21T01:09:08.221833Z", + "iopub.status.busy": "2026-10-21T01:09:08.220059Z", + "iopub.status.idle": "2026-10-21T01:09:08.300015Z", + "shell.execute_reply": "2026-10-21T01:09:08.300015Z" }, "papermill": { - "duration": 0.227827, - "end_time": "2026-06-04T06:34:09.670858", + "duration": 0.186599, + "end_time": "2026-10-21T01:09:08.300015+00:00", "exception": false, - "start_time": "2026-06-04T06:34:09.443031", + "start_time": "2026-10-21T01:09:08.113416+00:00", "status": "completed" }, "polyglot_notebook": { @@ -767,10 +804,10 @@ "id": "dd985bb1", "metadata": { "papermill": { - "duration": 0.226137, - "end_time": "2026-06-04T06:34:09.966163", + "duration": 0.070396, + "end_time": "2026-10-21T01:09:08.450984+00:00", "exception": false, - "start_time": "2026-06-04T06:34:09.740026", + "start_time": "2026-10-21T01:09:08.380588+00:00", "status": "completed" }, "tags": [] @@ -790,16 +827,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-07-24T09:51:12.873032Z", - "iopub.status.busy": "2026-07-24T09:51:12.872843Z", - "iopub.status.idle": "2026-07-24T09:51:12.905509Z", - "shell.execute_reply": "2026-07-24T09:51:12.905319Z" + "iopub.execute_input": "2026-10-21T01:09:08.613961Z", + "iopub.status.busy": "2026-10-21T01:09:08.613388Z", + "iopub.status.idle": "2026-10-21T01:09:08.672665Z", + "shell.execute_reply": "2026-10-21T01:09:08.672045Z" }, "papermill": { - "duration": 0.147775, - "end_time": "2026-06-04T06:34:10.178642", + "duration": 0.147024, + "end_time": "2026-10-21T01:09:08.672665+00:00", "exception": false, - "start_time": "2026-06-04T06:34:10.030867", + "start_time": "2026-10-21T01:09:08.525641+00:00", "status": "completed" }, "polyglot_notebook": { @@ -829,10 +866,10 @@ "id": "7748c10d", "metadata": { "papermill": { - "duration": 0.075613, - "end_time": "2026-06-04T06:34:10.458216", + "duration": 0.060733, + "end_time": "2026-10-21T01:09:08.806346+00:00", "exception": false, - "start_time": "2026-06-04T06:34:10.382603", + "start_time": "2026-10-21T01:09:08.745613+00:00", "status": "completed" }, "tags": [] @@ -850,16 +887,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-07-24T09:51:12.906941Z", - "iopub.status.busy": "2026-07-24T09:51:12.906758Z", - "iopub.status.idle": "2026-07-24T09:51:13.494831Z", - "shell.execute_reply": "2026-07-24T09:51:13.493264Z" + "iopub.execute_input": "2026-10-21T01:09:09.008460Z", + "iopub.status.busy": "2026-10-21T01:09:09.008460Z", + "iopub.status.idle": "2026-10-21T01:09:10.090085Z", + "shell.execute_reply": "2026-10-21T01:09:10.078624Z" }, "papermill": { - "duration": 1.678054, - "end_time": "2026-06-04T06:34:12.226108", + "duration": 1.173239, + "end_time": "2026-10-21T01:09:10.090085+00:00", "exception": false, - "start_time": "2026-06-04T06:34:10.548054", + "start_time": "2026-10-21T01:09:08.916846+00:00", "status": "completed" }, "polyglot_notebook": { @@ -1276,6 +1313,13 @@ "cell_type": "markdown", "id": "enrich13410-infer1b-c18", "metadata": { + "papermill": { + "duration": 0.11062, + "end_time": "2026-10-21T01:09:10.311991+00:00", + "exception": false, + "start_time": "2026-10-21T01:09:10.201371+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -1306,10 +1350,10 @@ "id": "d9afb302", "metadata": { "papermill": { - "duration": 0.151726, - "end_time": "2026-06-04T06:34:12.492535", + "duration": 0.145663, + "end_time": "2026-10-21T01:09:10.589520+00:00", "exception": false, - "start_time": "2026-06-04T06:34:12.340809", + "start_time": "2026-10-21T01:09:10.443857+00:00", "status": "completed" }, "tags": [] @@ -1332,10 +1376,10 @@ "id": "4541fdfe", "metadata": { "papermill": { - "duration": 0.112383, - "end_time": "2026-06-04T06:34:12.707955", + "duration": 0.114105, + "end_time": "2026-10-21T01:09:10.834738+00:00", "exception": false, - "start_time": "2026-06-04T06:34:12.595572", + "start_time": "2026-10-21T01:09:10.720633+00:00", "status": "completed" }, "tags": [] @@ -1355,16 +1399,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-07-24T09:51:13.496383Z", - "iopub.status.busy": "2026-07-24T09:51:13.496178Z", - "iopub.status.idle": "2026-07-24T09:51:13.900558Z", - "shell.execute_reply": "2026-07-24T09:51:13.894326Z" + "iopub.execute_input": "2026-10-21T01:09:11.049934Z", + "iopub.status.busy": "2026-10-21T01:09:11.049934Z", + "iopub.status.idle": "2026-10-21T01:09:11.696547Z", + "shell.execute_reply": "2026-10-21T01:09:11.682536Z" }, "papermill": { - "duration": 1.036832, - "end_time": "2026-06-04T06:34:13.848105", + "duration": 0.75714, + "end_time": "2026-10-21T01:09:11.696547+00:00", "exception": false, - "start_time": "2026-06-04T06:34:12.811273", + "start_time": "2026-10-21T01:09:10.939407+00:00", "status": "completed" }, "polyglot_notebook": { @@ -1771,6 +1815,13 @@ "cell_type": "markdown", "id": "enrich13410-infer1b-c21", "metadata": { + "papermill": { + "duration": 0.145859, + "end_time": "2026-10-21T01:09:12.007991+00:00", + "exception": false, + "start_time": "2026-10-21T01:09:11.862132+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -1804,10 +1855,10 @@ "id": "05fd9ec1", "metadata": { "papermill": { - "duration": 0.130307, - "end_time": "2026-06-04T06:34:14.340453", + "duration": 0.145595, + "end_time": "2026-10-21T01:09:12.295619+00:00", "exception": false, - "start_time": "2026-06-04T06:34:14.210146", + "start_time": "2026-10-21T01:09:12.150024+00:00", "status": "completed" }, "tags": [] @@ -1823,8 +1874,7 @@ "| Bruit du trajet (`E[1/bruit]`, bruit etant la précision `Gamma(2.24, 0.24)`) | ~ 3.29 min^2 |\n", "| Variance totale predictive | 1.32 + 3.29 ~ 4.61 min^2 -> écart type 2.15 min |\n", "\n", - "L'incertitude totale combine l'incertitude sur les paramètres ET le bruit inherent du trajet. Même si on connaissait exactement la moyenne réelle, les trajets varieraient toujours autour d'elle.\n", - "" + "L'incertitude totale combine l'incertitude sur les paramètres ET le bruit inherent du trajet. Même si on connaissait exactement la moyenne réelle, les trajets varieraient toujours autour d'elle.\n" ] }, { @@ -1832,10 +1882,10 @@ "id": "d22f0369", "metadata": { "papermill": { - "duration": 0.134563, - "end_time": "2026-06-04T06:34:14.581226", + "duration": 0.304192, + "end_time": "2026-10-21T01:09:12.792367+00:00", "exception": false, - "start_time": "2026-06-04T06:34:14.446663", + "start_time": "2026-10-21T01:09:12.488175+00:00", "status": "completed" }, "tags": [] @@ -1855,16 +1905,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-07-24T09:51:13.902688Z", - "iopub.status.busy": "2026-07-24T09:51:13.902493Z", - "iopub.status.idle": "2026-07-24T09:51:14.342642Z", - "shell.execute_reply": "2026-07-24T09:51:14.335896Z" + "iopub.execute_input": "2026-10-21T01:09:13.167567Z", + "iopub.status.busy": "2026-10-21T01:09:13.167567Z", + "iopub.status.idle": "2026-10-21T01:09:13.769876Z", + "shell.execute_reply": "2026-10-21T01:09:13.754995Z" }, "papermill": { - "duration": 0.511932, - "end_time": "2026-06-04T06:34:15.248415", + "duration": 0.766467, + "end_time": "2026-10-21T01:09:13.770418+00:00", "exception": false, - "start_time": "2026-06-04T06:34:14.736483", + "start_time": "2026-10-21T01:09:13.003951+00:00", "status": "completed" }, "polyglot_notebook": { @@ -2269,6 +2319,13 @@ "cell_type": "markdown", "id": "enrich13410-infer1b-c24", "metadata": { + "papermill": { + "duration": 0.175624, + "end_time": "2026-10-21T01:09:14.143432+00:00", + "exception": false, + "start_time": "2026-10-21T01:09:13.967808+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -2302,10 +2359,10 @@ "id": "4d61ff8c", "metadata": { "papermill": { - "duration": 0.147844, - "end_time": "2026-06-04T06:34:15.553464", + "duration": 0.180941, + "end_time": "2026-10-21T01:09:14.507431+00:00", "exception": false, - "start_time": "2026-06-04T06:34:15.405620", + "start_time": "2026-10-21T01:09:14.326490+00:00", "status": "completed" }, "tags": [] @@ -2321,10 +2378,10 @@ "id": "fb706f51", "metadata": { "papermill": { - "duration": 0.163791, - "end_time": "2026-06-04T06:34:15.891615", + "duration": 0.173491, + "end_time": "2026-10-21T01:09:14.836545+00:00", "exception": false, - "start_time": "2026-06-04T06:34:15.727824", + "start_time": "2026-10-21T01:09:14.663054+00:00", "status": "completed" }, "tags": [] @@ -2354,16 +2411,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-07-24T09:51:14.344308Z", - "iopub.status.busy": "2026-07-24T09:51:14.344070Z", - "iopub.status.idle": "2026-07-24T09:51:14.410053Z", - "shell.execute_reply": "2026-07-24T09:51:14.409825Z" + "iopub.execute_input": "2026-10-21T01:09:15.165939Z", + "iopub.status.busy": "2026-10-21T01:09:15.164918Z", + "iopub.status.idle": "2026-10-21T01:09:15.259688Z", + "shell.execute_reply": "2026-10-21T01:09:15.259123Z" }, "papermill": { - "duration": 0.201305, - "end_time": "2026-06-04T06:34:16.227293", + "duration": 0.267584, + "end_time": "2026-10-21T01:09:15.259688+00:00", "exception": false, - "start_time": "2026-06-04T06:34:16.025988", + "start_time": "2026-10-21T01:09:14.992104+00:00", "status": "completed" }, "polyglot_notebook": { @@ -2431,6 +2488,13 @@ "cell_type": "markdown", "id": "enrich13410-infer1b-c27", "metadata": { + "papermill": { + "duration": 0.22163, + "end_time": "2026-10-21T01:09:15.635917+00:00", + "exception": false, + "start_time": "2026-10-21T01:09:15.414287+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -2466,10 +2530,10 @@ "id": "836e6a01", "metadata": { "papermill": { - "duration": 0.137546, - "end_time": "2026-06-04T06:34:16.618397", + "duration": 0.159537, + "end_time": "2026-10-21T01:09:15.986275+00:00", "exception": false, - "start_time": "2026-06-04T06:34:16.480851", + "start_time": "2026-10-21T01:09:15.826738+00:00", "status": "completed" }, "tags": [] @@ -2489,16 +2553,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-07-24T09:51:14.411510Z", - "iopub.status.busy": "2026-07-24T09:51:14.411266Z", - "iopub.status.idle": "2026-07-24T09:51:14.482066Z", - "shell.execute_reply": "2026-07-24T09:51:14.481843Z" + "iopub.execute_input": "2026-10-21T01:09:16.368876Z", + "iopub.status.busy": "2026-10-21T01:09:16.368328Z", + "iopub.status.idle": "2026-10-21T01:09:16.484530Z", + "shell.execute_reply": "2026-10-21T01:09:16.483979Z" }, "papermill": { - "duration": 0.254502, - "end_time": "2026-06-04T06:34:17.003657", + "duration": 0.302951, + "end_time": "2026-10-21T01:09:16.484530+00:00", "exception": false, - "start_time": "2026-06-04T06:34:16.749155", + "start_time": "2026-10-21T01:09:16.181579+00:00", "status": "completed" }, "polyglot_notebook": { @@ -2551,10 +2615,10 @@ "id": "09a52ead", "metadata": { "papermill": { - "duration": 0.148278, - "end_time": "2026-06-04T06:34:17.327426", + "duration": 0.218911, + "end_time": "2026-10-21T01:09:16.865652+00:00", "exception": false, - "start_time": "2026-06-04T06:34:17.179148", + "start_time": "2026-10-21T01:09:16.646741+00:00", "status": "completed" }, "tags": [] @@ -2574,16 +2638,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-07-24T09:51:14.483479Z", - "iopub.status.busy": "2026-07-24T09:51:14.483226Z", - "iopub.status.idle": "2026-07-24T09:51:14.519733Z", - "shell.execute_reply": "2026-07-24T09:51:14.519470Z" + "iopub.execute_input": "2026-10-21T01:09:17.303841Z", + "iopub.status.busy": "2026-10-21T01:09:17.303292Z", + "iopub.status.idle": "2026-10-21T01:09:17.358408Z", + "shell.execute_reply": "2026-10-21T01:09:17.358408Z" }, "papermill": { - "duration": 0.181117, - "end_time": "2026-06-04T06:34:17.652024", + "duration": 0.257901, + "end_time": "2026-10-21T01:09:17.358408+00:00", "exception": false, - "start_time": "2026-06-04T06:34:17.470907", + "start_time": "2026-10-21T01:09:17.100507+00:00", "status": "completed" }, "polyglot_notebook": { @@ -2631,10 +2695,10 @@ "id": "25dee6ff", "metadata": { "papermill": { - "duration": 0.155008, - "end_time": "2026-06-04T06:34:17.946542", + "duration": 0.190242, + "end_time": "2026-10-21T01:09:17.740544+00:00", "exception": false, - "start_time": "2026-06-04T06:34:17.791534", + "start_time": "2026-10-21T01:09:17.550302+00:00", "status": "completed" }, "tags": [] @@ -2656,16 +2720,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-07-24T09:51:14.521261Z", - "iopub.status.busy": "2026-07-24T09:51:14.520901Z", - "iopub.status.idle": "2026-07-24T09:51:14.992295Z", - "shell.execute_reply": "2026-07-24T09:51:14.992031Z" + "iopub.execute_input": "2026-10-21T01:09:18.104356Z", + "iopub.status.busy": "2026-10-21T01:09:18.103802Z", + "iopub.status.idle": "2026-10-21T01:09:18.734476Z", + "shell.execute_reply": "2026-10-21T01:09:18.734476Z" }, "papermill": { - "duration": 0.758024, - "end_time": "2026-06-04T06:34:18.850689", + "duration": 0.798015, + "end_time": "2026-10-21T01:09:18.735117+00:00", "exception": false, - "start_time": "2026-06-04T06:34:18.092665", + "start_time": "2026-10-21T01:09:17.937102+00:00", "status": "completed" }, "polyglot_notebook": { @@ -3086,6 +3150,13 @@ "cell_type": "markdown", "id": "enrich13410-infer1b-c33", "metadata": { + "papermill": { + "duration": 0.211231, + "end_time": "2026-10-21T01:09:19.148737+00:00", + "exception": false, + "start_time": "2026-10-21T01:09:18.937506+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -3128,10 +3199,10 @@ "id": "927bd125", "metadata": { "papermill": { - "duration": 0.185257, - "end_time": "2026-06-04T06:34:19.249664", + "duration": 0.205407, + "end_time": "2026-10-21T01:09:19.557123+00:00", "exception": false, - "start_time": "2026-06-04T06:34:19.064407", + "start_time": "2026-10-21T01:09:19.351716+00:00", "status": "completed" }, "tags": [] @@ -3154,10 +3225,10 @@ "id": "7a161e53", "metadata": { "papermill": { - "duration": 0.173281, - "end_time": "2026-06-04T06:34:19.594090", + "duration": 0.278399, + "end_time": "2026-10-21T01:09:20.146938+00:00", "exception": false, - "start_time": "2026-06-04T06:34:19.420809", + "start_time": "2026-10-21T01:09:19.868539+00:00", "status": "completed" }, "tags": [] @@ -3175,16 +3246,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-07-24T09:51:14.993828Z", - "iopub.status.busy": "2026-07-24T09:51:14.993612Z", - "iopub.status.idle": "2026-07-24T09:51:15.492864Z", - "shell.execute_reply": "2026-07-24T09:51:15.492697Z" + "iopub.execute_input": "2026-10-21T01:09:20.640862Z", + "iopub.status.busy": "2026-10-21T01:09:20.640065Z", + "iopub.status.idle": "2026-10-21T01:09:21.296277Z", + "shell.execute_reply": "2026-10-21T01:09:21.293197Z" }, "papermill": { - "duration": 0.577257, - "end_time": "2026-06-04T06:34:20.344576", + "duration": 0.926984, + "end_time": "2026-10-21T01:09:21.296277+00:00", "exception": false, - "start_time": "2026-06-04T06:34:19.767319", + "start_time": "2026-10-21T01:09:20.369293+00:00", "status": "completed" }, "polyglot_notebook": { @@ -3251,6 +3322,13 @@ "cell_type": "markdown", "id": "enrich13410-infer1b-c36", "metadata": { + "papermill": { + "duration": 0.250171, + "end_time": "2026-10-21T01:09:21.795199+00:00", + "exception": false, + "start_time": "2026-10-21T01:09:21.545028+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -3294,10 +3372,10 @@ "id": "6ddde0fd", "metadata": { "papermill": { - "duration": 0.163244, - "end_time": "2026-06-04T06:34:20.691633", + "duration": 0.344576, + "end_time": "2026-10-21T01:09:22.386298+00:00", "exception": false, - "start_time": "2026-06-04T06:34:20.528389", + "start_time": "2026-10-21T01:09:22.041722+00:00", "status": "completed" }, "tags": [] @@ -3321,10 +3399,10 @@ "id": "5fd4e41d", "metadata": { "papermill": { - "duration": 0.173621, - "end_time": "2026-06-04T06:34:21.031424", + "duration": 0.233449, + "end_time": "2026-10-21T01:09:22.847213+00:00", "exception": false, - "start_time": "2026-06-04T06:34:20.857803", + "start_time": "2026-10-21T01:09:22.613764+00:00", "status": "completed" }, "tags": [] @@ -3338,10 +3416,10 @@ "id": "d7ef9435", "metadata": { "papermill": { - "duration": 0.192095, - "end_time": "2026-06-04T06:34:21.386781", + "duration": 0.212106, + "end_time": "2026-10-21T01:09:23.257871+00:00", "exception": false, - "start_time": "2026-06-04T06:34:21.194686", + "start_time": "2026-10-21T01:09:23.045765+00:00", "status": "completed" }, "tags": [] @@ -3367,16 +3445,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-07-24T09:51:15.494161Z", - "iopub.status.busy": "2026-07-24T09:51:15.493974Z", - "iopub.status.idle": "2026-07-24T09:51:15.543973Z", - "shell.execute_reply": "2026-07-24T09:51:15.541386Z" + "iopub.execute_input": "2026-10-21T01:09:23.723837Z", + "iopub.status.busy": "2026-10-21T01:09:23.723837Z", + "iopub.status.idle": "2026-10-21T01:09:23.807446Z", + "shell.execute_reply": "2026-10-21T01:09:23.807446Z" }, "papermill": { - "duration": 0.235074, - "end_time": "2026-06-04T06:34:21.802155", + "duration": 0.348099, + "end_time": "2026-10-21T01:09:23.807446+00:00", "exception": false, - "start_time": "2026-06-04T06:34:21.567081", + "start_time": "2026-10-21T01:09:23.459347+00:00", "status": "completed" }, "polyglot_notebook": { @@ -3776,6 +3854,13 @@ "cell_type": "markdown", "id": "enrich13410-infer1b-c40", "metadata": { + "papermill": { + "duration": 0.263447, + "end_time": "2026-10-21T01:09:24.363076+00:00", + "exception": false, + "start_time": "2026-10-21T01:09:24.099629+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -3812,10 +3897,10 @@ "id": "d3ccacb3", "metadata": { "papermill": { - "duration": 0.201166, - "end_time": "2026-06-04T06:34:22.199641", + "duration": 0.278848, + "end_time": "2026-10-21T01:09:24.965257+00:00", "exception": false, - "start_time": "2026-06-04T06:34:21.998475", + "start_time": "2026-10-21T01:09:24.686409+00:00", "status": "completed" }, "tags": [] @@ -3838,10 +3923,10 @@ "id": "fd334f44", "metadata": { "papermill": { - "duration": 0.196897, - "end_time": "2026-06-04T06:34:22.622503", + "duration": 0.240154, + "end_time": "2026-10-21T01:09:25.526939+00:00", "exception": false, - "start_time": "2026-06-04T06:34:22.425606", + "start_time": "2026-10-21T01:09:25.286785+00:00", "status": "completed" }, "tags": [] @@ -3863,16 +3948,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-07-24T09:51:15.545545Z", - "iopub.status.busy": "2026-07-24T09:51:15.545286Z", - "iopub.status.idle": "2026-07-24T09:51:15.883239Z", - "shell.execute_reply": "2026-07-24T09:51:15.883015Z" + "iopub.execute_input": "2026-10-21T01:09:26.027575Z", + "iopub.status.busy": "2026-10-21T01:09:26.026549Z", + "iopub.status.idle": "2026-10-21T01:09:26.329032Z", + "shell.execute_reply": "2026-10-21T01:09:26.327990Z" }, "papermill": { - "duration": 0.39305, - "end_time": "2026-06-04T06:34:23.199412", + "duration": 0.529474, + "end_time": "2026-10-21T01:09:26.329032+00:00", "exception": false, - "start_time": "2026-06-04T06:34:22.806362", + "start_time": "2026-10-21T01:09:25.799558+00:00", "status": "completed" }, "polyglot_notebook": { @@ -3930,6 +4015,13 @@ "cell_type": "markdown", "id": "enrich13410-infer1b-c43", "metadata": { + "papermill": { + "duration": 0.284013, + "end_time": "2026-10-21T01:09:26.823368+00:00", + "exception": false, + "start_time": "2026-10-21T01:09:26.539355+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -3966,10 +4058,10 @@ "id": "64c7fa40", "metadata": { "papermill": { - "duration": 0.222402, - "end_time": "2026-06-04T06:34:23.704124", + "duration": 0.2169, + "end_time": "2026-10-21T01:09:27.345333+00:00", "exception": false, - "start_time": "2026-06-04T06:34:23.481722", + "start_time": "2026-10-21T01:09:27.128433+00:00", "status": "completed" }, "tags": [] @@ -3993,10 +4085,10 @@ "id": "20e352a4", "metadata": { "papermill": { - "duration": 0.206303, - "end_time": "2026-06-04T06:34:24.101635", + "duration": 0.280392, + "end_time": "2026-10-21T01:09:27.915393+00:00", "exception": false, - "start_time": "2026-06-04T06:34:23.895332", + "start_time": "2026-10-21T01:09:27.635001+00:00", "status": "completed" }, "tags": [] @@ -4022,16 +4114,16 @@ "id": "880b91b6", "metadata": { "execution": { - "iopub.execute_input": "2026-07-24T09:51:15.885214Z", - "iopub.status.busy": "2026-07-24T09:51:15.884934Z", - "iopub.status.idle": "2026-07-24T09:51:15.920813Z", - "shell.execute_reply": "2026-07-24T09:51:15.920566Z" + "iopub.execute_input": "2026-10-21T01:09:28.477722Z", + "iopub.status.busy": "2026-10-21T01:09:28.477722Z", + "iopub.status.idle": "2026-10-21T01:09:28.522930Z", + "shell.execute_reply": "2026-10-21T01:09:28.522930Z" }, "papermill": { - "duration": 0.246085, - "end_time": "2026-06-04T06:34:24.543387", + "duration": 0.342838, + "end_time": "2026-10-21T01:09:28.524975+00:00", "exception": false, - "start_time": "2026-06-04T06:34:24.297302", + "start_time": "2026-10-21T01:09:28.182137+00:00", "status": "completed" }, "tags": [] @@ -4062,10 +4154,10 @@ "id": "a2bd7ba0", "metadata": { "papermill": { - "duration": 0.194696, - "end_time": "2026-06-04T06:34:24.984488", + "duration": 0.270292, + "end_time": "2026-10-21T01:09:29.100608+00:00", "exception": false, - "start_time": "2026-06-04T06:34:24.789792", + "start_time": "2026-10-21T01:09:28.830316+00:00", "status": "completed" }, "tags": [] @@ -4087,16 +4179,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-07-24T09:51:15.922353Z", - "iopub.status.busy": "2026-07-24T09:51:15.922012Z", - "iopub.status.idle": "2026-07-24T09:51:15.998878Z", - "shell.execute_reply": "2026-07-24T09:51:15.998609Z" + "iopub.execute_input": "2026-10-21T01:09:29.544501Z", + "iopub.status.busy": "2026-10-21T01:09:29.544501Z", + "iopub.status.idle": "2026-10-21T01:09:29.647210Z", + "shell.execute_reply": "2026-10-21T01:09:29.646660Z" }, "papermill": { - "duration": 0.260387, - "end_time": "2026-06-04T06:34:25.447568", + "duration": 0.325171, + "end_time": "2026-10-21T01:09:29.647210+00:00", "exception": false, - "start_time": "2026-06-04T06:34:25.187181", + "start_time": "2026-10-21T01:09:29.322039+00:00", "status": "completed" }, "polyglot_notebook": { @@ -4104,22 +4196,9 @@ }, "tags": [] }, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "\r\n", - "(5,26): warning CS0649: Le champ 'DonneesCyclisteMixte.DistribMixe' n'est jamais assigné et aura toujours sa valeur par défaut null\r\n", - "\r\n", - "(4,24): warning CS0649: Le champ 'DonneesCyclisteMixte.DistribBruitTraffic' n'est jamais assigné et aura toujours sa valeur par défaut null\r\n", - "\r\n", - "(3,27): warning CS0649: Le champ 'DonneesCyclisteMixte.DistribMoyenne' n'est jamais assigné et aura toujours sa valeur par défaut null\r\n", - "\r\n" - ] - } - ], + "outputs": [], "source": [ + "#pragma warning disable CS0649 // champs assignes dans les cellules suivantes (63/67/81) : artefact de compilation par cellule\n", "public struct DonneesCyclisteMixte\n", " {\n", " public Gaussian[] DistribMoyenne;\n", @@ -4172,6 +4251,13 @@ "cell_type": "markdown", "id": "enrich13410-infer1b-c48", "metadata": { + "papermill": { + "duration": 0.188407, + "end_time": "2026-10-21T01:09:30.062059+00:00", + "exception": false, + "start_time": "2026-10-21T01:09:29.873652+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -4208,10 +4294,10 @@ "id": "da92c45b", "metadata": { "papermill": { - "duration": 0.199338, - "end_time": "2026-06-04T06:34:25.884233", + "duration": 0.209915, + "end_time": "2026-10-21T01:09:30.454412+00:00", "exception": false, - "start_time": "2026-06-04T06:34:25.684895", + "start_time": "2026-10-21T01:09:30.244497+00:00", "status": "completed" }, "tags": [] @@ -4229,16 +4315,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-07-24T09:51:16.000302Z", - "iopub.status.busy": "2026-07-24T09:51:15.999999Z", - "iopub.status.idle": "2026-07-24T09:51:16.039627Z", - "shell.execute_reply": "2026-07-24T09:51:16.039247Z" + "iopub.execute_input": "2026-10-21T01:09:30.914733Z", + "iopub.status.busy": "2026-10-21T01:09:30.914013Z", + "iopub.status.idle": "2026-10-21T01:09:30.973201Z", + "shell.execute_reply": "2026-10-21T01:09:30.972646Z" }, "papermill": { - "duration": 0.330089, - "end_time": "2026-06-04T06:34:26.412482", + "duration": 0.277255, + "end_time": "2026-10-21T01:09:30.973201+00:00", "exception": false, - "start_time": "2026-06-04T06:34:26.082393", + "start_time": "2026-10-21T01:09:30.695946+00:00", "status": "completed" }, "polyglot_notebook": { @@ -4298,10 +4384,10 @@ "id": "722f1566", "metadata": { "papermill": { - "duration": 0.191015, - "end_time": "2026-06-04T06:34:26.859861", + "duration": 0.222734, + "end_time": "2026-10-21T01:09:31.396913+00:00", "exception": false, - "start_time": "2026-06-04T06:34:26.668846", + "start_time": "2026-10-21T01:09:31.174179+00:00", "status": "completed" }, "tags": [] @@ -4319,16 +4405,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-07-24T09:51:16.041059Z", - "iopub.status.busy": "2026-07-24T09:51:16.040867Z", - "iopub.status.idle": "2026-07-24T09:51:16.076890Z", - "shell.execute_reply": "2026-07-24T09:51:16.076573Z" + "iopub.execute_input": "2026-10-21T01:09:31.836030Z", + "iopub.status.busy": "2026-10-21T01:09:31.835465Z", + "iopub.status.idle": "2026-10-21T01:09:31.892866Z", + "shell.execute_reply": "2026-10-21T01:09:31.892331Z" }, "papermill": { - "duration": 0.386423, - "end_time": "2026-06-04T06:34:27.447823", + "duration": 0.27824, + "end_time": "2026-10-21T01:09:31.893450+00:00", "exception": false, - "start_time": "2026-06-04T06:34:27.061400", + "start_time": "2026-10-21T01:09:31.615210+00:00", "status": "completed" }, "polyglot_notebook": { @@ -4376,10 +4462,10 @@ "id": "cb1546f9", "metadata": { "papermill": { - "duration": 0.255112, - "end_time": "2026-06-04T06:34:27.969526", + "duration": 0.25262, + "end_time": "2026-10-21T01:09:32.420494+00:00", "exception": false, - "start_time": "2026-06-04T06:34:27.714414", + "start_time": "2026-10-21T01:09:32.167874+00:00", "status": "completed" }, "tags": [] @@ -4399,16 +4485,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-07-24T09:51:16.078056Z", - "iopub.status.busy": "2026-07-24T09:51:16.077864Z", - "iopub.status.idle": "2026-07-24T09:51:16.826733Z", - "shell.execute_reply": "2026-07-24T09:51:16.818953Z" + "iopub.execute_input": "2026-10-21T01:09:32.857677Z", + "iopub.status.busy": "2026-10-21T01:09:32.855635Z", + "iopub.status.idle": "2026-10-21T01:09:33.682679Z", + "shell.execute_reply": "2026-10-21T01:09:33.667309Z" }, "papermill": { - "duration": 0.876354, - "end_time": "2026-06-04T06:34:29.049951", + "duration": 1.071685, + "end_time": "2026-10-21T01:09:33.682679+00:00", "exception": false, - "start_time": "2026-06-04T06:34:28.173597", + "start_time": "2026-10-21T01:09:32.610994+00:00", "status": "completed" }, "polyglot_notebook": { @@ -4862,6 +4948,13 @@ "cell_type": "markdown", "id": "enrich13410-infer1b-c54", "metadata": { + "papermill": { + "duration": 0.218875, + "end_time": "2026-10-21T01:09:34.170515+00:00", + "exception": false, + "start_time": "2026-10-21T01:09:33.951640+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -4903,10 +4996,10 @@ "id": "035cc967", "metadata": { "papermill": { - "duration": 0.221745, - "end_time": "2026-06-04T06:34:29.493683", + "duration": 0.313358, + "end_time": "2026-10-21T01:09:34.702120+00:00", "exception": false, - "start_time": "2026-06-04T06:34:29.271938", + "start_time": "2026-10-21T01:09:34.388762+00:00", "status": "completed" }, "tags": [] @@ -4929,10 +5022,10 @@ "id": "253e033d", "metadata": { "papermill": { - "duration": 0.259572, - "end_time": "2026-06-04T06:34:29.986557", + "duration": 0.279641, + "end_time": "2026-10-21T01:09:35.286726+00:00", "exception": false, - "start_time": "2026-06-04T06:34:29.726985", + "start_time": "2026-10-21T01:09:35.007085+00:00", "status": "completed" }, "tags": [] @@ -4950,16 +5043,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-07-24T09:51:16.828691Z", - "iopub.status.busy": "2026-07-24T09:51:16.828461Z", - "iopub.status.idle": "2026-07-24T09:51:17.546448Z", - "shell.execute_reply": "2026-07-24T09:51:17.534714Z" + "iopub.execute_input": "2026-10-21T01:09:35.871601Z", + "iopub.status.busy": "2026-10-21T01:09:35.871093Z", + "iopub.status.idle": "2026-10-21T01:09:36.336013Z", + "shell.execute_reply": "2026-10-21T01:09:36.318383Z" }, "papermill": { - "duration": 0.695772, - "end_time": "2026-06-04T06:34:30.940956", + "duration": 0.741006, + "end_time": "2026-10-21T01:09:36.336013+00:00", "exception": false, - "start_time": "2026-06-04T06:34:30.245184", + "start_time": "2026-10-21T01:09:35.595007+00:00", "status": "completed" }, "polyglot_notebook": { @@ -5375,6 +5468,13 @@ "cell_type": "markdown", "id": "enrich13410-infer1b-c57", "metadata": { + "papermill": { + "duration": 0.247635, + "end_time": "2026-10-21T01:09:36.837231+00:00", + "exception": false, + "start_time": "2026-10-21T01:09:36.589596+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -5409,10 +5509,10 @@ "id": "8feac2eb", "metadata": { "papermill": { - "duration": 0.237104, - "end_time": "2026-06-04T06:34:31.456341", + "duration": 0.331698, + "end_time": "2026-10-21T01:09:37.448240+00:00", "exception": false, - "start_time": "2026-06-04T06:34:31.219237", + "start_time": "2026-10-21T01:09:37.116542+00:00", "status": "completed" }, "tags": [] @@ -5428,10 +5528,10 @@ "id": "70b1d013", "metadata": { "papermill": { - "duration": 0.24009, - "end_time": "2026-06-04T06:34:31.966923", + "duration": 0.29725, + "end_time": "2026-10-21T01:09:38.063203+00:00", "exception": false, - "start_time": "2026-06-04T06:34:31.726833", + "start_time": "2026-10-21T01:09:37.765953+00:00", "status": "completed" }, "tags": [] @@ -5461,16 +5561,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-07-24T09:51:17.548139Z", - "iopub.status.busy": "2026-07-24T09:51:17.547896Z", - "iopub.status.idle": "2026-07-24T09:51:17.598248Z", - "shell.execute_reply": "2026-07-24T09:51:17.598013Z" + "iopub.execute_input": "2026-10-21T01:09:38.644039Z", + "iopub.status.busy": "2026-10-21T01:09:38.644039Z", + "iopub.status.idle": "2026-10-21T01:09:38.721222Z", + "shell.execute_reply": "2026-10-21T01:09:38.720680Z" }, "papermill": { - "duration": 0.325363, - "end_time": "2026-06-04T06:34:32.620451", + "duration": 0.387161, + "end_time": "2026-10-21T01:09:38.721222+00:00", "exception": false, - "start_time": "2026-06-04T06:34:32.295088", + "start_time": "2026-10-21T01:09:38.334061+00:00", "status": "completed" }, "polyglot_notebook": { @@ -5504,10 +5604,10 @@ "id": "9dca03c5", "metadata": { "papermill": { - "duration": 0.281374, - "end_time": "2026-06-04T06:34:33.228438", + "duration": 0.26383, + "end_time": "2026-10-21T01:09:39.284065+00:00", "exception": false, - "start_time": "2026-06-04T06:34:32.947064", + "start_time": "2026-10-21T01:09:39.020235+00:00", "status": "completed" }, "tags": [] @@ -5540,16 +5640,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-07-24T09:51:17.599660Z", - "iopub.status.busy": "2026-07-24T09:51:17.599437Z", - "iopub.status.idle": "2026-07-24T09:51:17.640270Z", - "shell.execute_reply": "2026-07-24T09:51:17.640068Z" + "iopub.execute_input": "2026-10-21T01:09:39.859160Z", + "iopub.status.busy": "2026-10-21T01:09:39.859160Z", + "iopub.status.idle": "2026-10-21T01:09:39.906201Z", + "shell.execute_reply": "2026-10-21T01:09:39.905560Z" }, "papermill": { - "duration": 0.427062, - "end_time": "2026-06-04T06:34:34.164516", + "duration": 0.31683, + "end_time": "2026-10-21T01:09:39.906201+00:00", "exception": false, - "start_time": "2026-06-04T06:34:33.737454", + "start_time": "2026-10-21T01:09:39.589371+00:00", "status": "completed" }, "polyglot_notebook": { @@ -5596,10 +5696,10 @@ "id": "111a390a", "metadata": { "papermill": { - "duration": 0.296904, - "end_time": "2026-06-04T06:34:34.751758", + "duration": 0.281747, + "end_time": "2026-10-21T01:09:40.442283+00:00", "exception": false, - "start_time": "2026-06-04T06:34:34.454854", + "start_time": "2026-10-21T01:09:40.160536+00:00", "status": "completed" }, "tags": [] @@ -5619,16 +5719,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-07-24T09:51:17.641803Z", - "iopub.status.busy": "2026-07-24T09:51:17.641563Z", - "iopub.status.idle": "2026-07-24T09:51:17.682214Z", - "shell.execute_reply": "2026-07-24T09:51:17.681746Z" + "iopub.execute_input": "2026-10-21T01:09:40.954242Z", + "iopub.status.busy": "2026-10-21T01:09:40.953709Z", + "iopub.status.idle": "2026-10-21T01:09:40.996637Z", + "shell.execute_reply": "2026-10-21T01:09:40.996079Z" }, "papermill": { - "duration": 0.306873, - "end_time": "2026-06-04T06:34:35.298483", + "duration": 0.267419, + "end_time": "2026-10-21T01:09:40.996637+00:00", "exception": false, - "start_time": "2026-06-04T06:34:34.991610", + "start_time": "2026-10-21T01:09:40.729218+00:00", "status": "completed" }, "polyglot_notebook": { @@ -5675,10 +5775,10 @@ "id": "03af834d", "metadata": { "papermill": { - "duration": 0.395309, - "end_time": "2026-06-04T06:34:35.932591", + "duration": 0.297831, + "end_time": "2026-10-21T01:09:41.560017+00:00", "exception": false, - "start_time": "2026-06-04T06:34:35.537282", + "start_time": "2026-10-21T01:09:41.262186+00:00", "status": "completed" }, "tags": [] @@ -5698,16 +5798,16 @@ "language": "csharp" }, "execution": { - "iopub.execute_input": "2026-07-24T09:51:17.683995Z", - "iopub.status.busy": "2026-07-24T09:51:17.683701Z", - "iopub.status.idle": "2026-07-24T09:51:19.213475Z", - "shell.execute_reply": "2026-07-24T09:51:19.210007Z" + "iopub.execute_input": "2026-10-21T01:09:42.173322Z", + "iopub.status.busy": "2026-10-21T01:09:42.172782Z", + "iopub.status.idle": "2026-10-21T01:09:43.218285Z", + "shell.execute_reply": "2026-10-21T01:09:43.197675Z" }, "papermill": { - "duration": 1.239184, - "end_time": "2026-06-04T06:34:37.588172", + "duration": 1.296788, + "end_time": "2026-10-21T01:09:43.218833+00:00", "exception": false, - "start_time": "2026-06-04T06:34:36.348988", + "start_time": "2026-10-21T01:09:41.922045+00:00", "status": "completed" }, "polyglot_notebook": { @@ -6518,6 +6618,13 @@ "cell_type": "markdown", "id": "enrich13410-infer1b-c66", "metadata": { + "papermill": { + "duration": 0.276121, + "end_time": "2026-10-21T01:09:43.789566+00:00", + "exception": false, + "start_time": "2026-10-21T01:09:43.513445+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -6569,10 +6676,10 @@ "id": "6063b4c0", "metadata": { "papermill": { - "duration": 0.310662, - "end_time": "2026-06-04T06:34:38.184142", + "duration": 0.330757, + "end_time": "2026-10-21T01:09:44.548055+00:00", "exception": false, - "start_time": "2026-06-04T06:34:37.873480", + "start_time": "2026-10-21T01:09:44.217298+00:00", "status": "completed" }, "tags": [] @@ -6598,10 +6705,10 @@ "id": "181043e9", "metadata": { "papermill": { - "duration": 0.363472, - "end_time": "2026-06-04T06:34:38.836771", + "duration": 0.33132, + "end_time": "2026-10-21T01:09:45.185447+00:00", "exception": false, - "start_time": "2026-06-04T06:34:38.473299", + "start_time": "2026-10-21T01:09:44.854127+00:00", "status": "completed" }, "tags": [] @@ -6635,16 +6742,16 @@ "id": "2fb49e4b", "metadata": { "execution": { - "iopub.execute_input": "2026-07-24T09:51:19.215297Z", - "iopub.status.busy": "2026-07-24T09:51:19.215054Z", - "iopub.status.idle": "2026-07-24T09:51:19.252138Z", - "shell.execute_reply": "2026-07-24T09:51:19.251757Z" + "iopub.execute_input": "2026-10-21T01:09:45.957291Z", + "iopub.status.busy": "2026-10-21T01:09:45.957291Z", + "iopub.status.idle": "2026-10-21T01:09:45.999987Z", + "shell.execute_reply": "2026-10-21T01:09:45.999413Z" }, "papermill": { - "duration": 0.372638, - "end_time": "2026-06-04T06:34:39.538988", + "duration": 0.484801, + "end_time": "2026-10-21T01:09:45.999987+00:00", "exception": false, - "start_time": "2026-06-04T06:34:39.166350", + "start_time": "2026-10-21T01:09:45.515186+00:00", "status": "completed" }, "tags": [] @@ -6689,10 +6796,10 @@ "id": "2412c527", "metadata": { "papermill": { - "duration": 0.33941, - "end_time": "2026-06-04T06:34:40.212094", + "duration": 0.420177, + "end_time": "2026-10-21T01:09:46.771872+00:00", "exception": false, - "start_time": "2026-06-04T06:34:39.872684", + "start_time": "2026-10-21T01:09:46.351695+00:00", "status": "completed" }, "tags": [] @@ -6743,14 +6850,14 @@ }, "papermill": { "default_parameters": {}, - "duration": 42.113743, - "end_time": "2026-06-04T06:34:40.743697", + "duration": 60.418997, + "end_time": "2026-10-21T01:09:47.472436+00:00", "environment_variables": {}, "exception": null, - "input_path": "MyIA.AI.Notebooks\\Probas\\Infer\\Infer-01b-Premiers-Modeles.ipynb", - "output_path": "MyIA.AI.Notebooks\\Probas\\Infer\\Infer-01b-Premiers-Modeles.ipynb", + "input_path": "Infer-01b-Premiers-Modeles.ipynb", + "output_path": "Infer-01b-Premiers-Modeles.ipynb", "parameters": {}, - "start_time": "2026-06-04T06:33:58.629954", + "start_time": "2026-10-21T01:08:47.053439+00:00", "version": "2.7.0" }, "polyglot_notebook": { @@ -6768,4 +6875,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/MyIA.AI.Notebooks/Probas/Infer/Infer-02b-Debugging-Bonnes-Pratiques.ipynb b/MyIA.AI.Notebooks/Probas/Infer/Infer-02b-Debugging-Bonnes-Pratiques.ipynb index bab481a60cc..9ad797a5b53 100644 --- a/MyIA.AI.Notebooks/Probas/Infer/Infer-02b-Debugging-Bonnes-Pratiques.ipynb +++ b/MyIA.AI.Notebooks/Probas/Infer/Infer-02b-Debugging-Bonnes-Pratiques.ipynb @@ -5,10 +5,10 @@ "id": "ac9ac32a", "metadata": { "papermill": { - "duration": 0.004767, - "end_time": "2026-06-06T14:50:36.287408+00:00", + "duration": 0.010714, + "end_time": "2026-10-21T01:14:16.813945+00:00", "exception": false, - "start_time": "2026-06-06T14:50:36.282641+00:00", + "start_time": "2026-10-21T01:14:16.803231+00:00", "status": "completed" }, "tags": [] @@ -46,10 +46,10 @@ "id": "d07125c0", "metadata": { "papermill": { - "duration": 0.004204, - "end_time": "2026-06-06T14:50:36.297890+00:00", + "duration": 0.009572, + "end_time": "2026-10-21T01:14:16.835157+00:00", "exception": false, - "start_time": "2026-06-06T14:50:36.293686+00:00", + "start_time": "2026-10-21T01:14:16.825585+00:00", "status": "completed" }, "tags": [] @@ -64,16 +64,16 @@ "id": "44f53923", "metadata": { "execution": { - "iopub.execute_input": "2026-07-29T23:27:35.953693Z", - "iopub.status.busy": "2026-07-29T23:27:35.937998Z", - "iopub.status.idle": "2026-07-29T23:27:43.131488Z", - "shell.execute_reply": "2026-07-29T23:27:43.120866Z" + "iopub.execute_input": "2026-10-21T01:14:16.882542Z", + "iopub.status.busy": "2026-10-21T01:14:16.866917Z", + "iopub.status.idle": "2026-10-21T01:14:26.610455Z", + "shell.execute_reply": "2026-10-21T01:14:26.594562Z" }, "papermill": { - "duration": 3.911956, - "end_time": "2026-06-06T14:50:40.213926+00:00", + "duration": 9.76442, + "end_time": "2026-10-21T01:14:26.610992+00:00", "exception": false, - "start_time": "2026-06-06T14:50:36.301970+00:00", + "start_time": "2026-10-21T01:14:16.846572+00:00", "status": "completed" }, "polyglot_notebook": { @@ -86,16 +86,135 @@ }, "outputs": [ { - "output_type": "display_data", "data": { - "text/html": "
Installing Packages
" + "text/html": [ + "\r\n", + "
\r\n", + " \r\n", + " \r\n", + "
" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/html": [ + "
Installed Packages
" + ] + }, + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "stream", "name": "stdout", - "text": "Infer.NET pret !\r\n" + "output_type": "stream", + "text": [ + "Infer.NET pret !\r\n" + ] } ], "source": [ @@ -118,10 +237,10 @@ "id": "a25ed2c0", "metadata": { "papermill": { - "duration": 0.004462, - "end_time": "2026-06-06T14:50:40.222978+00:00", + "duration": 0.010727, + "end_time": "2026-10-21T01:14:26.634353+00:00", "exception": false, - "start_time": "2026-06-06T14:50:40.218516+00:00", + "start_time": "2026-10-21T01:14:26.623626+00:00", "status": "completed" }, "tags": [] @@ -145,10 +264,10 @@ "id": "494e6908", "metadata": { "papermill": { - "duration": 0.0041, - "end_time": "2026-06-06T14:50:40.231286+00:00", + "duration": 0.013968, + "end_time": "2026-10-21T01:14:26.660671+00:00", "exception": false, - "start_time": "2026-06-06T14:50:40.227186+00:00", + "start_time": "2026-10-21T01:14:26.646703+00:00", "status": "completed" }, "tags": [] @@ -170,10 +289,10 @@ "id": "dab43cc2", "metadata": { "papermill": { - "duration": 0.004143, - "end_time": "2026-06-06T14:50:40.239579+00:00", + "duration": 0.0121, + "end_time": "2026-10-21T01:14:26.685478+00:00", "exception": false, - "start_time": "2026-06-06T14:50:40.235436+00:00", + "start_time": "2026-10-21T01:14:26.673378+00:00", "status": "completed" }, "tags": [] @@ -196,16 +315,16 @@ "id": "8b121887", "metadata": { "execution": { - "iopub.execute_input": "2026-07-29T23:27:43.133494Z", - "iopub.status.busy": "2026-07-29T23:27:43.133494Z", - "iopub.status.idle": "2026-07-29T23:27:44.235587Z", - "shell.execute_reply": "2026-07-29T23:27:44.235587Z" + "iopub.execute_input": "2026-10-21T01:14:26.709670Z", + "iopub.status.busy": "2026-10-21T01:14:26.709147Z", + "iopub.status.idle": "2026-10-21T01:14:29.096511Z", + "shell.execute_reply": "2026-10-21T01:14:29.096511Z" }, "papermill": { - "duration": 0.968668, - "end_time": "2026-06-06T14:50:41.212512+00:00", + "duration": 2.401398, + "end_time": "2026-10-21T01:14:29.096511+00:00", "exception": false, - "start_time": "2026-06-06T14:50:40.243844+00:00", + "start_time": "2026-10-21T01:14:26.695113+00:00", "status": "completed" }, "tags": [], @@ -215,19 +334,25 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "FactorGraphHelper charge !\r\n" + "output_type": "stream", + "text": [ + "FactorGraphHelper charge !\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Graphviz disponible : True\r\n" + "output_type": "stream", + "text": [ + "Graphviz disponible : True\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Usage: display(HTML(FactorGraphHelper.GetLatestFactorGraphHtml()))\r\n" + "output_type": "stream", + "text": [ + "Usage: FactorGraphHelper.GetLatestFactorGraphHtml().DisplayAs(\"text/html\")\r\n" + ] } ], "source": [ @@ -236,7 +361,7 @@ "\n", "Console.WriteLine(\"FactorGraphHelper charge !\");\n", "Console.WriteLine($\"Graphviz disponible : {FactorGraphHelper.IsGraphvizAvailable()}\");\n", - "Console.WriteLine(\"Usage: display(HTML(FactorGraphHelper.GetLatestFactorGraphHtml()))\");" + "Console.WriteLine(\"Usage: FactorGraphHelper.GetLatestFactorGraphHtml().DisplayAs(\\\"text/html\\\")\");" ] }, { @@ -244,10 +369,10 @@ "id": "a9dc8cd5", "metadata": { "papermill": { - "duration": 0.004194, - "end_time": "2026-06-06T14:50:41.221188+00:00", + "duration": 0.012361, + "end_time": "2026-10-21T01:14:29.121204+00:00", "exception": false, - "start_time": "2026-06-06T14:50:41.216994+00:00", + "start_time": "2026-10-21T01:14:29.108843+00:00", "status": "completed" }, "tags": [] @@ -272,16 +397,16 @@ "id": "bf173d0e", "metadata": { "execution": { - "iopub.execute_input": "2026-07-29T23:27:44.235587Z", - "iopub.status.busy": "2026-07-29T23:27:44.235587Z", - "iopub.status.idle": "2026-07-29T23:27:46.846328Z", - "shell.execute_reply": "2026-07-29T23:27:46.846328Z" + "iopub.execute_input": "2026-10-21T01:14:29.155752Z", + "iopub.status.busy": "2026-10-21T01:14:29.155752Z", + "iopub.status.idle": "2026-10-21T01:14:33.780763Z", + "shell.execute_reply": "2026-10-21T01:14:33.780763Z" }, "papermill": { - "duration": 1.693226, - "end_time": "2026-06-06T14:50:42.918950+00:00", + "duration": 4.645844, + "end_time": "2026-10-21T01:14:33.781474+00:00", "exception": false, - "start_time": "2026-06-06T14:50:41.225724+00:00", + "start_time": "2026-10-21T01:14:29.135630+00:00", "status": "completed" }, "polyglot_notebook": { @@ -294,44 +419,61 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "=== Erreur : Model has no support ===\r\n" + "output_type": "stream", + "text": [ + "=== Erreur : Model has no support ===\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "\r\n" + "output_type": "stream", + "text": [ + "\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Compiling model..." + "output_type": "stream", + "text": [ + "Compiling model..." + ] }, { - "output_type": "stream", "name": "stdout", - "text": "done.\r\n" + "output_type": "stream", + "text": [ + "done.\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "\nSOLUTION : Elargir le prior\r\n" + "output_type": "stream", + "text": [ + "\n", + "SOLUTION : Elargir le prior\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Compiling model..." + "output_type": "stream", + "text": [ + "Compiling model..." + ] }, { - "output_type": "stream", "name": "stdout", - "text": "done.\r\n" + "output_type": "stream", + "text": [ + "done.\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Resultat avec prior large : Gaussian.PointMass(100)\r\n" + "output_type": "stream", + "text": [ + "Resultat avec prior large : Gaussian.PointMass(100)\r\n" + ] } ], "source": [ @@ -370,10 +512,10 @@ "id": "5253129a", "metadata": { "papermill": { - "duration": 0.004672, - "end_time": "2026-06-06T14:50:42.928127+00:00", + "duration": 0.014969, + "end_time": "2026-10-21T01:14:33.809446+00:00", "exception": false, - "start_time": "2026-06-06T14:50:42.923455+00:00", + "start_time": "2026-10-21T01:14:33.794477+00:00", "status": "completed" }, "tags": [] @@ -395,16 +537,16 @@ "id": "0c43ebcb", "metadata": { "execution": { - "iopub.execute_input": "2026-07-29T23:27:46.846328Z", - "iopub.status.busy": "2026-07-29T23:27:46.846328Z", - "iopub.status.idle": "2026-07-29T23:27:47.309166Z", - "shell.execute_reply": "2026-07-29T23:27:47.308633Z" + "iopub.execute_input": "2026-10-21T01:14:33.842341Z", + "iopub.status.busy": "2026-10-21T01:14:33.841337Z", + "iopub.status.idle": "2026-10-21T01:14:34.916736Z", + "shell.execute_reply": "2026-10-21T01:14:34.916199Z" }, "papermill": { - "duration": 0.682455, - "end_time": "2026-06-06T14:50:43.614777+00:00", + "duration": 1.093396, + "end_time": "2026-10-21T01:14:34.916736+00:00", "exception": false, - "start_time": "2026-06-06T14:50:42.932322+00:00", + "start_time": "2026-10-21T01:14:33.823340+00:00", "status": "completed" }, "tags": [], @@ -414,36 +556,104 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "=== Visualisation : Modele avec prior large ===\r\n" + "output_type": "stream", + "text": [ + "=== Visualisation : Modele avec prior large ===\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Resultat : Gaussian.PointMass(100)\r\n" + "output_type": "stream", + "text": [ + "Resultat : Gaussian.PointMass(100)\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "\r\n" + "output_type": "stream", + "text": [ + "\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Le factor graph montre la structure simple : prior -> observation\r\n" + "output_type": "stream", + "text": [ + "Le factor graph montre la structure simple : prior -> observation\r\n" + ] }, { - "output_type": "display_data", "data": { - "text/html": "\r\n
\r\n
Model_08_19_26_03_10_41_48.svg
\r\n
\r\n \r\n\r\n\r\n\r\n\r\n\r\nModel\r\n\r\n\r\n\r\nnode0\r\n\r\n50\r\n\r\n\r\n\r\nnode1\r\n\r\nGaussian\r\n\r\n\r\n\r\nnode0->node1\r\n\r\n\r\nmean\r\n\r\n\r\n\r\nnode3\r\n\r\n100\r\n\r\n\r\n\r\nnode1->node3\r\n\r\n\r\n\r\n\r\n\r\nnode2\r\n\r\n0,01\r\n\r\n\r\n\r\nnode2->node1\r\n\r\n\r\nprecision\r\n\r\n\r\n\r\n\r\n
\r\n
" + "text/html": [ + "\r\n", + "
\r\n", + "
Model_10_21_26_03_14_33_97.svg
\r\n", + "
\r\n", + " \r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "Model\r\n", + "\r\n", + "\r\n", + "\r\n", + "node0\r\n", + "\r\n", + "50\r\n", + "\r\n", + "\r\n", + "\r\n", + "node1\r\n", + "\r\n", + "Gaussian\r\n", + "\r\n", + "\r\n", + "\r\n", + "node0->node1\r\n", + "\r\n", + "\r\n", + "mean\r\n", + "\r\n", + "\r\n", + "\r\n", + "node3\r\n", + "\r\n", + "100\r\n", + "\r\n", + "\r\n", + "\r\n", + "node1->node3\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "node2\r\n", + "\r\n", + "0,01\r\n", + "\r\n", + "\r\n", + "\r\n", + "node2->node1\r\n", + "\r\n", + "\r\n", + "precision\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "
\r\n", + "
" + ] }, - "metadata": {} - }, - { - "output_type": "stream", - "name": "stderr", - "text": "\r\nwarning CS1701: En supposant que la référence d'assembly 'Microsoft.AspNetCore.Html.Abstractions, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' utilisée par 'Microsoft.DotNet.Interactive' correspond à l'identité 'Microsoft.AspNetCore.Html.Abstractions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' de 'Microsoft.AspNetCore.Html.Abstractions', il se peut que vous deviez fournir une stratégie runtime\r\n\r\n" + "metadata": {}, + "output_type": "display_data" } ], "source": [ @@ -464,7 +674,7 @@ "Console.WriteLine();\n", "Console.WriteLine(\"Le factor graph montre la structure simple : prior -> observation\");\n", "\n", - "display(HTML(FactorGraphHelper.GetLatestFactorGraphHtml()));\n", + "FactorGraphHelper.GetLatestFactorGraphHtml().DisplayAs(\"text/html\");\n", "FactorGraphHelper.CleanupGeneratedFiles();" ] }, @@ -473,10 +683,10 @@ "id": "b7352fbf", "metadata": { "papermill": { - "duration": 0.004818, - "end_time": "2026-06-06T14:50:43.624726+00:00", + "duration": 0.01375, + "end_time": "2026-10-21T01:14:34.945507+00:00", "exception": false, - "start_time": "2026-06-06T14:50:43.619908+00:00", + "start_time": "2026-10-21T01:14:34.931757+00:00", "status": "completed" }, "tags": [] @@ -495,16 +705,16 @@ "id": "eec72b8b", "metadata": { "execution": { - "iopub.execute_input": "2026-07-29T23:27:47.310782Z", - "iopub.status.busy": "2026-07-29T23:27:47.310782Z", - "iopub.status.idle": "2026-07-29T23:27:48.997123Z", - "shell.execute_reply": "2026-07-29T23:27:48.997123Z" + "iopub.execute_input": "2026-10-21T01:14:34.977015Z", + "iopub.status.busy": "2026-10-21T01:14:34.977015Z", + "iopub.status.idle": "2026-10-21T01:14:37.876061Z", + "shell.execute_reply": "2026-10-21T01:14:37.876061Z" }, "papermill": { - "duration": 0.08918, - "end_time": "2026-06-06T14:50:43.718828+00:00", + "duration": 2.919654, + "end_time": "2026-10-21T01:14:37.876061+00:00", "exception": false, - "start_time": "2026-06-06T14:50:43.629648+00:00", + "start_time": "2026-10-21T01:14:34.956407+00:00", "status": "completed" }, "polyglot_notebook": { @@ -517,74 +727,102 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "=== Probleme : Convergence vers mode symetrique ===\r\n" + "output_type": "stream", + "text": [ + "=== Probleme : Convergence vers mode symetrique ===\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "\r\n" + "output_type": "stream", + "text": [ + "\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Donnees : 60 points bimodaux, moyenne empirique = -0,124\r\n" + "output_type": "stream", + "text": [ + "Donnees : 60 points bimodaux, moyenne empirique = -0,124\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "\r\n" + "output_type": "stream", + "text": [ + "\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "--- Cas 1 : Prior symetrique means[k] ~ Gaussian(0, prec=10) ---\r\n" + "output_type": "stream", + "text": [ + "--- Cas 1 : Prior symetrique means[k] ~ Gaussian(0, prec=10) ---\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " means[0] = 5,0737\r\n" + "output_type": "stream", + "text": [ + " means[0] = 5,0737\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " means[1] = 5,0737\r\n" + "output_type": "stream", + "text": [ + " means[1] = 5,0737\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " -> Collapse symetrique : les deux composantes sont identiques\r\n" + "output_type": "stream", + "text": [ + " -> Collapse symetrique : les deux composantes sont identiques\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " (le modele ne parvient pas a separer les deux modes).\r\n" + "output_type": "stream", + "text": [ + " (le modele ne parvient pas a separer les deux modes).\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "\r\n" + "output_type": "stream", + "text": [ + "\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "--- Cas 2 : Prior asymetrique means[0] ~ G(-5,1), means[1] ~ G(+5,1) ---\r\n" + "output_type": "stream", + "text": [ + "--- Cas 2 : Prior asymetrique means[0] ~ G(-5,1), means[1] ~ G(+5,1) ---\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " means[0] = -5,1493\r\n" + "output_type": "stream", + "text": [ + " means[0] = -5,1493\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " means[1] = 4,9088\r\n" + "output_type": "stream", + "text": [ + " means[1] = 4,9088\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " -> Convergence : les deux modes sont separement identifies.\r\n" + "output_type": "stream", + "text": [ + " -> Convergence : les deux modes sont separement identifies.\r\n" + ] } ], "source": [ @@ -667,10 +905,10 @@ "id": "6e92fe00", "metadata": { "papermill": { - "duration": 0.005486, - "end_time": "2026-06-06T14:50:43.729427+00:00", + "duration": 0.015273, + "end_time": "2026-10-21T01:14:37.908915+00:00", "exception": false, - "start_time": "2026-06-06T14:50:43.723941+00:00", + "start_time": "2026-10-21T01:14:37.893642+00:00", "status": "completed" }, "tags": [] @@ -697,10 +935,10 @@ "id": "1f0748dd", "metadata": { "papermill": { - "duration": 0.005213, - "end_time": "2026-06-06T14:50:43.739731+00:00", + "duration": 0.016384, + "end_time": "2026-10-21T01:14:37.941165+00:00", "exception": false, - "start_time": "2026-06-06T14:50:43.734518+00:00", + "start_time": "2026-10-21T01:14:37.924781+00:00", "status": "completed" }, "tags": [] @@ -722,10 +960,10 @@ "id": "2ba52cb8", "metadata": { "papermill": { - "duration": 0.005592, - "end_time": "2026-06-06T14:50:43.751158+00:00", + "duration": 0.013343, + "end_time": "2026-10-21T01:14:37.968327+00:00", "exception": false, - "start_time": "2026-06-06T14:50:43.745566+00:00", + "start_time": "2026-10-21T01:14:37.954984+00:00", "status": "completed" }, "tags": [] @@ -747,16 +985,16 @@ "id": "dc2083be", "metadata": { "execution": { - "iopub.execute_input": "2026-07-29T23:27:48.999130Z", - "iopub.status.busy": "2026-07-29T23:27:48.999130Z", - "iopub.status.idle": "2026-07-29T23:27:49.982850Z", - "shell.execute_reply": "2026-07-29T23:27:49.982850Z" + "iopub.execute_input": "2026-10-21T01:14:37.992425Z", + "iopub.status.busy": "2026-10-21T01:14:37.992425Z", + "iopub.status.idle": "2026-10-21T01:14:39.437983Z", + "shell.execute_reply": "2026-10-21T01:14:39.437424Z" }, "papermill": { - "duration": 0.918287, - "end_time": "2026-06-06T14:50:44.675134+00:00", + "duration": 1.460034, + "end_time": "2026-10-21T01:14:39.437983+00:00", "exception": false, - "start_time": "2026-06-06T14:50:43.756847+00:00", + "start_time": "2026-10-21T01:14:37.977949+00:00", "status": "completed" }, "polyglot_notebook": { @@ -769,49 +1007,67 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "=== Comparaison EP vs VMP ===\r\n" + "output_type": "stream", + "text": [ + "=== Comparaison EP vs VMP ===\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "\r\n" + "output_type": "stream", + "text": [ + "\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Observations : 2,1, 1,9, 2,3, 2, 1,8, 2,2\r\n" + "output_type": "stream", + "text": [ + "Observations : 2,1, 1,9, 2,3, 2, 1,8, 2,2\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Moyenne empirique : 2,050\r\n" + "output_type": "stream", + "text": [ + "Moyenne empirique : 2,050\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "\r\n" + "output_type": "stream", + "text": [ + "\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "EP : Gaussian(2,048, 0,0808)\r\n" + "output_type": "stream", + "text": [ + "EP : Gaussian(2,048, 0,0808)\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "VMP : Gaussian(2,048, 0,07725)\r\n" + "output_type": "stream", + "text": [ + "VMP : Gaussian(2,048, 0,07725)\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "\r\n" + "output_type": "stream", + "text": [ + "\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Note : VMP tend a avoir une variance plus faible (sous-estime l'incertitude)\r\n" + "output_type": "stream", + "text": [ + "Note : VMP tend a avoir une variance plus faible (sous-estime l'incertitude)\r\n" + ] } ], "source": [ @@ -877,10 +1133,10 @@ "id": "b3cf74e4", "metadata": { "papermill": { - "duration": 0.005333, - "end_time": "2026-06-06T14:50:44.686249+00:00", + "duration": 0.015959, + "end_time": "2026-10-21T01:14:39.467993+00:00", "exception": false, - "start_time": "2026-06-06T14:50:44.680916+00:00", + "start_time": "2026-10-21T01:14:39.452034+00:00", "status": "completed" }, "tags": [] @@ -910,7 +1166,16 @@ { "cell_type": "markdown", "id": "a8595e01", - "metadata": {}, + "metadata": { + "papermill": { + "duration": 0.018633, + "end_time": "2026-10-21T01:14:39.506448+00:00", + "exception": false, + "start_time": "2026-10-21T01:14:39.487815+00:00", + "status": "completed" + }, + "tags": [] + }, "source": [ "### Quand EP devient-elle vraiment instable ? Le cas non-conjugué\n", "\n", @@ -927,92 +1192,132 @@ "id": "b8595c02", "metadata": { "execution": { - "iopub.execute_input": "2026-07-29T23:27:49.984856Z", - "iopub.status.busy": "2026-07-29T23:27:49.984856Z", - "iopub.status.idle": "2026-07-29T23:27:55.076455Z", - "shell.execute_reply": "2026-07-29T23:27:55.076455Z" - } + "iopub.execute_input": "2026-10-21T01:14:39.542849Z", + "iopub.status.busy": "2026-10-21T01:14:39.542849Z", + "iopub.status.idle": "2026-10-21T01:14:47.153779Z", + "shell.execute_reply": "2026-10-21T01:14:47.153779Z" + }, + "papermill": { + "duration": 7.629782, + "end_time": "2026-10-21T01:14:47.153779+00:00", + "exception": false, + "start_time": "2026-10-21T01:14:39.523997+00:00", + "status": "completed" + }, + "tags": [] }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "=== EP vs VMP sur régression logistique (non-conjugué) ===\r\n" + "output_type": "stream", + "text": [ + "=== EP vs VMP sur régression logistique (non-conjugué) ===\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "\r\n" + "output_type": "stream", + "text": [ + "\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "algo iters mean[0] mean[1] flag\r\n" + "output_type": "stream", + "text": [ + "algo iters mean[0] mean[1] flag\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "--------------------------------------------\r\n" + "output_type": "stream", + "text": [ + "--------------------------------------------\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "EP 1 30,500 27,000 ok\r\n" + "output_type": "stream", + "text": [ + "EP 1 30,500 27,000 ok\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "EP 2 -7,490 -6,986 ok\r\n" + "output_type": "stream", + "text": [ + "EP 2 -7,490 -6,986 ok\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "EP 5 1,507 1,191 ok\r\n" + "output_type": "stream", + "text": [ + "EP 5 1,507 1,191 ok\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "EP 10 1,446 1,138 ok\r\n" + "output_type": "stream", + "text": [ + "EP 10 1,446 1,138 ok\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "EP 50 1,446 1,138 ok\r\n" + "output_type": "stream", + "text": [ + "EP 50 1,446 1,138 ok\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "EP 100 1,446 1,138 ok\r\n" + "output_type": "stream", + "text": [ + "EP 100 1,446 1,138 ok\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "VMP 1 0,168 0,640 ok\r\n" + "output_type": "stream", + "text": [ + "VMP 1 0,168 0,640 ok\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "VMP 2 0,911 1,077 ok\r\n" + "output_type": "stream", + "text": [ + "VMP 2 0,911 1,077 ok\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "VMP 5 1,312 1,085 ok\r\n" + "output_type": "stream", + "text": [ + "VMP 5 1,312 1,085 ok\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "VMP 10 1,368 1,075 ok\r\n" + "output_type": "stream", + "text": [ + "VMP 10 1,368 1,075 ok\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "VMP 50 1,453 1,143 ok\r\n" + "output_type": "stream", + "text": [ + "VMP 50 1,453 1,143 ok\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "VMP 100 1,453 1,143 ok\r\n" + "output_type": "stream", + "text": [ + "VMP 100 1,453 1,143 ok\r\n" + ] } ], "source": [ @@ -1066,7 +1371,16 @@ { "cell_type": "markdown", "id": "c8595d03", - "metadata": {}, + "metadata": { + "papermill": { + "duration": 0.016688, + "end_time": "2026-10-21T01:14:47.186552+00:00", + "exception": false, + "start_time": "2026-10-21T01:14:47.169864+00:00", + "status": "completed" + }, + "tags": [] + }, "source": [ "**Lecture du résultat — ce que « EP peut diverger » signifie concrètement** :\n", "\n", @@ -1089,10 +1403,10 @@ "id": "c3138f24", "metadata": { "papermill": { - "duration": 0.006957, - "end_time": "2026-06-06T14:50:44.751168+00:00", + "duration": 0.01547, + "end_time": "2026-10-21T01:14:47.221067+00:00", "exception": false, - "start_time": "2026-06-06T14:50:44.744211+00:00", + "start_time": "2026-10-21T01:14:47.205597+00:00", "status": "completed" }, "tags": [] @@ -1121,25 +1435,27 @@ "id": "30ed2236", "metadata": { "execution": { - "iopub.execute_input": "2026-07-29T23:27:55.076455Z", - "iopub.status.busy": "2026-07-29T23:27:55.076455Z", - "iopub.status.idle": "2026-07-29T23:27:55.116175Z", - "shell.execute_reply": "2026-07-29T23:27:55.116175Z" + "iopub.execute_input": "2026-10-21T01:14:47.259899Z", + "iopub.status.busy": "2026-10-21T01:14:47.259899Z", + "iopub.status.idle": "2026-10-21T01:14:47.353620Z", + "shell.execute_reply": "2026-10-21T01:14:47.353068Z" }, "papermill": { - "duration": 0.045018, - "end_time": "2026-06-06T14:50:44.736786+00:00", + "duration": 0.11298, + "end_time": "2026-10-21T01:14:47.353620+00:00", "exception": false, - "start_time": "2026-06-06T14:50:44.691768+00:00", + "start_time": "2026-10-21T01:14:47.240640+00:00", "status": "completed" }, "tags": [] }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "Exercice a completer : diagnostiquer et corriger le melange gaussien\r\n" + "output_type": "stream", + "text": [ + "Exercice a completer : diagnostiquer et corriger le melange gaussien\r\n" + ] } ], "source": [ @@ -1175,16 +1491,16 @@ "id": "ae3b9309", "metadata": { "execution": { - "iopub.execute_input": "2026-07-29T23:27:55.124307Z", - "iopub.status.busy": "2026-07-29T23:27:55.116175Z", - "iopub.status.idle": "2026-07-29T23:27:55.140067Z", - "shell.execute_reply": "2026-07-29T23:27:55.140067Z" + "iopub.execute_input": "2026-10-21T01:14:47.390610Z", + "iopub.status.busy": "2026-10-21T01:14:47.389022Z", + "iopub.status.idle": "2026-10-21T01:14:47.448686Z", + "shell.execute_reply": "2026-10-21T01:14:47.448686Z" }, "papermill": { - "duration": 0.563645, - "end_time": "2026-06-06T14:50:45.320691+00:00", + "duration": 0.080567, + "end_time": "2026-10-21T01:14:47.450219+00:00", "exception": false, - "start_time": "2026-06-06T14:50:44.757046+00:00", + "start_time": "2026-10-21T01:14:47.369652+00:00", "status": "completed" }, "tags": [], @@ -1194,9 +1510,11 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "Exercice a completer : visualiser le factor graph EP vs VMP\r\n" + "output_type": "stream", + "text": [ + "Exercice a completer : visualiser le factor graph EP vs VMP\r\n" + ] } ], "source": [ @@ -1209,7 +1527,7 @@ "// Indice 2 : creer Variable mean = ... .Named(\"mean\") et Variable prec = ... .Named(\"precision\")\n", "// Indice 3 : creer VariableArray obs[r] = Variable.GaussianFromMeanAndPrecision(mean, prec).ForEach(r)\n", "// Indice 4 : InferenceEngine engVis = new InferenceEngine(); engVis.ShowFactorGraph = true;\n", - "// Indice 5 : afficher avec display(HTML(FactorGraphHelper.GetLatestFactorGraphHtml())) et nettoyer via FactorGraphHelper.CleanupGeneratedFiles()\n", + "// Indice 5 : afficher avec FactorGraphHelper.GetLatestFactorGraphHtml().DisplayAs(\"text/html\") et nettoyer via FactorGraphHelper.CleanupGeneratedFiles()\n", "\n", "Console.WriteLine(\"Exercice a completer : visualiser le factor graph EP vs VMP\");" ] @@ -1219,10 +1537,10 @@ "id": "b6eceb8b", "metadata": { "papermill": { - "duration": 0.005004, - "end_time": "2026-06-06T14:50:45.332808+00:00", + "duration": 0.012421, + "end_time": "2026-10-21T01:14:47.480430+00:00", "exception": false, - "start_time": "2026-06-06T14:50:45.327804+00:00", + "start_time": "2026-10-21T01:14:47.468009+00:00", "status": "completed" }, "tags": [] @@ -1247,16 +1565,16 @@ "id": "db40c3b5", "metadata": { "execution": { - "iopub.execute_input": "2026-07-29T23:27:55.142077Z", - "iopub.status.busy": "2026-07-29T23:27:55.142077Z", - "iopub.status.idle": "2026-07-29T23:27:55.475449Z", - "shell.execute_reply": "2026-07-29T23:27:55.475449Z" + "iopub.execute_input": "2026-10-21T01:14:47.519515Z", + "iopub.status.busy": "2026-10-21T01:14:47.518953Z", + "iopub.status.idle": "2026-10-21T01:14:48.089984Z", + "shell.execute_reply": "2026-10-21T01:14:48.089432Z" }, "papermill": { - "duration": 0.247958, - "end_time": "2026-06-06T14:50:45.585953+00:00", + "duration": 0.587896, + "end_time": "2026-10-21T01:14:48.089984+00:00", "exception": false, - "start_time": "2026-06-06T14:50:45.337995+00:00", + "start_time": "2026-10-21T01:14:47.502088+00:00", "status": "completed" }, "polyglot_notebook": { @@ -1269,49 +1587,68 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "=== Outils de Debug ===\r\n" + "output_type": "stream", + "text": [ + "=== Outils de Debug ===\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "\r\n" + "output_type": "stream", + "text": [ + "\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Options de debug activees :\r\n" + "output_type": "stream", + "text": [ + "Options de debug activees :\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " - ShowProgress : affiche les iterations\r\n" + "output_type": "stream", + "text": [ + " - ShowProgress : affiche les iterations\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " - ShowWarnings : affiche les avertissements du compilateur\r\n" + "output_type": "stream", + "text": [ + " - ShowWarnings : affiche les avertissements du compilateur\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "\r\n" + "output_type": "stream", + "text": [ + "\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Compiling model..." + "output_type": "stream", + "text": [ + "Compiling model..." + ] }, { - "output_type": "stream", "name": "stdout", - "text": "done.\r\n" + "output_type": "stream", + "text": [ + "done.\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "\nResultat : mu ~ Gaussian(2,5, 0,5)\r\n" + "output_type": "stream", + "text": [ + "\n", + "Resultat : mu ~ Gaussian(2,5, 0,5)\r\n" + ] } ], "source": [ @@ -1346,10 +1683,10 @@ "id": "9e8de416", "metadata": { "papermill": { - "duration": 0.005535, - "end_time": "2026-06-06T14:50:45.597529+00:00", + "duration": 0.018422, + "end_time": "2026-10-21T01:14:48.128003+00:00", "exception": false, - "start_time": "2026-06-06T14:50:45.591994+00:00", + "start_time": "2026-10-21T01:14:48.109581+00:00", "status": "completed" }, "tags": [] @@ -1371,10 +1708,10 @@ "id": "1bddf40b", "metadata": { "papermill": { - "duration": 0.005703, - "end_time": "2026-06-06T14:50:45.608387+00:00", + "duration": 0.01921, + "end_time": "2026-10-21T01:14:48.165717+00:00", "exception": false, - "start_time": "2026-06-06T14:50:45.602684+00:00", + "start_time": "2026-10-21T01:14:48.146507+00:00", "status": "completed" }, "tags": [] @@ -1391,16 +1728,16 @@ "id": "2c02d077", "metadata": { "execution": { - "iopub.execute_input": "2026-07-29T23:27:55.477468Z", - "iopub.status.busy": "2026-07-29T23:27:55.477468Z", - "iopub.status.idle": "2026-07-29T23:27:55.848394Z", - "shell.execute_reply": "2026-07-29T23:27:55.847861Z" + "iopub.execute_input": "2026-10-21T01:14:48.204493Z", + "iopub.status.busy": "2026-10-21T01:14:48.203462Z", + "iopub.status.idle": "2026-10-21T01:14:49.063338Z", + "shell.execute_reply": "2026-10-21T01:14:49.059619Z" }, "papermill": { - "duration": 0.642227, - "end_time": "2026-06-06T14:50:46.256078+00:00", + "duration": 0.880843, + "end_time": "2026-10-21T01:14:49.063338+00:00", "exception": false, - "start_time": "2026-06-06T14:50:45.613851+00:00", + "start_time": "2026-10-21T01:14:48.182495+00:00", "status": "completed" }, "tags": [], @@ -1410,36 +1747,213 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "=== Visualisation du Factor Graph ===\r\n" + "output_type": "stream", + "text": [ + "=== Visualisation du Factor Graph ===\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "\r\n" + "output_type": "stream", + "text": [ + "\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Resultat : hyperMean ~ Gaussian(3,74, 0,9106)\r\n" + "output_type": "stream", + "text": [ + "Resultat : hyperMean ~ Gaussian(3,74, 0,9106)\r\n" + ] }, { - "output_type": "display_data", "data": { - "text/html": "\r\n
\r\n
Model_08_19_26_03_10_48_73.svg
\r\n
\r\n \r\n\r\n\r\n\r\n\r\n\r\nModel\r\n\r\n\r\n\r\nnode0\r\n\r\n0\r\n\r\n\r\n\r\nnode1\r\n\r\nGaussian\r\n\r\n\r\n\r\nnode0->node1\r\n\r\n\r\nmean\r\n\r\n\r\n\r\nnode3\r\n\r\nhyperMean\r\n\r\n\r\n\r\nnode1->node3\r\n\r\n\r\n\r\n\r\n\r\nnode2\r\n\r\n0,1\r\n\r\n\r\n\r\nnode2->node1\r\n\r\n\r\nprecision\r\n\r\n\r\n\r\nnode4\r\n\r\nGaussian\r\n\r\n\r\n\r\nnode3->node4\r\n\r\n\r\nmean\r\n\r\n\r\n\r\nnode7\r\n\r\nGaussian\r\n\r\n\r\n\r\nnode3->node7\r\n\r\n\r\nmean\r\n\r\n\r\n\r\nnode6\r\n\r\n3\r\n\r\n\r\n\r\nnode4->node6\r\n\r\n\r\n\r\n\r\n\r\nnode5\r\n\r\nhyperPrec\r\n\r\n\r\n\r\nnode5->node4\r\n\r\n\r\nprecision\r\n\r\n\r\n\r\nnode5->node7\r\n\r\n\r\nprecision\r\n\r\n\r\n\r\nnode8\r\n\r\n5\r\n\r\n\r\n\r\nnode7->node8\r\n\r\n\r\n\r\n\r\n\r\nnode9\r\n\r\n2\r\n\r\n\r\n\r\nnode10\r\n\r\nSample\r\n\r\n\r\n\r\nnode9->node10\r\n\r\n\r\nshape\r\n\r\n\r\n\r\nnode10->node5\r\n\r\n\r\n\r\n\r\n\r\nnode11\r\n\r\n0,5\r\n\r\n\r\n\r\nnode11->node10\r\n\r\n\r\nscale\r\n\r\n\r\n\r\n\r\n
\r\n
" + "text/html": [ + "\r\n", + "
\r\n", + "
Model_10_21_26_03_14_48_29.svg
\r\n", + "
\r\n", + " \r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "Model\r\n", + "\r\n", + "\r\n", + "\r\n", + "node0\r\n", + "\r\n", + "0\r\n", + "\r\n", + "\r\n", + "\r\n", + "node1\r\n", + "\r\n", + "Gaussian\r\n", + "\r\n", + "\r\n", + "\r\n", + "node0->node1\r\n", + "\r\n", + "\r\n", + "mean\r\n", + "\r\n", + "\r\n", + "\r\n", + "node3\r\n", + "\r\n", + "hyperMean\r\n", + "\r\n", + "\r\n", + "\r\n", + "node1->node3\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "node2\r\n", + "\r\n", + "0,1\r\n", + "\r\n", + "\r\n", + "\r\n", + "node2->node1\r\n", + "\r\n", + "\r\n", + "precision\r\n", + "\r\n", + "\r\n", + "\r\n", + "node4\r\n", + "\r\n", + "Gaussian\r\n", + "\r\n", + "\r\n", + "\r\n", + "node3->node4\r\n", + "\r\n", + "\r\n", + "mean\r\n", + "\r\n", + "\r\n", + "\r\n", + "node7\r\n", + "\r\n", + "Gaussian\r\n", + "\r\n", + "\r\n", + "\r\n", + "node3->node7\r\n", + "\r\n", + "\r\n", + "mean\r\n", + "\r\n", + "\r\n", + "\r\n", + "node6\r\n", + "\r\n", + "3\r\n", + "\r\n", + "\r\n", + "\r\n", + "node4->node6\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "node5\r\n", + "\r\n", + "hyperPrec\r\n", + "\r\n", + "\r\n", + "\r\n", + "node5->node4\r\n", + "\r\n", + "\r\n", + "precision\r\n", + "\r\n", + "\r\n", + "\r\n", + "node5->node7\r\n", + "\r\n", + "\r\n", + "precision\r\n", + "\r\n", + "\r\n", + "\r\n", + "node8\r\n", + "\r\n", + "5\r\n", + "\r\n", + "\r\n", + "\r\n", + "node7->node8\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "node9\r\n", + "\r\n", + "2\r\n", + "\r\n", + "\r\n", + "\r\n", + "node10\r\n", + "\r\n", + "Sample\r\n", + "\r\n", + "\r\n", + "\r\n", + "node9->node10\r\n", + "\r\n", + "\r\n", + "shape\r\n", + "\r\n", + "\r\n", + "\r\n", + "node10->node5\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "node11\r\n", + "\r\n", + "0,5\r\n", + "\r\n", + "\r\n", + "\r\n", + "node11->node10\r\n", + "\r\n", + "\r\n", + "scale\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "
\r\n", + "
" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "stream", "name": "stdout", - "text": "\nFichiers nettoyes : 2\r\n" - }, - { "output_type": "stream", - "name": "stderr", - "text": "\r\nwarning CS1701: En supposant que la référence d'assembly 'Microsoft.AspNetCore.Html.Abstractions, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' utilisée par 'Microsoft.DotNet.Interactive' correspond à l'identité 'Microsoft.AspNetCore.Html.Abstractions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' de 'Microsoft.AspNetCore.Html.Abstractions', il se peut que vous deviez fournir une stratégie runtime\r\n\r\n" + "text": [ + "\n", + "Fichiers nettoyes : 2\r\n" + ] } ], "source": [ @@ -1466,7 +1980,7 @@ "Console.WriteLine($\"Resultat : hyperMean ~ {hyperMeanPost}\");\n", "\n", "// Afficher le factor graph inline\n", - "display(HTML(FactorGraphHelper.GetLatestFactorGraphHtml()));\n", + "FactorGraphHelper.GetLatestFactorGraphHtml().DisplayAs(\"text/html\");\n", "\n", "// Nettoyer les fichiers generes\n", "int cleaned = FactorGraphHelper.CleanupGeneratedFiles();\n", @@ -1478,10 +1992,10 @@ "id": "8bb873fa", "metadata": { "papermill": { - "duration": 0.007406, - "end_time": "2026-06-06T14:50:46.271285+00:00", + "duration": 0.019162, + "end_time": "2026-10-21T01:14:49.098170+00:00", "exception": false, - "start_time": "2026-06-06T14:50:46.263879+00:00", + "start_time": "2026-10-21T01:14:49.079008+00:00", "status": "completed" }, "tags": [] @@ -1514,10 +2028,10 @@ "id": "789a576f", "metadata": { "papermill": { - "duration": 0.006914, - "end_time": "2026-06-06T14:50:46.285513+00:00", + "duration": 0.018154, + "end_time": "2026-10-21T01:14:49.133890+00:00", "exception": false, - "start_time": "2026-06-06T14:50:46.278599+00:00", + "start_time": "2026-10-21T01:14:49.115736+00:00", "status": "completed" }, "tags": [] @@ -1550,10 +2064,10 @@ "id": "a75ff186", "metadata": { "papermill": { - "duration": 0.00726, - "end_time": "2026-06-06T14:50:46.300120+00:00", + "duration": 0.02087, + "end_time": "2026-10-21T01:14:49.174775+00:00", "exception": false, - "start_time": "2026-06-06T14:50:46.292860+00:00", + "start_time": "2026-10-21T01:14:49.153905+00:00", "status": "completed" }, "tags": [] @@ -1576,16 +2090,16 @@ "id": "296b6925", "metadata": { "execution": { - "iopub.execute_input": "2026-07-29T23:27:55.851076Z", - "iopub.status.busy": "2026-07-29T23:27:55.850549Z", - "iopub.status.idle": "2026-07-29T23:27:56.852606Z", - "shell.execute_reply": "2026-07-29T23:27:56.852606Z" + "iopub.execute_input": "2026-10-21T01:14:49.213950Z", + "iopub.status.busy": "2026-10-21T01:14:49.213950Z", + "iopub.status.idle": "2026-10-21T01:14:50.738708Z", + "shell.execute_reply": "2026-10-21T01:14:50.738708Z" }, "papermill": { - "duration": 0.935265, - "end_time": "2026-06-06T14:50:47.242767+00:00", + "duration": 1.551723, + "end_time": "2026-10-21T01:14:50.741726+00:00", "exception": false, - "start_time": "2026-06-06T14:50:46.307502+00:00", + "start_time": "2026-10-21T01:14:49.190003+00:00", "status": "completed" }, "polyglot_notebook": { @@ -1598,59 +2112,81 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "=== Impact du choix des Priors ===\r\n" + "output_type": "stream", + "text": [ + "=== Impact du choix des Priors ===\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "\r\n" + "output_type": "stream", + "text": [ + "\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Observations : 3 succes, 2 echecs\r\n" + "output_type": "stream", + "text": [ + "Observations : 3 succes, 2 echecs\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "MLE (maximum de vraisemblance) : 0,60\r\n" + "output_type": "stream", + "text": [ + "MLE (maximum de vraisemblance) : 0,60\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "\r\n" + "output_type": "stream", + "text": [ + "\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Uniforme Beta(1,1) -> Posterieur : mean = 0,571\r\n" + "output_type": "stream", + "text": [ + "Uniforme Beta(1,1) -> Posterieur : mean = 0,571\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Centre Beta(2,2) -> Posterieur : mean = 0,556\r\n" + "output_type": "stream", + "text": [ + "Centre Beta(2,2) -> Posterieur : mean = 0,556\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Informatif Beta(5,5) -> Posterieur : mean = 0,533\r\n" + "output_type": "stream", + "text": [ + "Informatif Beta(5,5) -> Posterieur : mean = 0,533\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Biaise succes Beta(8,2) -> Posterieur : mean = 0,733\r\n" + "output_type": "stream", + "text": [ + "Biaise succes Beta(8,2) -> Posterieur : mean = 0,733\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "\r\n" + "output_type": "stream", + "text": [ + "\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Observation : Le prior influence le posterieur, surtout avec peu de donnees.\r\n" + "output_type": "stream", + "text": [ + "Observation : Le prior influence le posterieur, surtout avec peu de donnees.\r\n" + ] } ], "source": [ @@ -1697,10 +2233,10 @@ "id": "0f63b0a3", "metadata": { "papermill": { - "duration": 0.006198, - "end_time": "2026-06-06T14:50:47.255408+00:00", + "duration": 0.018457, + "end_time": "2026-10-21T01:14:50.777419+00:00", "exception": false, - "start_time": "2026-06-06T14:50:47.249210+00:00", + "start_time": "2026-10-21T01:14:50.758962+00:00", "status": "completed" }, "tags": [] @@ -1735,10 +2271,10 @@ "id": "835a51ef", "metadata": { "papermill": { - "duration": 0.006704, - "end_time": "2026-06-06T14:50:47.315549+00:00", + "duration": 0.021475, + "end_time": "2026-10-21T01:14:50.814893+00:00", "exception": false, - "start_time": "2026-06-06T14:50:47.308845+00:00", + "start_time": "2026-10-21T01:14:50.793418+00:00", "status": "completed" }, "tags": [] @@ -1764,25 +2300,27 @@ "id": "16fa038a", "metadata": { "execution": { - "iopub.execute_input": "2026-07-29T23:27:56.852606Z", - "iopub.status.busy": "2026-07-29T23:27:56.852606Z", - "iopub.status.idle": "2026-07-29T23:27:56.877845Z", - "shell.execute_reply": "2026-07-29T23:27:56.877845Z" + "iopub.execute_input": "2026-10-21T01:14:50.851988Z", + "iopub.status.busy": "2026-10-21T01:14:50.851460Z", + "iopub.status.idle": "2026-10-21T01:14:50.914412Z", + "shell.execute_reply": "2026-10-21T01:14:50.914412Z" }, "papermill": { - "duration": 0.04063, - "end_time": "2026-06-06T14:50:47.302537+00:00", + "duration": 0.078964, + "end_time": "2026-10-21T01:14:50.914412+00:00", "exception": false, - "start_time": "2026-06-06T14:50:47.261907+00:00", + "start_time": "2026-10-21T01:14:50.835448+00:00", "status": "completed" }, "tags": [] }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "Exercice a completer : test de depistage medical\r\n" + "output_type": "stream", + "text": [ + "Exercice a completer : test de depistage medical\r\n" + ] } ], "source": [ @@ -1798,10 +2336,10 @@ "id": "68678e15", "metadata": { "papermill": { - "duration": 0.00641, - "end_time": "2026-06-06T14:50:47.328340+00:00", + "duration": 0.019546, + "end_time": "2026-10-21T01:14:50.954789+00:00", "exception": false, - "start_time": "2026-06-06T14:50:47.321930+00:00", + "start_time": "2026-10-21T01:14:50.935243+00:00", "status": "completed" }, "tags": [] @@ -1833,10 +2371,10 @@ "id": "a9510f11", "metadata": { "papermill": { - "duration": 0.006513, - "end_time": "2026-06-06T14:50:47.340785+00:00", + "duration": 0.017959, + "end_time": "2026-10-21T01:14:50.988460+00:00", "exception": false, - "start_time": "2026-06-06T14:50:47.334272+00:00", + "start_time": "2026-10-21T01:14:50.970501+00:00", "status": "completed" }, "tags": [] @@ -1858,16 +2396,16 @@ "id": "5debce5f", "metadata": { "execution": { - "iopub.execute_input": "2026-07-29T23:27:56.880739Z", - "iopub.status.busy": "2026-07-29T23:27:56.880739Z", - "iopub.status.idle": "2026-07-29T23:27:57.180543Z", - "shell.execute_reply": "2026-07-29T23:27:57.180543Z" + "iopub.execute_input": "2026-10-21T01:14:51.026912Z", + "iopub.status.busy": "2026-10-21T01:14:51.026912Z", + "iopub.status.idle": "2026-10-21T01:14:51.470428Z", + "shell.execute_reply": "2026-10-21T01:14:51.472557Z" }, "papermill": { - "duration": 0.251787, - "end_time": "2026-06-06T14:50:47.599449+00:00", + "duration": 0.466055, + "end_time": "2026-10-21T01:14:51.472557+00:00", "exception": false, - "start_time": "2026-06-06T14:50:47.347662+00:00", + "start_time": "2026-10-21T01:14:51.006502+00:00", "status": "completed" }, "polyglot_notebook": { @@ -1880,29 +2418,39 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "=== Diagnostic : test ===\r\n" + "output_type": "stream", + "text": [ + "=== Diagnostic : test ===\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " Distribution : Gaussian(2,727, 0,9091)\r\n" + "output_type": "stream", + "text": [ + " Distribution : Gaussian(2,727, 0,9091)\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " Moyenne : 2,7273\r\n" + "output_type": "stream", + "text": [ + " Moyenne : 2,7273\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " Variance : 0,909091\r\n" + "output_type": "stream", + "text": [ + " Variance : 0,909091\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "\r\n" + "output_type": "stream", + "text": [ + "\r\n" + ] } ], "source": [ @@ -1969,10 +2517,10 @@ "id": "13549bb3", "metadata": { "papermill": { - "duration": 0.007583, - "end_time": "2026-06-06T14:50:47.614498+00:00", + "duration": 0.020785, + "end_time": "2026-10-21T01:14:51.515199+00:00", "exception": false, - "start_time": "2026-06-06T14:50:47.606915+00:00", + "start_time": "2026-10-21T01:14:51.494414+00:00", "status": "completed" }, "tags": [] @@ -2021,10 +2569,10 @@ "id": "21f021ad", "metadata": { "papermill": { - "duration": 0.006466, - "end_time": "2026-06-06T14:50:47.628524+00:00", + "duration": 0.020138, + "end_time": "2026-10-21T01:14:51.552742+00:00", "exception": false, - "start_time": "2026-06-06T14:50:47.622058+00:00", + "start_time": "2026-10-21T01:14:51.532604+00:00", "status": "completed" }, "tags": [] @@ -2043,16 +2591,16 @@ "id": "1b5bc2d1", "metadata": { "execution": { - "iopub.execute_input": "2026-07-29T23:27:57.184694Z", - "iopub.status.busy": "2026-07-29T23:27:57.184694Z", - "iopub.status.idle": "2026-07-29T23:27:57.521944Z", - "shell.execute_reply": "2026-07-29T23:27:57.521944Z" + "iopub.execute_input": "2026-10-21T01:14:51.598388Z", + "iopub.status.busy": "2026-10-21T01:14:51.597807Z", + "iopub.status.idle": "2026-10-21T01:14:52.390087Z", + "shell.execute_reply": "2026-10-21T01:14:52.389545Z" }, "papermill": { - "duration": 0.500401, - "end_time": "2026-06-06T14:50:48.135862+00:00", + "duration": 0.814702, + "end_time": "2026-10-21T01:14:52.390087+00:00", "exception": false, - "start_time": "2026-06-06T14:50:47.635461+00:00", + "start_time": "2026-10-21T01:14:51.575385+00:00", "status": "completed" }, "tags": [], @@ -2062,51 +2610,201 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "=== Visualisation : Modele corrige ===\r\n" + "output_type": "stream", + "text": [ + "=== Visualisation : Modele corrige ===\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Moyenne posterieure : Gaussian(49,48, 2,826)\r\n" + "output_type": "stream", + "text": [ + "Moyenne posterieure : Gaussian(49,48, 2,826)\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "\r\n" + "output_type": "stream", + "text": [ + "\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Le factor graph valide la structure :\r\n" + "output_type": "stream", + "text": [ + "Le factor graph valide la structure :\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " - 'moyenne' avec prior Gaussian large\r\n" + "output_type": "stream", + "text": [ + " - 'moyenne' avec prior Gaussian large\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " - 'precision' avec prior Gamma(2, 0.5)\r\n" + "output_type": "stream", + "text": [ + " - 'precision' avec prior Gamma(2, 0.5)\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " - 'observation' conditionnee sur les deux parametres\r\n" + "output_type": "stream", + "text": [ + " - 'observation' conditionnee sur les deux parametres\r\n" + ] }, { - "output_type": "display_data", "data": { - "text/html": "\r\n
\r\n
Model_08_19_26_03_10_50_34.svg
\r\n
\r\n \r\n\r\n\r\n\r\n\r\n\r\nModel\r\n\r\n\r\n\r\nnode0\r\n\r\n25\r\n\r\n\r\n\r\nnode1\r\n\r\nGaussian\r\n\r\n\r\n\r\nnode0->node1\r\n\r\n\r\nmean\r\n\r\n\r\n\r\nnode3\r\n\r\nmoyenne\r\n\r\n\r\n\r\nnode1->node3\r\n\r\n\r\n\r\n\r\n\r\nnode2\r\n\r\n0,01\r\n\r\n\r\n\r\nnode2->node1\r\n\r\n\r\nprecision\r\n\r\n\r\n\r\nnode4\r\n\r\nGaussian\r\n\r\n\r\n\r\nnode3->node4\r\n\r\n\r\nmean\r\n\r\n\r\n\r\nnode6\r\n\r\n50\r\n\r\n\r\n\r\nnode4->node6\r\n\r\n\r\n\r\n\r\n\r\nnode5\r\n\r\nprecision\r\n\r\n\r\n\r\nnode5->node4\r\n\r\n\r\nprecision\r\n\r\n\r\n\r\nnode7\r\n\r\n2\r\n\r\n\r\n\r\nnode8\r\n\r\nSample\r\n\r\n\r\n\r\nnode7->node8\r\n\r\n\r\nshape\r\n\r\n\r\n\r\nnode8->node5\r\n\r\n\r\n\r\n\r\n\r\nnode9\r\n\r\n0,5\r\n\r\n\r\n\r\nnode9->node8\r\n\r\n\r\nscale\r\n\r\n\r\n\r\n\r\n
\r\n
" + "text/html": [ + "\r\n", + "
\r\n", + "
Model_10_21_26_03_14_51_68.svg
\r\n", + "
\r\n", + " \r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "Model\r\n", + "\r\n", + "\r\n", + "\r\n", + "node0\r\n", + "\r\n", + "25\r\n", + "\r\n", + "\r\n", + "\r\n", + "node1\r\n", + "\r\n", + "Gaussian\r\n", + "\r\n", + "\r\n", + "\r\n", + "node0->node1\r\n", + "\r\n", + "\r\n", + "mean\r\n", + "\r\n", + "\r\n", + "\r\n", + "node3\r\n", + "\r\n", + "moyenne\r\n", + "\r\n", + "\r\n", + "\r\n", + "node1->node3\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "node2\r\n", + "\r\n", + "0,01\r\n", + "\r\n", + "\r\n", + "\r\n", + "node2->node1\r\n", + "\r\n", + "\r\n", + "precision\r\n", + "\r\n", + "\r\n", + "\r\n", + "node4\r\n", + "\r\n", + "Gaussian\r\n", + "\r\n", + "\r\n", + "\r\n", + "node3->node4\r\n", + "\r\n", + "\r\n", + "mean\r\n", + "\r\n", + "\r\n", + "\r\n", + "node6\r\n", + "\r\n", + "50\r\n", + "\r\n", + "\r\n", + "\r\n", + "node4->node6\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "node5\r\n", + "\r\n", + "precision\r\n", + "\r\n", + "\r\n", + "\r\n", + "node5->node4\r\n", + "\r\n", + "\r\n", + "precision\r\n", + "\r\n", + "\r\n", + "\r\n", + "node7\r\n", + "\r\n", + "2\r\n", + "\r\n", + "\r\n", + "\r\n", + "node8\r\n", + "\r\n", + "Sample\r\n", + "\r\n", + "\r\n", + "\r\n", + "node7->node8\r\n", + "\r\n", + "\r\n", + "shape\r\n", + "\r\n", + "\r\n", + "\r\n", + "node8->node5\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "node9\r\n", + "\r\n", + "0,5\r\n", + "\r\n", + "\r\n", + "\r\n", + "node9->node8\r\n", + "\r\n", + "\r\n", + "scale\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "
\r\n", + "
" + ] }, - "metadata": {} - }, - { - "output_type": "stream", - "name": "stderr", - "text": "\r\nwarning CS1701: En supposant que la référence d'assembly 'Microsoft.AspNetCore.Html.Abstractions, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' utilisée par 'Microsoft.DotNet.Interactive' correspond à l'identité 'Microsoft.AspNetCore.Html.Abstractions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' de 'Microsoft.AspNetCore.Html.Abstractions', il se peut que vous deviez fournir une stratégie runtime\r\n\r\n" + "metadata": {}, + "output_type": "display_data" } ], "source": [ @@ -2133,7 +2831,7 @@ "Console.WriteLine(\" - 'precision' avec prior Gamma(2, 0.5)\");\n", "Console.WriteLine(\" - 'observation' conditionnee sur les deux parametres\");\n", "\n", - "display(HTML(FactorGraphHelper.GetLatestFactorGraphHtml()));\n", + "FactorGraphHelper.GetLatestFactorGraphHtml().DisplayAs(\"text/html\");\n", "FactorGraphHelper.CleanupGeneratedFiles();" ] }, @@ -2142,10 +2840,10 @@ "id": "184472ac", "metadata": { "papermill": { - "duration": 0.008265, - "end_time": "2026-06-06T14:50:48.153715+00:00", + "duration": 0.021407, + "end_time": "2026-10-21T01:14:52.432402+00:00", "exception": false, - "start_time": "2026-06-06T14:50:48.145450+00:00", + "start_time": "2026-10-21T01:14:52.410995+00:00", "status": "completed" }, "tags": [] @@ -2157,7 +2855,16 @@ { "cell_type": "markdown", "id": "infer6-debug-loop-8081-md", - "metadata": {}, + "metadata": { + "papermill": { + "duration": 0.022489, + "end_time": "2026-10-21T01:14:52.474964+00:00", + "exception": false, + "start_time": "2026-10-21T01:14:52.452475+00:00", + "status": "completed" + }, + "tags": [] + }, "source": [ "### Étape manquante : faire TOURNER le modèle cassé pour le diagnostiquer\n", "\n", @@ -2172,102 +2879,146 @@ "id": "infer6-debug-loop-8081-code", "metadata": { "execution": { - "iopub.execute_input": "2026-07-29T23:27:57.524841Z", - "iopub.status.busy": "2026-07-29T23:27:57.524841Z", - "iopub.status.idle": "2026-07-29T23:27:57.827170Z", - "shell.execute_reply": "2026-07-29T23:27:57.826623Z" - } + "iopub.execute_input": "2026-10-21T01:14:52.517280Z", + "iopub.status.busy": "2026-10-21T01:14:52.517280Z", + "iopub.status.idle": "2026-10-21T01:14:53.011917Z", + "shell.execute_reply": "2026-10-21T01:14:53.011366Z" + }, + "papermill": { + "duration": 0.518545, + "end_time": "2026-10-21T01:14:53.012449+00:00", + "exception": false, + "start_time": "2026-10-21T01:14:52.493904+00:00", + "status": "completed" + }, + "tags": [] }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "=== Modele CASSE execute : prior trop concentre + Gamma(shape<1) + obs a 500 ecarts-types ===\r\n" + "output_type": "stream", + "text": [ + "=== Modele CASSE execute : prior trop concentre + Gamma(shape<1) + obs a 500 ecarts-types ===\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "\r\n" + "output_type": "stream", + "text": [ + "\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "=== Diagnostic : moyenne (modele casse) ===\r\n" + "output_type": "stream", + "text": [ + "=== Diagnostic : moyenne (modele casse) ===\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " Distribution : Gaussian(0,0002382, 0,01)\r\n" + "output_type": "stream", + "text": [ + " Distribution : Gaussian(0,0002382, 0,01)\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " Moyenne : 0,0002\r\n" + "output_type": "stream", + "text": [ + " Moyenne : 0,0002\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " Variance : 0,010000\r\n" + "output_type": "stream", + "text": [ + " Variance : 0,010000\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "\r\n" + "output_type": "stream", + "text": [ + "\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "=== Diagnostic : precision (modele casse) ===\r\n" + "output_type": "stream", + "text": [ + "=== Diagnostic : precision (modele casse) ===\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " Distribution : Gamma(0,6003, 0,0007935)[mean=0,0004764]\r\n" + "output_type": "stream", + "text": [ + " Distribution : Gamma(0,6003, 0,0007935)[mean=0,0004764]\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " Moyenne : 0,0005\r\n" + "output_type": "stream", + "text": [ + " Moyenne : 0,0005\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " Variance : 0,000000\r\n" + "output_type": "stream", + "text": [ + " Variance : 0,000000\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "\r\n" + "output_type": "stream", + "text": [ + "\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": ">>> Symptome : la moyenne posterieure (~0) n'a quasi pas bouge malgre l'observation a 50.\r\n" + "output_type": "stream", + "text": [ + ">>> Symptome : la moyenne posterieure (~0) n'a quasi pas bouge malgre l'observation a 50.\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " Le prior N(0, var=0.01) etait si concentre que la donnee n'a pas pu le deplacer :\r\n" + "output_type": "stream", + "text": [ + " Le prior N(0, var=0.01) etait si concentre que la donnee n'a pas pu le deplacer :\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " le diagnostic de variance seul passe (0.01 est 'raisonnable'), MAIS la moyenne est\r\n" + "output_type": "stream", + "text": [ + " le diagnostic de variance seul passe (0.01 est 'raisonnable'), MAIS la moyenne est\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " a 500 ecarts-types de l'observation - echec de type 'prior ecrase la donnee', invisible\r\n" + "output_type": "stream", + "text": [ + " a 500 ecarts-types de l'observation - echec de type 'prior ecrase la donnee', invisible\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " au seul controle de variance. C'est ce constat qui motive les corrections de la cellule\r\n" + "output_type": "stream", + "text": [ + " au seul controle de variance. C'est ce constat qui motive les corrections de la cellule\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " suivante (prior precision 0.01 -> la moyenne suit la donnee, comme on le verra : ~49.5).\r\n" + "output_type": "stream", + "text": [ + " suivante (prior precision 0.01 -> la moyenne suit la donnee, comme on le verra : ~49.5).\r\n" + ] } ], "source": [ @@ -2307,16 +3058,16 @@ "id": "7e3ddf44", "metadata": { "execution": { - "iopub.execute_input": "2026-07-29T23:27:57.829801Z", - "iopub.status.busy": "2026-07-29T23:27:57.829284Z", - "iopub.status.idle": "2026-07-29T23:27:58.142015Z", - "shell.execute_reply": "2026-07-29T23:27:58.142015Z" + "iopub.execute_input": "2026-10-21T01:14:53.057000Z", + "iopub.status.busy": "2026-10-21T01:14:53.057000Z", + "iopub.status.idle": "2026-10-21T01:14:53.491288Z", + "shell.execute_reply": "2026-10-21T01:14:53.491288Z" }, "papermill": { - "duration": 0.287976, - "end_time": "2026-06-06T14:50:48.450442+00:00", + "duration": 0.456978, + "end_time": "2026-10-21T01:14:53.491288+00:00", "exception": false, - "start_time": "2026-06-06T14:50:48.162466+00:00", + "start_time": "2026-10-21T01:14:53.034310+00:00", "status": "completed" }, "polyglot_notebook": { @@ -2329,44 +3080,60 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "=== Exercice : Debugger ce modele ===\r\n" + "output_type": "stream", + "text": [ + "=== Exercice : Debugger ce modele ===\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "\r\n" + "output_type": "stream", + "text": [ + "\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Corrections appliquees :\r\n" + "output_type": "stream", + "text": [ + "Corrections appliquees :\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "1. Prior sur moyenne : precision 0.01 (large) au lieu de 100 (etroit)\r\n" + "output_type": "stream", + "text": [ + "1. Prior sur moyenne : precision 0.01 (large) au lieu de 100 (etroit)\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "2. Prior sur precision : Gamma(2, 0.5) au lieu de Gamma(0.1, 0.1)\r\n" + "output_type": "stream", + "text": [ + "2. Prior sur precision : Gamma(2, 0.5) au lieu de Gamma(0.1, 0.1)\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "3. Variables nommees avec .Named()\r\n" + "output_type": "stream", + "text": [ + "3. Variables nommees avec .Named()\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "\r\n" + "output_type": "stream", + "text": [ + "\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Resultats : moyenne ~ Gaussian(49,48, 2,826), precision ~ Gamma(2, 0,4876)[mean=0,9752]\r\n" + "output_type": "stream", + "text": [ + "Resultats : moyenne ~ Gaussian(49,48, 2,826), precision ~ Gamma(2, 0,4876)[mean=0,9752]\r\n" + ] } ], "source": [ @@ -2413,10 +3180,10 @@ "id": "16c3f064", "metadata": { "papermill": { - "duration": 0.007387, - "end_time": "2026-06-06T14:50:48.465703+00:00", + "duration": 0.021792, + "end_time": "2026-10-21T01:14:53.534932+00:00", "exception": false, - "start_time": "2026-06-06T14:50:48.458316+00:00", + "start_time": "2026-10-21T01:14:53.513140+00:00", "status": "completed" }, "tags": [] @@ -2441,10 +3208,10 @@ "id": "26679033", "metadata": { "papermill": { - "duration": 0.007743, - "end_time": "2026-06-06T14:50:48.481814+00:00", + "duration": 0.018262, + "end_time": "2026-10-21T01:14:53.575470+00:00", "exception": false, - "start_time": "2026-06-06T14:50:48.474071+00:00", + "start_time": "2026-10-21T01:14:53.557208+00:00", "status": "completed" }, "tags": [] @@ -2471,10 +3238,10 @@ "id": "7f896403", "metadata": { "papermill": { - "duration": 0.006882, - "end_time": "2026-06-06T14:50:48.496014+00:00", + "duration": 0.021077, + "end_time": "2026-10-21T01:14:53.618031+00:00", "exception": false, - "start_time": "2026-06-06T14:50:48.489132+00:00", + "start_time": "2026-10-21T01:14:53.596954+00:00", "status": "completed" }, "tags": [] @@ -2503,10 +3270,10 @@ "id": "4064f203", "metadata": { "papermill": { - "duration": 0.00719, - "end_time": "2026-06-06T14:50:48.510533+00:00", + "duration": 0.023082, + "end_time": "2026-10-21T01:14:53.664746+00:00", "exception": false, - "start_time": "2026-06-06T14:50:48.503343+00:00", + "start_time": "2026-10-21T01:14:53.641664+00:00", "status": "completed" }, "tags": [] @@ -2532,25 +3299,27 @@ "id": "9a8ffd00", "metadata": { "execution": { - "iopub.execute_input": "2026-07-29T23:27:58.146036Z", - "iopub.status.busy": "2026-07-29T23:27:58.146036Z", - "iopub.status.idle": "2026-07-29T23:27:58.160796Z", - "shell.execute_reply": "2026-07-29T23:27:58.160796Z" + "iopub.execute_input": "2026-10-21T01:14:53.710612Z", + "iopub.status.busy": "2026-10-21T01:14:53.709616Z", + "iopub.status.idle": "2026-10-21T01:14:53.788648Z", + "shell.execute_reply": "2026-10-21T01:14:53.788089Z" }, "papermill": { - "duration": 0.044645, - "end_time": "2026-06-06T14:50:48.562294+00:00", + "duration": 0.105853, + "end_time": "2026-10-21T01:14:53.789182+00:00", "exception": false, - "start_time": "2026-06-06T14:50:48.517649+00:00", + "start_time": "2026-10-21T01:14:53.683329+00:00", "status": "completed" }, "tags": [] }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "Exercice a completer\r\n" + "output_type": "stream", + "text": [ + "Exercice a completer\r\n" + ] } ], "source": [ @@ -2605,10 +3374,10 @@ "id": "cb86da26", "metadata": { "papermill": { - "duration": 0.007452, - "end_time": "2026-06-06T14:50:48.577266+00:00", + "duration": 0.023657, + "end_time": "2026-10-21T01:14:53.836848+00:00", "exception": false, - "start_time": "2026-06-06T14:50:48.569814+00:00", + "start_time": "2026-10-21T01:14:53.813191+00:00", "status": "completed" }, "tags": [] @@ -2640,10 +3409,10 @@ "id": "b0c83d62", "metadata": { "papermill": { - "duration": 0.008211, - "end_time": "2026-06-06T14:50:48.593583+00:00", + "duration": 0.020324, + "end_time": "2026-10-21T01:14:53.879044+00:00", "exception": false, - "start_time": "2026-06-06T14:50:48.585372+00:00", + "start_time": "2026-10-21T01:14:53.858720+00:00", "status": "completed" }, "tags": [] @@ -2669,25 +3438,27 @@ "id": "a45745f5", "metadata": { "execution": { - "iopub.execute_input": "2026-07-29T23:27:58.160796Z", - "iopub.status.busy": "2026-07-29T23:27:58.160796Z", - "iopub.status.idle": "2026-07-29T23:27:58.186443Z", - "shell.execute_reply": "2026-07-29T23:27:58.186443Z" + "iopub.execute_input": "2026-10-21T01:14:53.924832Z", + "iopub.status.busy": "2026-10-21T01:14:53.924193Z", + "iopub.status.idle": "2026-10-21T01:14:54.029835Z", + "shell.execute_reply": "2026-10-21T01:14:54.029284Z" }, "papermill": { - "duration": 0.042347, - "end_time": "2026-06-06T14:50:48.646793+00:00", + "duration": 0.129909, + "end_time": "2026-10-21T01:14:54.029835+00:00", "exception": false, - "start_time": "2026-06-06T14:50:48.604446+00:00", + "start_time": "2026-10-21T01:14:53.899926+00:00", "status": "completed" }, "tags": [] }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "Exercice a completer : debugging regression bayesienne\r\n" + "output_type": "stream", + "text": [ + "Exercice a completer : debugging regression bayesienne\r\n" + ] } ], "source": [ @@ -2732,7 +3503,16 @@ { "cell_type": "markdown", "id": "cell-ac3c02c4", - "metadata": {}, + "metadata": { + "papermill": { + "duration": 0.020977, + "end_time": "2026-10-21T01:14:54.070489+00:00", + "exception": false, + "start_time": "2026-10-21T01:14:54.049512+00:00", + "status": "completed" + }, + "tags": [] + }, "source": [ "## Synthese : la demarche du debuggeur probabiliste\n", "\n", @@ -2790,6 +3570,18 @@ "pygments_lexer": "csharp", "version": "13.0" }, + "papermill": { + "default_parameters": {}, + "duration": 41.760559, + "end_time": "2026-10-21T01:14:54.435843+00:00", + "environment_variables": {}, + "exception": null, + "input_path": "Infer-02b-Debugging-Bonnes-Pratiques.ipynb", + "output_path": "Infer-02b-Debugging-Bonnes-Pratiques.ipynb", + "parameters": {}, + "start_time": "2026-10-21T01:14:12.675284+00:00", + "version": "2.7.0" + }, "polyglot_notebook": { "kernelInfo": { "defaultKernelName": "csharp", @@ -2805,4 +3597,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/MyIA.AI.Notebooks/Probas/Infer/Infer-03-Factor-Graphs.ipynb b/MyIA.AI.Notebooks/Probas/Infer/Infer-03-Factor-Graphs.ipynb index 74f772fe2ff..3dbe4b776d6 100644 --- a/MyIA.AI.Notebooks/Probas/Infer/Infer-03-Factor-Graphs.ipynb +++ b/MyIA.AI.Notebooks/Probas/Infer/Infer-03-Factor-Graphs.ipynb @@ -4,6 +4,13 @@ "cell_type": "markdown", "id": "ab0e007e", "metadata": { + "papermill": { + "duration": 0.011612, + "end_time": "2026-10-21T01:15:02.699499+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:02.687887+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -38,6 +45,13 @@ "cell_type": "markdown", "id": "77cadd70", "metadata": { + "papermill": { + "duration": 0.011234, + "end_time": "2026-10-21T01:15:02.723709+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:02.712475+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -54,6 +68,19 @@ "dotnet_interactive": { "language": "csharp" }, + "execution": { + "iopub.execute_input": "2026-10-21T01:15:02.768371Z", + "iopub.status.busy": "2026-10-21T01:15:02.756847Z", + "iopub.status.idle": "2026-10-21T01:15:12.242431Z", + "shell.execute_reply": "2026-10-21T01:15:12.224531Z" + }, + "papermill": { + "duration": 9.507675, + "end_time": "2026-10-21T01:15:12.242431+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:02.734756+00:00", + "status": "completed" + }, "polyglot_notebook": { "kernelName": "csharp" }, @@ -64,16 +91,135 @@ }, "outputs": [ { - "output_type": "display_data", "data": { - "text/html": "
Installing Packages
  • Microsoft.ML.Probabilistic
  • Microsoft.ML.Probabilistic.Compiler
" + "text/html": [ + "\r\n", + "
\r\n", + " \r\n", + " \r\n", + "
" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/html": [ + "
Installed Packages
  • Microsoft.ML.Probabilistic, 0.4.2504.701
  • Microsoft.ML.Probabilistic.Compiler, 0.4.2504.701
" + ] + }, + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "stream", "name": "stdout", - "text": "Infer.NET pret !\r\n" + "output_type": "stream", + "text": [ + "Infer.NET pret !\r\n" + ] } ], "source": [ @@ -95,6 +241,13 @@ "cell_type": "markdown", "id": "miyi1of7ve", "metadata": { + "papermill": { + "duration": 0.00986, + "end_time": "2026-10-21T01:15:12.262973+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:12.253113+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -109,6 +262,13 @@ "cell_type": "markdown", "id": "zmmn3n4q3i9", "metadata": { + "papermill": { + "duration": 0.013886, + "end_time": "2026-10-21T01:15:12.290744+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:12.276858+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -126,9 +286,22 @@ "execution_count": 2, "id": "mggh80ifx4", "metadata": { + "execution": { + "iopub.execute_input": "2026-10-21T01:15:12.320834Z", + "iopub.status.busy": "2026-10-21T01:15:12.320272Z", + "iopub.status.idle": "2026-10-21T01:15:14.556541Z", + "shell.execute_reply": "2026-10-21T01:15:14.555975Z" + }, "language_info": { "name": "polyglot-notebook" }, + "papermill": { + "duration": 2.253416, + "end_time": "2026-10-21T01:15:14.556541+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:12.303125+00:00", + "status": "completed" + }, "polyglot_notebook": { "kernelName": "csharp" }, @@ -139,19 +312,25 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "FactorGraphHelper charge !\r\n" + "output_type": "stream", + "text": [ + "FactorGraphHelper charge !\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Graphviz disponible : True\r\n" + "output_type": "stream", + "text": [ + "Graphviz disponible : True\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Usage: display(HTML(FactorGraphHelper.GetLatestFactorGraphHtml()))\r\n" + "output_type": "stream", + "text": [ + "Usage: FactorGraphHelper.GetLatestFactorGraphHtml().DisplayAs(\"text/html\")\r\n" + ] } ], "source": [ @@ -160,13 +339,20 @@ "\n", "Console.WriteLine(\"FactorGraphHelper charge !\");\n", "Console.WriteLine($\"Graphviz disponible : {FactorGraphHelper.IsGraphvizAvailable()}\");\n", - "Console.WriteLine(\"Usage: display(HTML(FactorGraphHelper.GetLatestFactorGraphHtml()))\");" + "Console.WriteLine(\"Usage: FactorGraphHelper.GetLatestFactorGraphHtml().DisplayAs(\\\"text/html\\\")\");" ] }, { "cell_type": "markdown", "id": "b6d11f9e", "metadata": { + "papermill": { + "duration": 0.013946, + "end_time": "2026-10-21T01:15:14.581309+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:14.567363+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -205,6 +391,13 @@ "cell_type": "markdown", "id": "19e37cea", "metadata": { + "papermill": { + "duration": 0.01197, + "end_time": "2026-10-21T01:15:14.605550+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:14.593580+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -240,6 +433,13 @@ "cell_type": "markdown", "id": "aa782b66", "metadata": { + "papermill": { + "duration": 0.013911, + "end_time": "2026-10-21T01:15:14.630731+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:14.616820+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -263,6 +463,19 @@ "dotnet_interactive": { "language": "csharp" }, + "execution": { + "iopub.execute_input": "2026-10-21T01:15:14.657597Z", + "iopub.status.busy": "2026-10-21T01:15:14.657072Z", + "iopub.status.idle": "2026-10-21T01:15:18.771230Z", + "shell.execute_reply": "2026-10-21T01:15:18.770627Z" + }, + "papermill": { + "duration": 4.130728, + "end_time": "2026-10-21T01:15:18.771230+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:14.640502+00:00", + "status": "completed" + }, "polyglot_notebook": { "kernelName": "csharp" }, @@ -273,29 +486,39 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "Compiling model..." + "output_type": "stream", + "text": [ + "Compiling model..." + ] }, { - "output_type": "stream", "name": "stdout", - "text": "done.\r\n" + "output_type": "stream", + "text": [ + "done.\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "=== Modele 1 : Prior seulement ===\r\n" + "output_type": "stream", + "text": [ + "=== Modele 1 : Prior seulement ===\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "P(Auburn coupable) = 0,70\r\n" + "output_type": "stream", + "text": [ + "P(Auburn coupable) = 0,70\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "P(Grey coupable) = 0,30\r\n" + "output_type": "stream", + "text": [ + "P(Grey coupable) = 0,30\r\n" + ] } ], "source": [ @@ -318,6 +541,13 @@ "cell_type": "markdown", "id": "gmwk6d9jwa8", "metadata": { + "papermill": { + "duration": 0.010465, + "end_time": "2026-10-21T01:15:18.793402+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:18.782937+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -332,6 +562,13 @@ "cell_type": "markdown", "id": "a6107f94", "metadata": { + "papermill": { + "duration": 0.011991, + "end_time": "2026-10-21T01:15:18.815893+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:18.803902+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -358,6 +595,19 @@ "dotnet_interactive": { "language": "csharp" }, + "execution": { + "iopub.execute_input": "2026-10-21T01:15:18.842567Z", + "iopub.status.busy": "2026-10-21T01:15:18.842011Z", + "iopub.status.idle": "2026-10-21T01:15:19.915463Z", + "shell.execute_reply": "2026-10-21T01:15:19.915463Z" + }, + "papermill": { + "duration": 1.088843, + "end_time": "2026-10-21T01:15:19.915463+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:18.826620+00:00", + "status": "completed" + }, "polyglot_notebook": { "kernelName": "csharp" }, @@ -368,29 +618,39 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "Compiling model..." + "output_type": "stream", + "text": [ + "Compiling model..." + ] }, { - "output_type": "stream", "name": "stdout", - "text": "done.\r\n" + "output_type": "stream", + "text": [ + "done.\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "=== Modele 2 : Prior + Arme (revolver) ===\r\n" + "output_type": "stream", + "text": [ + "=== Modele 2 : Prior + Arme (revolver) ===\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "P(Auburn coupable | arme=revolver) = 0,913\r\n" + "output_type": "stream", + "text": [ + "P(Auburn coupable | arme=revolver) = 0,913\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "P(Grey coupable | arme=revolver) = 0,087\r\n" + "output_type": "stream", + "text": [ + "P(Grey coupable | arme=revolver) = 0,087\r\n" + ] } ], "source": [ @@ -429,6 +689,13 @@ "cell_type": "markdown", "id": "135cee1f", "metadata": { + "papermill": { + "duration": 0.011274, + "end_time": "2026-10-21T01:15:19.940498+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:19.929224+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -452,6 +719,13 @@ "cell_type": "markdown", "id": "5d113cd7", "metadata": { + "papermill": { + "duration": 0.010151, + "end_time": "2026-10-21T01:15:19.966396+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:19.956245+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -479,6 +753,19 @@ "dotnet_interactive": { "language": "csharp" }, + "execution": { + "iopub.execute_input": "2026-10-21T01:15:19.994158Z", + "iopub.status.busy": "2026-10-21T01:15:19.994158Z", + "iopub.status.idle": "2026-10-21T01:15:20.849764Z", + "shell.execute_reply": "2026-10-21T01:15:20.849040Z" + }, + "papermill": { + "duration": 0.86935, + "end_time": "2026-10-21T01:15:20.850320+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:19.980970+00:00", + "status": "completed" + }, "polyglot_notebook": { "kernelName": "csharp" }, @@ -489,29 +776,39 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "Compiling model..." + "output_type": "stream", + "text": [ + "Compiling model..." + ] }, { - "output_type": "stream", "name": "stdout", - "text": "done.\r\n" + "output_type": "stream", + "text": [ + "done.\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "=== Modele 3 : Prior + Arme (revolver) + Cheveu (gris) ===\r\n" + "output_type": "stream", + "text": [ + "=== Modele 3 : Prior + Arme (revolver) + Cheveu (gris) ===\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "P(Auburn coupable | arme=revolver, cheveu=gris) = 0,700\r\n" + "output_type": "stream", + "text": [ + "P(Auburn coupable | arme=revolver, cheveu=gris) = 0,700\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "P(Grey coupable | arme=revolver, cheveu=gris) = 0,300\r\n" + "output_type": "stream", + "text": [ + "P(Grey coupable | arme=revolver, cheveu=gris) = 0,300\r\n" + ] } ], "source": [ @@ -562,6 +859,13 @@ "cell_type": "markdown", "id": "e2ab7aa6", "metadata": { + "papermill": { + "duration": 0.011895, + "end_time": "2026-10-21T01:15:20.873150+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:20.861255+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -589,6 +893,13 @@ "cell_type": "markdown", "id": "z0rfo6ik1qh", "metadata": { + "papermill": { + "duration": 0.016706, + "end_time": "2026-10-21T01:15:20.905815+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:20.889109+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -606,9 +917,22 @@ "execution_count": 6, "id": "8ilype0hrh", "metadata": { + "execution": { + "iopub.execute_input": "2026-10-21T01:15:20.942633Z", + "iopub.status.busy": "2026-10-21T01:15:20.942093Z", + "iopub.status.idle": "2026-10-21T01:15:22.340157Z", + "shell.execute_reply": "2026-10-21T01:15:22.339490Z" + }, "language_info": { "name": "polyglot-notebook" }, + "papermill": { + "duration": 1.414719, + "end_time": "2026-10-21T01:15:22.340157+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:20.925438+00:00", + "status": "completed" + }, "polyglot_notebook": { "kernelName": "csharp" }, @@ -619,31 +943,210 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "Compiling model..." + "output_type": "stream", + "text": [ + "Compiling model..." + ] }, { - "output_type": "stream", "name": "stdout", - "text": "done.\r\n" + "output_type": "stream", + "text": [ + "done.\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "P(Auburn) = 0,700\r\n" + "output_type": "stream", + "text": [ + "P(Auburn) = 0,700\r\n" + ] }, { - "output_type": "display_data", "data": { - "text/html": "\n
\n
Model_10_07_26_22_00_48_57.svg
\n
\n \r\n\r\n\r\n\r\n\r\n\r\nModel\r\n\r\n\r\n\r\nnode0\r\n\r\nBernoulli(0,7)\r\n\r\n\r\n\r\nnode1\r\n\r\nRandom\r\n\r\n\r\n\r\nnode0->node1\r\n\r\n\r\ndist\r\n\r\n\r\n\r\nnode2\r\n\r\nmeurtrier\r\n\r\n\r\n\r\nnode1->node2\r\n\r\n\r\n\r\n\r\n\r\nnode5\r\n\r\nTrue\r\n\r\n\r\n\r\nnode2->node5\r\n\r\n\r\ncondition\r\n\r\n\r\n\r\nnode8\r\n\r\nFalse\r\n\r\n\r\n\r\nnode2->node8\r\n\r\n\r\ncondition\r\n\r\n\r\n\r\nnode3\r\n\r\nBernoulli(0,9)\r\n\r\n\r\n\r\nnode4\r\n\r\nRandom\r\n\r\n\r\n\r\nnode3->node4\r\n\r\n\r\ndist\r\n\r\n\r\n\r\nnode4->node5\r\n\r\n\r\n\r\n\r\n\r\nnode6\r\n\r\nBernoulli(0,8)\r\n\r\n\r\n\r\nnode7\r\n\r\nRandom\r\n\r\n\r\n\r\nnode6->node7\r\n\r\n\r\ndist\r\n\r\n\r\n\r\nnode7->node8\r\n\r\n\r\n\r\n\r\n\r\nnode9\r\n\r\nBernoulli(0,2)\r\n\r\n\r\n\r\nnode10\r\n\r\nRandom\r\n\r\n\r\n\r\nnode9->node10\r\n\r\n\r\ndist\r\n\r\n\r\n\r\nnode10->node5\r\n\r\n\r\n\r\n\r\n\r\nnode11\r\n\r\nBernoulli(0,1)\r\n\r\n\r\n\r\nnode12\r\n\r\nRandom\r\n\r\n\r\n\r\nnode11->node12\r\n\r\n\r\ndist\r\n\r\n\r\n\r\nnode12->node8\r\n\r\n\r\n\r\n\r\n\r\n\n
\n
" + "text/html": [ + "\r\n", + "
\r\n", + "
Model_10_21_26_03_15_21_16.svg
\r\n", + "
\r\n", + " \r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "Model\r\n", + "\r\n", + "\r\n", + "\r\n", + "node0\r\n", + "\r\n", + "Bernoulli(0,7)\r\n", + "\r\n", + "\r\n", + "\r\n", + "node1\r\n", + "\r\n", + "Random\r\n", + "\r\n", + "\r\n", + "\r\n", + "node0->node1\r\n", + "\r\n", + "\r\n", + "dist\r\n", + "\r\n", + "\r\n", + "\r\n", + "node2\r\n", + "\r\n", + "meurtrier\r\n", + "\r\n", + "\r\n", + "\r\n", + "node1->node2\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "node5\r\n", + "\r\n", + "True\r\n", + "\r\n", + "\r\n", + "\r\n", + "node2->node5\r\n", + "\r\n", + "\r\n", + "condition\r\n", + "\r\n", + "\r\n", + "\r\n", + "node8\r\n", + "\r\n", + "False\r\n", + "\r\n", + "\r\n", + "\r\n", + "node2->node8\r\n", + "\r\n", + "\r\n", + "condition\r\n", + "\r\n", + "\r\n", + "\r\n", + "node3\r\n", + "\r\n", + "Bernoulli(0,9)\r\n", + "\r\n", + "\r\n", + "\r\n", + "node4\r\n", + "\r\n", + "Random\r\n", + "\r\n", + "\r\n", + "\r\n", + "node3->node4\r\n", + "\r\n", + "\r\n", + "dist\r\n", + "\r\n", + "\r\n", + "\r\n", + "node4->node5\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "node6\r\n", + "\r\n", + "Bernoulli(0,8)\r\n", + "\r\n", + "\r\n", + "\r\n", + "node7\r\n", + "\r\n", + "Random\r\n", + "\r\n", + "\r\n", + "\r\n", + "node6->node7\r\n", + "\r\n", + "\r\n", + "dist\r\n", + "\r\n", + "\r\n", + "\r\n", + "node7->node8\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "node9\r\n", + "\r\n", + "Bernoulli(0,2)\r\n", + "\r\n", + "\r\n", + "\r\n", + "node10\r\n", + "\r\n", + "Random\r\n", + "\r\n", + "\r\n", + "\r\n", + "node9->node10\r\n", + "\r\n", + "\r\n", + "dist\r\n", + "\r\n", + "\r\n", + "\r\n", + "node10->node5\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "node11\r\n", + "\r\n", + "Bernoulli(0,1)\r\n", + "\r\n", + "\r\n", + "\r\n", + "node12\r\n", + "\r\n", + "Random\r\n", + "\r\n", + "\r\n", + "\r\n", + "node11->node12\r\n", + "\r\n", + "\r\n", + "dist\r\n", + "\r\n", + "\r\n", + "\r\n", + "node12->node8\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "
\r\n", + "
" + ] }, - "metadata": {} - }, - { - "output_type": "stream", - "name": "stderr", - "text": "\r\nwarning CS1701: En supposant que la référence d'assembly 'Microsoft.AspNetCore.Html.Abstractions, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' utilisée par 'Microsoft.DotNet.Interactive' correspond à l'identité 'Microsoft.AspNetCore.Html.Abstractions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' de 'Microsoft.AspNetCore.Html.Abstractions', il se peut que vous deviez fournir une stratégie runtime\r\n\r\n" + "metadata": {}, + "output_type": "display_data" } ], "source": [ @@ -676,13 +1179,20 @@ "Console.WriteLine($\"P(Auburn) = {resultViz.GetProbTrue():F3}\");\n", "\n", "// Afficher le factor graph inline\n", - "display(HTML(FactorGraphHelper.GetLatestFactorGraphHtml()));" + "FactorGraphHelper.GetLatestFactorGraphHtml().DisplayAs(\"text/html\");" ] }, { "cell_type": "markdown", "id": "o8zd7hkzsi8", "metadata": { + "papermill": { + "duration": 0.012249, + "end_time": "2026-10-21T01:15:22.364137+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:22.351888+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -705,6 +1215,13 @@ "cell_type": "markdown", "id": "8d35d4a7", "metadata": { + "papermill": { + "duration": 0.015666, + "end_time": "2026-10-21T01:15:22.393904+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:22.378238+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -731,13 +1248,28 @@ "execution_count": 7, "id": "c60f625c", "metadata": { + "execution": { + "iopub.execute_input": "2026-10-21T01:15:22.424790Z", + "iopub.status.busy": "2026-10-21T01:15:22.424790Z", + "iopub.status.idle": "2026-10-21T01:15:22.503903Z", + "shell.execute_reply": "2026-10-21T01:15:22.503903Z" + }, + "papermill": { + "duration": 0.095383, + "end_time": "2026-10-21T01:15:22.503903+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:22.408520+00:00", + "status": "completed" + }, "tags": [] }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "Exercice a completer : Sensibilite au prior\r\n" + "output_type": "stream", + "text": [ + "Exercice a completer : Sensibilite au prior\r\n" + ] } ], "source": [ @@ -762,6 +1294,13 @@ "cell_type": "markdown", "id": "fc9fc7cc", "metadata": { + "papermill": { + "duration": 0.012465, + "end_time": "2026-10-21T01:15:22.532539+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:22.520074+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -787,6 +1326,13 @@ "cell_type": "markdown", "id": "p3vib2dlpld", "metadata": { + "papermill": { + "duration": 0.014822, + "end_time": "2026-10-21T01:15:22.559656+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:22.544834+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -814,6 +1360,19 @@ "dotnet_interactive": { "language": "csharp" }, + "execution": { + "iopub.execute_input": "2026-10-21T01:15:22.590029Z", + "iopub.status.busy": "2026-10-21T01:15:22.589414Z", + "iopub.status.idle": "2026-10-21T01:15:22.748967Z", + "shell.execute_reply": "2026-10-21T01:15:22.748967Z" + }, + "papermill": { + "duration": 0.177058, + "end_time": "2026-10-21T01:15:22.748967+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:22.571909+00:00", + "status": "completed" + }, "polyglot_notebook": { "kernelName": "csharp" }, @@ -824,9 +1383,11 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "Modele Monty Hall defini.\r\n" + "output_type": "stream", + "text": [ + "Modele Monty Hall defini.\r\n" + ] } ], "source": [ @@ -906,6 +1467,13 @@ "cell_type": "markdown", "id": "q0x6quick6h", "metadata": { + "papermill": { + "duration": 0.010548, + "end_time": "2026-10-21T01:15:22.773324+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:22.762776+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -925,6 +1493,13 @@ "cell_type": "markdown", "id": "ipzo7eq8pj8", "metadata": { + "papermill": { + "duration": 0.013075, + "end_time": "2026-10-21T01:15:22.799329+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:22.786254+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -945,6 +1520,19 @@ "dotnet_interactive": { "language": "csharp" }, + "execution": { + "iopub.execute_input": "2026-10-21T01:15:22.829195Z", + "iopub.status.busy": "2026-10-21T01:15:22.828598Z", + "iopub.status.idle": "2026-10-21T01:15:23.940828Z", + "shell.execute_reply": "2026-10-21T01:15:23.940828Z" + }, + "papermill": { + "duration": 1.129425, + "end_time": "2026-10-21T01:15:23.940828+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:22.811403+00:00", + "status": "completed" + }, "polyglot_notebook": { "kernelName": "csharp" }, @@ -955,59 +1543,83 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "Compiling model..." + "output_type": "stream", + "text": [ + "Compiling model..." + ] }, { - "output_type": "stream", "name": "stdout", - "text": "done.\r\n" + "output_type": "stream", + "text": [ + "done.\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "=== Paradoxe de Monty Hall ===\r\n" + "output_type": "stream", + "text": [ + "=== Paradoxe de Monty Hall ===\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Choix du joueur : porte 0\r\n" + "output_type": "stream", + "text": [ + "Choix du joueur : porte 0\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Porte ouverte par Monty : porte 2 (chevre)\n\r\n" + "output_type": "stream", + "text": [ + "Porte ouverte par Monty : porte 2 (chevre)\n", + "\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "P(voiture derriere porte 0) = 0,333\r\n" + "output_type": "stream", + "text": [ + "P(voiture derriere porte 0) = 0,333\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "P(voiture derriere porte 1) = 0,667\r\n" + "output_type": "stream", + "text": [ + "P(voiture derriere porte 1) = 0,667\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "P(voiture derriere porte 2) = 0,000\r\n" + "output_type": "stream", + "text": [ + "P(voiture derriere porte 2) = 0,000\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "\n=> Le joueur devrait CHANGER pour la porte 1 !\r\n" + "output_type": "stream", + "text": [ + "\n", + "=> Le joueur devrait CHANGER pour la porte 1 !\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " En gardant : 33% de chance\r\n" + "output_type": "stream", + "text": [ + " En gardant : 33% de chance\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": " En changeant : 67% de chance\r\n" + "output_type": "stream", + "text": [ + " En changeant : 67% de chance\r\n" + ] } ], "source": [ @@ -1037,6 +1649,13 @@ "cell_type": "markdown", "id": "sr06732og7", "metadata": { + "papermill": { + "duration": 0.015068, + "end_time": "2026-10-21T01:15:23.970870+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:23.955802+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -1059,6 +1678,13 @@ "cell_type": "markdown", "id": "hxlk3pl71mn", "metadata": { + "papermill": { + "duration": 0.015528, + "end_time": "2026-10-21T01:15:24.002914+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:23.987386+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -1079,9 +1705,22 @@ "execution_count": 10, "id": "tewfv8dwn9e", "metadata": { + "execution": { + "iopub.execute_input": "2026-10-21T01:15:24.038560Z", + "iopub.status.busy": "2026-10-21T01:15:24.037999Z", + "iopub.status.idle": "2026-10-21T01:15:25.438186Z", + "shell.execute_reply": "2026-10-21T01:15:25.437180Z" + }, "language_info": { "name": "polyglot-notebook" }, + "papermill": { + "duration": 1.420295, + "end_time": "2026-10-21T01:15:25.438186+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:24.017891+00:00", + "status": "completed" + }, "polyglot_notebook": { "kernelName": "csharp" }, @@ -1092,36 +1731,405 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "Compiling model..." + "output_type": "stream", + "text": [ + "Compiling model..." + ] }, { - "output_type": "stream", "name": "stdout", - "text": "done.\r\n" + "output_type": "stream", + "text": [ + "done.\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Factor graph Monty Hall genere.\r\n" + "output_type": "stream", + "text": [ + "Factor graph Monty Hall genere.\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Verification: P(voiture porte 1) = 0,667\r\n" + "output_type": "stream", + "text": [ + "Verification: P(voiture porte 1) = 0,667\r\n" + ] }, { - "output_type": "display_data", "data": { - "text/html": "\n
\n
Model_10_07_26_22_00_50_82.svg
\n
\n \r\n\r\n\r\n\r\n\r\n\r\nModel\r\n\r\n\r\n\r\nnode0\r\n\r\n3\r\n\r\n\r\n\r\nnode1\r\n\r\nDiscreteUniform\r\n\r\n\r\n\r\nnode0->node1\r\n\r\n\r\nsize\r\n\r\n\r\n\r\nnode2\r\n\r\nvoiture\r\n\r\n\r\n\r\nnode1->node2\r\n\r\n\r\n\r\n\r\n\r\nnode8\r\n\r\n2\r\n\r\n\r\n\r\nnode2->node8\r\n\r\n\r\ncondition\r\n\r\n\r\n\r\nnode3\r\n\r\n2\r\n\r\n\r\n\r\nnode4\r\n\r\nDiscreteUniform\r\n\r\n\r\n\r\nnode3->node4\r\n\r\n\r\nsize\r\n\r\n\r\n\r\nnode5\r\n\r\nvint23\r\n\r\n\r\n\r\nnode4->node5\r\n\r\n\r\n\r\n\r\n\r\nnode6\r\n\r\nPlus\r\n\r\n\r\n\r\nnode5->node6\r\n\r\n\r\na\r\n\r\n\r\n\r\nnode6->node8\r\n\r\n\r\n\r\n\r\n\r\nnode7\r\n\r\n1\r\n\r\n\r\n\r\nnode7->node6\r\n\r\n\r\nb\r\n\r\n\r\n\r\nnode9\r\n\r\n0\r\n\r\n\r\n\r\nnode9->node8\r\n\r\n\r\ncondition\r\n\r\n\r\n\r\nnode10\r\n\r\n2\r\n\r\n\r\n\r\nnode11\r\n\r\nCopy\r\n\r\n\r\n\r\nnode10->node11\r\n\r\n\r\nvalue\r\n\r\n\r\n\r\nnode11->node8\r\n\r\n\r\n\r\n\r\n\r\nnode12\r\n\r\n1\r\n\r\n\r\n\r\nnode13\r\n\r\nCopy\r\n\r\n\r\n\r\nnode12->node13\r\n\r\n\r\nvalue\r\n\r\n\r\n\r\nnode13->node8\r\n\r\n\r\n\r\n\r\n\r\nnode14\r\n\r\n2\r\n\r\n\r\n\r\nnode15\r\n\r\nCopy\r\n\r\n\r\n\r\nnode14->node15\r\n\r\n\r\nvalue\r\n\r\n\r\n\r\nnode15->node8\r\n\r\n\r\n\r\n\r\n\r\nnode16\r\n\r\nvDiscrete2\r\n\r\n\r\n\r\nnode17\r\n\r\nRandom\r\n\r\n\r\n\r\nnode16->node17\r\n\r\n\r\ndist\r\n\r\n\r\n\r\nnode17->node8\r\n\r\n\r\n\r\n\r\n\r\nnode18\r\n\r\n0\r\n\r\n\r\n\r\nnode19\r\n\r\nCopy\r\n\r\n\r\n\r\nnode18->node19\r\n\r\n\r\nvalue\r\n\r\n\r\n\r\nnode19->node8\r\n\r\n\r\n\r\n\r\n\r\nnode20\r\n\r\n1\r\n\r\n\r\n\r\nnode21\r\n\r\nCopy\r\n\r\n\r\n\r\nnode20->node21\r\n\r\n\r\nvalue\r\n\r\n\r\n\r\nnode21->node8\r\n\r\n\r\n\r\n\r\n\r\nnode22\r\n\r\n0\r\n\r\n\r\n\r\nnode23\r\n\r\nCopy\r\n\r\n\r\n\r\nnode22->node23\r\n\r\n\r\nvalue\r\n\r\n\r\n\r\nnode23->node8\r\n\r\n\r\n\r\n\r\n\r\nnode24\r\n\r\nvDiscrete3\r\n\r\n\r\n\r\nnode25\r\n\r\nRandom\r\n\r\n\r\n\r\nnode24->node25\r\n\r\n\r\ndist\r\n\r\n\r\n\r\nnode25->node8\r\n\r\n\r\n\r\n\r\n\r\nnode26\r\n\r\n3\r\n\r\n\r\n\r\nnode27\r\n\r\nDiscreteUniform\r\n\r\n\r\n\r\nnode26->node27\r\n\r\n\r\nsize\r\n\r\n\r\n\r\nnode27->node9\r\n\r\n\r\n\r\n\r\n\r\n\n
\n
" + "text/html": [ + "\r\n", + "
\r\n", + "
Model_10_21_26_03_15_24_29.svg
\r\n", + "
\r\n", + " \r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "Model\r\n", + "\r\n", + "\r\n", + "\r\n", + "node0\r\n", + "\r\n", + "3\r\n", + "\r\n", + "\r\n", + "\r\n", + "node1\r\n", + "\r\n", + "DiscreteUniform\r\n", + "\r\n", + "\r\n", + "\r\n", + "node0->node1\r\n", + "\r\n", + "\r\n", + "size\r\n", + "\r\n", + "\r\n", + "\r\n", + "node2\r\n", + "\r\n", + "voiture\r\n", + "\r\n", + "\r\n", + "\r\n", + "node1->node2\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "node8\r\n", + "\r\n", + "2\r\n", + "\r\n", + "\r\n", + "\r\n", + "node2->node8\r\n", + "\r\n", + "\r\n", + "condition\r\n", + "\r\n", + "\r\n", + "\r\n", + "node3\r\n", + "\r\n", + "2\r\n", + "\r\n", + "\r\n", + "\r\n", + "node4\r\n", + "\r\n", + "DiscreteUniform\r\n", + "\r\n", + "\r\n", + "\r\n", + "node3->node4\r\n", + "\r\n", + "\r\n", + "size\r\n", + "\r\n", + "\r\n", + "\r\n", + "node5\r\n", + "\r\n", + "vint23\r\n", + "\r\n", + "\r\n", + "\r\n", + "node4->node5\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "node6\r\n", + "\r\n", + "Plus\r\n", + "\r\n", + "\r\n", + "\r\n", + "node5->node6\r\n", + "\r\n", + "\r\n", + "a\r\n", + "\r\n", + "\r\n", + "\r\n", + "node6->node8\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "node7\r\n", + "\r\n", + "1\r\n", + "\r\n", + "\r\n", + "\r\n", + "node7->node6\r\n", + "\r\n", + "\r\n", + "b\r\n", + "\r\n", + "\r\n", + "\r\n", + "node9\r\n", + "\r\n", + "0\r\n", + "\r\n", + "\r\n", + "\r\n", + "node9->node8\r\n", + "\r\n", + "\r\n", + "condition\r\n", + "\r\n", + "\r\n", + "\r\n", + "node10\r\n", + "\r\n", + "2\r\n", + "\r\n", + "\r\n", + "\r\n", + "node11\r\n", + "\r\n", + "Copy\r\n", + "\r\n", + "\r\n", + "\r\n", + "node10->node11\r\n", + "\r\n", + "\r\n", + "value\r\n", + "\r\n", + "\r\n", + "\r\n", + "node11->node8\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "node12\r\n", + "\r\n", + "1\r\n", + "\r\n", + "\r\n", + "\r\n", + "node13\r\n", + "\r\n", + "Copy\r\n", + "\r\n", + "\r\n", + "\r\n", + "node12->node13\r\n", + "\r\n", + "\r\n", + "value\r\n", + "\r\n", + "\r\n", + "\r\n", + "node13->node8\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "node14\r\n", + "\r\n", + "2\r\n", + "\r\n", + "\r\n", + "\r\n", + "node15\r\n", + "\r\n", + "Copy\r\n", + "\r\n", + "\r\n", + "\r\n", + "node14->node15\r\n", + "\r\n", + "\r\n", + "value\r\n", + "\r\n", + "\r\n", + "\r\n", + "node15->node8\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "node16\r\n", + "\r\n", + "vDiscrete2\r\n", + "\r\n", + "\r\n", + "\r\n", + "node17\r\n", + "\r\n", + "Random\r\n", + "\r\n", + "\r\n", + "\r\n", + "node16->node17\r\n", + "\r\n", + "\r\n", + "dist\r\n", + "\r\n", + "\r\n", + "\r\n", + "node17->node8\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "node18\r\n", + "\r\n", + "0\r\n", + "\r\n", + "\r\n", + "\r\n", + "node19\r\n", + "\r\n", + "Copy\r\n", + "\r\n", + "\r\n", + "\r\n", + "node18->node19\r\n", + "\r\n", + "\r\n", + "value\r\n", + "\r\n", + "\r\n", + "\r\n", + "node19->node8\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "node20\r\n", + "\r\n", + "1\r\n", + "\r\n", + "\r\n", + "\r\n", + "node21\r\n", + "\r\n", + "Copy\r\n", + "\r\n", + "\r\n", + "\r\n", + "node20->node21\r\n", + "\r\n", + "\r\n", + "value\r\n", + "\r\n", + "\r\n", + "\r\n", + "node21->node8\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "node22\r\n", + "\r\n", + "0\r\n", + "\r\n", + "\r\n", + "\r\n", + "node23\r\n", + "\r\n", + "Copy\r\n", + "\r\n", + "\r\n", + "\r\n", + "node22->node23\r\n", + "\r\n", + "\r\n", + "value\r\n", + "\r\n", + "\r\n", + "\r\n", + "node23->node8\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "node24\r\n", + "\r\n", + "vDiscrete3\r\n", + "\r\n", + "\r\n", + "\r\n", + "node25\r\n", + "\r\n", + "Random\r\n", + "\r\n", + "\r\n", + "\r\n", + "node24->node25\r\n", + "\r\n", + "\r\n", + "dist\r\n", + "\r\n", + "\r\n", + "\r\n", + "node25->node8\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "node26\r\n", + "\r\n", + "3\r\n", + "\r\n", + "\r\n", + "\r\n", + "node27\r\n", + "\r\n", + "DiscreteUniform\r\n", + "\r\n", + "\r\n", + "\r\n", + "node26->node27\r\n", + "\r\n", + "\r\n", + "size\r\n", + "\r\n", + "\r\n", + "\r\n", + "node27->node9\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "\r\n", + "
\r\n", + "
" + ] }, - "metadata": {} - }, - { - "output_type": "stream", - "name": "stderr", - "text": "\r\nwarning CS1701: En supposant que la référence d'assembly 'Microsoft.AspNetCore.Html.Abstractions, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' utilisée par 'Microsoft.DotNet.Interactive' correspond à l'identité 'Microsoft.AspNetCore.Html.Abstractions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' de 'Microsoft.AspNetCore.Html.Abstractions', il se peut que vous deviez fournir une stratégie runtime\r\n\r\n" + "metadata": {}, + "output_type": "display_data" } ], "source": [ @@ -1164,13 +2172,20 @@ "Console.WriteLine($\"Verification: P(voiture porte 1) = {resultMontyViz.GetProbs()[1]:F3}\");\n", "\n", "// Afficher le factor graph\n", - "display(HTML(FactorGraphHelper.GetLatestFactorGraphHtml()));" + "FactorGraphHelper.GetLatestFactorGraphHtml().DisplayAs(\"text/html\");" ] }, { "cell_type": "markdown", "id": "4dda0635", "metadata": { + "papermill": { + "duration": 0.016921, + "end_time": "2026-10-21T01:15:25.472187+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:25.455266+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -1188,6 +2203,13 @@ "cell_type": "markdown", "id": "279b4b47", "metadata": { + "papermill": { + "duration": 0.016687, + "end_time": "2026-10-21T01:15:25.506591+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:25.489904+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -1220,13 +2242,28 @@ "execution_count": 11, "id": "136335b2", "metadata": { + "execution": { + "iopub.execute_input": "2026-10-21T01:15:25.539753Z", + "iopub.status.busy": "2026-10-21T01:15:25.539753Z", + "iopub.status.idle": "2026-10-21T01:15:25.626095Z", + "shell.execute_reply": "2026-10-21T01:15:25.625524Z" + }, + "papermill": { + "duration": 0.104395, + "end_time": "2026-10-21T01:15:25.626652+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:25.522257+00:00", + "status": "completed" + }, "tags": [] }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "Exercice a completer : Monty Hall avec 4 portes\r\n" + "output_type": "stream", + "text": [ + "Exercice a completer : Monty Hall avec 4 portes\r\n" + ] } ], "source": [ @@ -1250,6 +2287,13 @@ "cell_type": "markdown", "id": "1cqd0a1aivti", "metadata": { + "papermill": { + "duration": 0.018198, + "end_time": "2026-10-21T01:15:25.662355+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:25.644157+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -1272,6 +2316,13 @@ "cell_type": "markdown", "id": "49bb3283", "metadata": { + "papermill": { + "duration": 0.015615, + "end_time": "2026-10-21T01:15:25.693578+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:25.677963+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -1296,6 +2347,13 @@ "cell_type": "markdown", "id": "pfxz051sfd", "metadata": { + "papermill": { + "duration": 0.015853, + "end_time": "2026-10-21T01:15:25.727868+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:25.712015+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -1312,6 +2370,19 @@ "dotnet_interactive": { "language": "csharp" }, + "execution": { + "iopub.execute_input": "2026-10-21T01:15:25.763748Z", + "iopub.status.busy": "2026-10-21T01:15:25.763748Z", + "iopub.status.idle": "2026-10-21T01:15:25.860964Z", + "shell.execute_reply": "2026-10-21T01:15:25.860964Z" + }, + "papermill": { + "duration": 0.115619, + "end_time": "2026-10-21T01:15:25.860964+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:25.745345+00:00", + "status": "completed" + }, "polyglot_notebook": { "kernelName": "csharp" }, @@ -1322,24 +2393,33 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "=== Verification manuelle de Bayes ===\r\n" + "output_type": "stream", + "text": [ + "=== Verification manuelle de Bayes ===\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "P(Revolver) = 0,690\r\n" + "output_type": "stream", + "text": [ + "P(Revolver) = 0,690\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "P(Auburn|Revolver) = 0,913\r\n" + "output_type": "stream", + "text": [ + "P(Auburn|Revolver) = 0,913\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "\nCeci correspond au resultat d'Infer.NET !\r\n" + "output_type": "stream", + "text": [ + "\n", + "Ceci correspond au resultat d'Infer.NET !\r\n" + ] } ], "source": [ @@ -1367,6 +2447,13 @@ "cell_type": "markdown", "id": "2egjynj0qhj", "metadata": { + "papermill": { + "duration": 0.015161, + "end_time": "2026-10-21T01:15:25.891999+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:25.876838+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -1384,6 +2471,13 @@ "cell_type": "markdown", "id": "388daa33", "metadata": { + "papermill": { + "duration": 0.017596, + "end_time": "2026-10-21T01:15:25.929859+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:25.912263+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -1420,7 +2514,16 @@ { "cell_type": "markdown", "id": "cell-be8168fa", - "metadata": {}, + "metadata": { + "papermill": { + "duration": 0.013135, + "end_time": "2026-10-21T01:15:25.957978+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:25.944843+00:00", + "status": "completed" + }, + "tags": [] + }, "source": [ "### Exercice : Motif du crime avec `Variable.Case`\n", "\n", @@ -1445,12 +2548,29 @@ "cell_type": "code", "execution_count": 13, "id": "cell-75fd5727", - "metadata": {}, + "metadata": { + "execution": { + "iopub.execute_input": "2026-10-21T01:15:25.994778Z", + "iopub.status.busy": "2026-10-21T01:15:25.994778Z", + "iopub.status.idle": "2026-10-21T01:15:26.078276Z", + "shell.execute_reply": "2026-10-21T01:15:26.076756Z" + }, + "papermill": { + "duration": 0.101754, + "end_time": "2026-10-21T01:15:26.078276+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:25.976522+00:00", + "status": "completed" + }, + "tags": [] + }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "Exercice a completer : Motif du crime avec Variable.Case\r\n" + "output_type": "stream", + "text": [ + "Exercice a completer : Motif du crime avec Variable.Case\r\n" + ] } ], "source": [ @@ -1480,6 +2600,13 @@ "cell_type": "markdown", "id": "0d6d0ba2", "metadata": { + "papermill": { + "duration": 0.016798, + "end_time": "2026-10-21T01:15:26.113414+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:26.096616+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -1506,6 +2633,13 @@ "cell_type": "markdown", "id": "679egvvkri8", "metadata": { + "papermill": { + "duration": 0.01596, + "end_time": "2026-10-21T01:15:26.147022+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:26.131062+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -1531,6 +2665,19 @@ "dotnet_interactive": { "language": "csharp" }, + "execution": { + "iopub.execute_input": "2026-10-21T01:15:26.181075Z", + "iopub.status.busy": "2026-10-21T01:15:26.181075Z", + "iopub.status.idle": "2026-10-21T01:15:26.955852Z", + "shell.execute_reply": "2026-10-21T01:15:26.955286Z" + }, + "papermill": { + "duration": 0.792983, + "end_time": "2026-10-21T01:15:26.955852+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:26.162869+00:00", + "status": "completed" + }, "polyglot_notebook": { "kernelName": "csharp" }, @@ -1541,34 +2688,47 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "Compiling model..." + "output_type": "stream", + "text": [ + "Compiling model..." + ] }, { - "output_type": "stream", "name": "stdout", - "text": "done.\r\n" + "output_type": "stream", + "text": [ + "done.\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "=== Modele complet avec temoin ===\r\n" + "output_type": "stream", + "text": [ + "=== Modele complet avec temoin ===\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "Indices : arme=revolver, cheveu=gris, temoin=homme\n\r\n" + "output_type": "stream", + "text": [ + "Indices : arme=revolver, cheveu=gris, temoin=homme\n", + "\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "P(Auburn coupable) = 0,891\r\n" + "output_type": "stream", + "text": [ + "P(Auburn coupable) = 0,891\r\n" + ] }, { - "output_type": "stream", "name": "stdout", - "text": "P(Grey coupable) = 0,109\r\n" + "output_type": "stream", + "text": [ + "P(Grey coupable) = 0,109\r\n" + ] } ], "source": [ @@ -1629,6 +2789,13 @@ "cell_type": "markdown", "id": "pxy35droao", "metadata": { + "papermill": { + "duration": 0.01848, + "end_time": "2026-10-21T01:15:26.991685+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:26.973205+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -1655,6 +2822,13 @@ "cell_type": "markdown", "id": "sb08nqbu2xo", "metadata": { + "papermill": { + "duration": 0.017593, + "end_time": "2026-10-21T01:15:27.025226+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:27.007633+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -1676,6 +2850,13 @@ "cell_type": "markdown", "id": "xkce0tbg37k", "metadata": { + "papermill": { + "duration": 0.015762, + "end_time": "2026-10-21T01:15:27.058719+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:27.042957+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -1707,6 +2888,13 @@ "cell_type": "markdown", "id": "6766b0f9", "metadata": { + "papermill": { + "duration": 0.017461, + "end_time": "2026-10-21T01:15:27.092389+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:27.074928+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -1737,6 +2925,13 @@ "cell_type": "markdown", "id": "gyakzydsv4", "metadata": { + "papermill": { + "duration": 0.020456, + "end_time": "2026-10-21T01:15:27.128509+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:27.108053+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -1766,6 +2961,13 @@ "cell_type": "markdown", "id": "1cab470c", "metadata": { + "papermill": { + "duration": 0.018194, + "end_time": "2026-10-21T01:15:27.164595+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:27.146401+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -1791,9 +2993,22 @@ "execution_count": 15, "id": "8b8b23f0", "metadata": { + "execution": { + "iopub.execute_input": "2026-10-21T01:15:27.206792Z", + "iopub.status.busy": "2026-10-21T01:15:27.205786Z", + "iopub.status.idle": "2026-10-21T01:15:27.305349Z", + "shell.execute_reply": "2026-10-21T01:15:27.305349Z" + }, "language_info": { "name": "polyglot-notebook" }, + "papermill": { + "duration": 0.121215, + "end_time": "2026-10-21T01:15:27.305349+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:27.184134+00:00", + "status": "completed" + }, "polyglot_notebook": { "kernelName": "csharp" }, @@ -1804,9 +3019,11 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", - "text": "Exercice a completer\r\n" + "output_type": "stream", + "text": [ + "Exercice a completer\r\n" + ] } ], "source": [ @@ -1833,6 +3050,13 @@ "cell_type": "markdown", "id": "9875d7fb", "metadata": { + "papermill": { + "duration": 0.016777, + "end_time": "2026-10-21T01:15:27.339160+00:00", + "exception": false, + "start_time": "2026-10-21T01:15:27.322383+00:00", + "status": "completed" + }, "tags": [] }, "source": [ @@ -1888,6 +3112,18 @@ "pygments_lexer": "csharp", "version": "13.0" }, + "papermill": { + "default_parameters": {}, + "duration": 29.127858, + "end_time": "2026-10-21T01:15:27.802836+00:00", + "environment_variables": {}, + "exception": null, + "input_path": "Infer-03-Factor-Graphs.ipynb", + "output_path": "Infer-03-Factor-Graphs.ipynb", + "parameters": {}, + "start_time": "2026-10-21T01:14:58.674978+00:00", + "version": "2.7.0" + }, "polyglot_notebook": { "kernelInfo": { "defaultKernelName": "csharp", diff --git a/scripts/notebook_tools/twin_pairs.d/probas-1-setup.yaml b/scripts/notebook_tools/twin_pairs.d/probas-1-setup.yaml index a200b13e5e1..1c642db9e07 100644 --- a/scripts/notebook_tools/twin_pairs.d/probas-1-setup.yaml +++ b/scripts/notebook_tools/twin_pairs.d/probas-1-setup.yaml @@ -6,6 +6,7 @@ bridge_verdict: SOTA-OK bridge_verdict_reason: "Modele nominal lib-vs-lib cite par owner #10382 (\"PyMC vs Infer, 2 moteurs qui brillent\") : C# = Microsoft Infer.NET (Microsoft.ML.Probabilistic, NuGet officiel, native .NET, inférence variationnelle EP/VMP) et Python = PyMC (pip pymc, native Python, NUTS/HMC + ADVI). Chaque cote atteint le moteur SOTA de son ecosysteme probabiliste -- ni pont intermediaire ni reimplementation. Aucune asymetrie de machinerie a corriger. Verifie firsthand : C# Microsoft.ML.Probabilistic refs + execution_count, Python pymc imports." known_differences: + - '2026-10-21 (PR #21727, myia-po-2028:CoursIA) : REBASELINE cote C# -- tranche famille A #14122 (avertissement CS1701). Fix causal : `display(HTML(FactorGraphHelper.GetLatestFactorGraphHtml()))` devient `FactorGraphHelper.GetLatestFactorGraphHtml().DisplayAs("text/html")` -- meme HTML rendu sans lier `IHtmlContent` (Microsoft.AspNetCore.Html.Abstractions 2.2 vs hote 8.0) ; 2 sites de code (cellules 23 et 31) + 3 mentions didactiques alignees (docstring cellule 35, WriteLine cellule 10, markdown cellule 36 -- les eleves ne doivent pas recopier la forme qui declenche le warning). CS1701 en sortie : 1 -> 0. Re-execution complete du carnet (12/12 cellules de code, 0 erreur, 0 execution_count null, kernel .net-csharp, metadata.papermill 27,72 s) ; SVG factor-graph conserve (aucun repli viz-js, #15209 evite). Cote Python byte-identique a main. Attestation = nouveau blob SHA + content_csharp_sha du cote C#.' - '2026-10-07 (myia-po-2027:CoursIA) #19778 : csharp_sha rebaseline -- table Navigation cellule 0, colonne Suivant : Infer-2-Gaussian-Mixtures -> Infer-1b-Premiers-Modeles (raccord de la chaine 1 -> 1b -> 2, entree orpheline 1b). Infer-1b n a pas de jumeau Python enregistre -- chaine nav diff --git a/scripts/notebook_tools/twin_pairs.d/probas-1-setup/0019-2026-10-21-myia-po-2028-CoursIA.yaml b/scripts/notebook_tools/twin_pairs.d/probas-1-setup/0019-2026-10-21-myia-po-2028-CoursIA.yaml new file mode 100644 index 00000000000..f4bd19acb5b --- /dev/null +++ b/scripts/notebook_tools/twin_pairs.d/probas-1-setup/0019-2026-10-21-myia-po-2028-CoursIA.yaml @@ -0,0 +1,6 @@ +date: '2026-10-21' +by: myia-po-2028:CoursIA +python_sha: 13932cfc8b5dd990e4bd96c950154e3c2502edb7 +csharp_sha: 3551d741ddc567a35b2d79f486293aec95360452 +content_python_sha: e3485fa8888c9dd51d23bdb9f208a32882b5a24cb8beb16547c50239108b8393 +content_csharp_sha: a91eb6867786fdb02abc275c50b4946a5cbe6a580e149e49f4b4b1b3710bec39 diff --git a/scripts/notebook_tools/twin_pairs.d/probas-2b-debugging.yaml b/scripts/notebook_tools/twin_pairs.d/probas-2b-debugging.yaml index ffa3549085d..9964c534514 100644 --- a/scripts/notebook_tools/twin_pairs.d/probas-2b-debugging.yaml +++ b/scripts/notebook_tools/twin_pairs.d/probas-2b-debugging.yaml @@ -6,6 +6,7 @@ bridge_verdict: SOTA-OK bridge_verdict_reason: "Modele nominal lib-vs-lib cite par owner #10382 (\"PyMC vs Infer, 2 moteurs qui brillent\") : C# = Microsoft Infer.NET (Microsoft.ML.Probabilistic, NuGet officiel, native .NET, inférence variationnelle EP/VMP) et Python = PyMC (pip pymc, native Python, NUTS/HMC + ADVI). Chaque cote atteint le moteur SOTA de son ecosysteme probabiliste -- ni pont intermediaire ni reimplementation. Aucune asymetrie de machinerie a corriger. Verifie firsthand : C# Microsoft.ML.Probabilistic refs + execution_count, Python pymc imports." known_differences: + - '2026-10-21 (PR #21727, myia-po-2028:CoursIA) : REBASELINE cote C# -- tranche famille A #14122. Meme fix causal que Probas-1 Setup : `.DisplayAs("text/html")` remplace `display(HTML(...))` sur 3 sites de code (cellules 10, 28, 41) + 2 mentions didactiques (cellules 6 et 23). CS1701 en sortie : 3 -> 0. Re-execution complete (19/19 cellules de code, 0 erreur, 0 execution_count null, kernel .net-csharp, metadata.papermill 41,76 s) ; les sorties NuGet vides de la base deviennent des `Installed Packages` reelles. Cote Python byte-identique a main. Attestation = nouveau blob SHA + content_csharp_sha du cote C#.' - '2026-10-02 (myia-po-2023:CoursIA) #18793 : REBASELINE cote C# -- cure canonique d''accents #2876 markdown-only (Infer-2b-Debugging-Bonnes-Pratiques.ipynb : 5 cellules md, 0 cellule code, outputs/execution_count intacts) ; jumeau Python non touche. Aucun strip outille en attente.' - '2026-08-21 (rebaseline asymetrique myia-po-2024:CoursIA-2) : PR #12065 corrige heading_in_list cote C# (Infer-6-Debugging.ipynb, 3 findings) tandis que le jumeau Python (PyMC-06-Debugging.ipynb) etait deja a 0 finding. La convergence unilaterale est legitime (cf ai-01 arbitrage 2026-08-21 15:00Z, DM msg-20260821T130006-lc9u2c) : la parite reelle s''ameliore, elle n''est pas enshrinee. Aucun strip outille en attente (probe banner 0, papermill 0, machine paths 0).' - 'Socle pedagogique commun : debugging de modeles probabilistes (diagnostics d''inference) modelise dans les deux stacks.' diff --git a/scripts/notebook_tools/twin_pairs.d/probas-2b-debugging/0021-2026-10-21-myia-po-2028-CoursIA.yaml b/scripts/notebook_tools/twin_pairs.d/probas-2b-debugging/0021-2026-10-21-myia-po-2028-CoursIA.yaml new file mode 100644 index 00000000000..6fa2c9e8aca --- /dev/null +++ b/scripts/notebook_tools/twin_pairs.d/probas-2b-debugging/0021-2026-10-21-myia-po-2028-CoursIA.yaml @@ -0,0 +1,6 @@ +date: '2026-10-21' +by: myia-po-2028:CoursIA +python_sha: 926b9d141cca9e01d0636ac59a2e315a365c11a8 +csharp_sha: 9ad797a5b531e0b34f8b8dece5bfa86a258ad853 +content_python_sha: e1108f0be702cafbf59c33b6e1ab17831446b2073e6f4b752023cc68e89eb78d +content_csharp_sha: f114d4f1914114d8955e5143056a3c032c8e0c01a44591f42c823ef3a06aecf4 diff --git a/scripts/notebook_tools/twin_pairs.d/probas-3-factor-graphs.yaml b/scripts/notebook_tools/twin_pairs.d/probas-3-factor-graphs.yaml index b29b1462819..48bf55559d0 100644 --- a/scripts/notebook_tools/twin_pairs.d/probas-3-factor-graphs.yaml +++ b/scripts/notebook_tools/twin_pairs.d/probas-3-factor-graphs.yaml @@ -6,6 +6,7 @@ bridge_verdict: SOTA-OK bridge_verdict_reason: "Modele nominal lib-vs-lib cite par owner #10382 (\"PyMC vs Infer, 2 moteurs qui brillent\") : C# = Microsoft Infer.NET (Microsoft.ML.Probabilistic, NuGet officiel, native .NET, inférence variationnelle EP/VMP) et Python = PyMC (pip pymc, native Python, NUTS/HMC + ADVI). Chaque cote atteint le moteur SOTA de son ecosysteme probabiliste -- ni pont intermediaire ni reimplementation. Aucune asymetrie de machinerie a corriger. Verifie firsthand : C# Microsoft.ML.Probabilistic refs + execution_count, Python pymc imports." known_differences: + - '2026-10-21 (PR #21727, myia-po-2028:CoursIA) : REBASELINE cote C# -- tranche famille A #14122. Meme fix causal : `.DisplayAs("text/html")` sur 2 sites de code (cellules 18 et 30) + 1 mention didactique (cellule 5). CS1701 en sortie : 2 -> 0. Re-execution complete (15/15 cellules de code, 0 erreur, 0 execution_count null, kernel .net-csharp, metadata.papermill 29,13 s) ; SVG factor-graphs conserves. Cote Python byte-identique a main. Attestation = nouveau blob SHA + content_csharp_sha du cote C#.' - '2026-10-18 (myia-po-2024:CoursIA-2) #20246 : REBASELINE (c.494) -- dedup 6 doublons d''attestations twin (c.493) avait deplace le git blob SHA des 2 jumeaux par retrait des attestations obsoletes de la lane (collision index NNNN avec sessions cloud/po-2027). --update pour re-attester la parite (la cause de la collision -- plusieurs sessions concurrentes sur le meme index du journal -- est aujourd''hui resolue, le registre ne porte plus qu''une attestation par paire par date). Cellules code byte-identiques au commit precedent ; aucun strip outille ulterieur prevu (cf #8957).' - '2026-09-27 (myia-po-2024:CoursIA-2) #18028 : REBASELINE cote Python -- chains=4 rendu explicite sur les appels pm.sample, valeur deja effective (les sorties portent "4 chains in 4 jobs"), resultats inchanges ; jumeau C# non touche. Sorties par ailleurs restaurees a celles de main : la re-execution de cette branche tournait sans compilateur g++ et laissait fuiter l avertissement machine dans les sorties.' - '2026-09-23 (myia-po-2026:CoursIA) #17304 : REBASELINE cote Python apres reparation audit Hermes #17222 (3 findings : API pt.switch, numerotation exercices 1-2-3, jargon CPT defini) -- markdown-only, cellules code byte-identiques, outputs et execution_count preserves (exception C.2). content_csharp_sha inchange : le jumeau C# n''est pas touche.' diff --git a/scripts/notebook_tools/twin_pairs.d/probas-3-factor-graphs/0021-2026-10-21-myia-po-2028-CoursIA.yaml b/scripts/notebook_tools/twin_pairs.d/probas-3-factor-graphs/0021-2026-10-21-myia-po-2028-CoursIA.yaml new file mode 100644 index 00000000000..04b0adbac4d --- /dev/null +++ b/scripts/notebook_tools/twin_pairs.d/probas-3-factor-graphs/0021-2026-10-21-myia-po-2028-CoursIA.yaml @@ -0,0 +1,6 @@ +date: '2026-10-21' +by: myia-po-2028:CoursIA +python_sha: 192eb086d55ef5c50cba8e289ecc5c8d04d29f20 +csharp_sha: 3dbe4b776d62e300c4b650de64b34a7823c6aaed +content_python_sha: 3d9a99fdb033f4dfc850480af7854992b72526c3e6c24142bed81df915d014d1 +content_csharp_sha: 65adb0728c017247b26456129510960e2b0282ede75b84390a491abccf19fb5f