Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 34 additions & 30 deletions MyIA.AI.Notebooks/SymbolicAI/Tweety/Tweety-1-Setup.ipynb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"cells": [
{
Expand All @@ -18,7 +18,7 @@
"\n",
"**Navigation**: Index | [Suivant: Tweety-2-Basic-Logics](Tweety-2-Basic-Logics.ipynb)\n",
"\n",
"---\n",
"***\n",
"\n",
"Ce notebook configure l'environnement pour la série de notebooks TweetyProject qui explore la bibliothèque Java [TweetyProject](https://tweetyproject.org/) pour l'intelligence artificielle symbolique.\n",
"\n",
Expand Down Expand Up @@ -67,7 +67,7 @@
"| 8 | [Tweety-8-Agent-Dialogues](Tweety-8-Agent-Dialogues.ipynb) | Agents, Dialogues argumentatifs | Setup |\n",
"| 9 | [Tweety-9-Préférences](Tweety-9-Preferences.ipynb) | Préférences, Théorie du vote | Setup |\n",
"\n",
"---\n",
"***\n",
"\n",
"## Plan de ce Notebook\n",
"\n",
Expand All @@ -79,7 +79,7 @@
"* 1.6 [Démarrage de la JVM](#1.6)\n",
"* 1.7 [Concepts Clés](#1.7)\n",
"\n",
"---"
"***"
]
},
{
Expand Down Expand Up @@ -321,10 +321,10 @@
"id": "f7d5d7c7",
"metadata": {
"execution": {
"iopub.execute_input": "2026-05-20T06:43:17.758201Z",
"iopub.status.busy": "2026-05-20T06:43:17.758201Z",
"iopub.status.idle": "2026-05-20T06:43:17.993800Z",
"shell.execute_reply": "2026-05-20T06:43:17.993084Z"
"iopub.execute_input": "2026-09-12T03:19:51.139414Z",
"iopub.status.busy": "2026-09-12T03:19:51.139414Z",
"iopub.status.idle": "2026-09-12T03:20:54.214046Z",
"shell.execute_reply": "2026-09-12T03:20:54.213522Z"
},
"papermill": {
"duration": 0.243604,
Expand Down Expand Up @@ -447,7 +447,9 @@
" result = subprocess.run(\n",
" [sys.executable, str(script_path), \"--jars\"],\n",
" capture_output=True,\n",
" text=True\n",
" text=True,\n",
" encoding=\"utf-8\",\n",
" errors=\"replace\"\n",
" )\n",
" print(result.stdout)\n",
" if result.returncode != 0:\n",
Expand Down Expand Up @@ -498,10 +500,10 @@
"id": "27c4b5e1",
"metadata": {
"execution": {
"iopub.execute_input": "2026-05-20T06:43:18.021063Z",
"iopub.status.busy": "2026-05-20T06:43:18.020063Z",
"iopub.status.idle": "2026-05-20T06:43:18.234723Z",
"shell.execute_reply": "2026-05-20T06:43:18.233965Z"
"iopub.execute_input": "2026-09-12T03:20:54.244145Z",
"iopub.status.busy": "2026-09-12T03:20:54.243554Z",
"iopub.status.idle": "2026-09-12T03:21:04.739176Z",
"shell.execute_reply": "2026-09-12T03:21:04.739176Z"
},
"papermill": {
"duration": 0.221734,
Expand Down Expand Up @@ -581,7 +583,9 @@
"result = subprocess.run(\n",
" [sys.executable, str(script_path), \"--resources\"],\n",
" capture_output=True,\n",
" text=True\n",
" text=True,\n",
" encoding=\"utf-8\",\n",
" errors=\"replace\"\n",
")\n",
"print(result.stdout)\n",
"if result.returncode != 0:\n",
Expand All @@ -591,7 +595,7 @@
"RESOURCE_DIR = pathlib.Path(\"resources\")\n",
"if RESOURCE_DIR.exists():\n",
" files = list(RESOURCE_DIR.glob(\"*.*\"))\n",
" print(f\"\\nFichiers de donnees: {len(files)}\")\n"
" print(f\"\\nFichiers de donnees: {len(files)}\")"
]
},
{
Expand Down Expand Up @@ -2001,7 +2005,7 @@
"tags": []
},
"source": [
"---\n",
"***\n",
"\n",
"## Resume\n",
"\n",
Expand Down Expand Up @@ -2089,7 +2093,7 @@
"tags": []
},
"source": [
"---\n",
"***\n",
"\n",
"## Exercice : Validez votre installation Tweety\n",
"\n",
Expand Down Expand Up @@ -2162,7 +2166,7 @@
"tags": []
},
"source": [
"---\n",
"***\n",
"\n",
"## Notebooks de la série Tweety\n",
"\n",
Expand All @@ -2180,30 +2184,30 @@
"| 8 | [Tweety-8-Agent-Dialogues](Tweety-8-Agent-Dialogues.ipynb) | Agents, Dialogues argumentatifs |\n",
"| 9 | [Tweety-9-Préférences](Tweety-9-Preferences.ipynb) | Préférences, Théorie du vote |\n",
"\n",
"---\n",
"***\n",
"\n",
"**Navigation**: Index | [Suivant: Tweety-2-Basic-Logics →](Tweety-2-Basic-Logics.ipynb)"
]
}
],
"metadata": {
"cost": {
"api_usd_est": 0.0,
"api_provider": null,
"qcc_tokens_est": 0,
"api_usd_est": 0,
"cpu_min": 2,
"external_account": false,
"free_alternative": "self",
"gpu_min": 0,
"gpu_required": false,
"vram_gb": 0,
"vram_tier": null,
"metadata_written": "2026-08-03",
"network": true,
"external_account": false,
"free_alternative": "self",
"notes": "Tweety/JPype environment setup. Downloads Tweety jars (Maven), clingo, SPASS prover, portable JDK 17 (Azul) -- all free/open-source, cached in libs/ after first run. Pure CPU, no paid API. Notebooks executed 15/15 cells successfully.",
"qcc_tokens_est": 0,
"reduced_pedagogical": false,
"reproducibility": "HIGH",
"metadata_written": "2026-08-03",
"validator": "manual-v-provision",
"notes": "Tweety/JPype environment setup. Downloads Tweety jars (Maven), clingo, SPASS prover, portable JDK 17 (Azul) -- all free/open-source, cached in libs/ after first run. Pure CPU, no paid API. Notebooks executed 15/15 cells successfully."
"vram_gb": 0,
"vram_tier": null
},
"kernelspec": {
"display_name": "Python 3",
Expand All @@ -2220,18 +2224,18 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.11"
"version": "3.11.9"
},
"papermill": {
"default_parameters": {},
"duration": 7.400896,
"end_time": "2026-05-20T06:43:19.860960+00:00",
"duration": 102.240013,
"end_time": "2026-09-12T03:21:31.953942",
"environment_variables": {},
"exception": null,
"input_path": "Tweety-1-Setup.ipynb",
"output_path": "Tweety-1-Setup.ipynb",
"parameters": {},
"start_time": "2026-05-20T06:43:12.460064+00:00",
"start_time": "2026-09-12T03:19:49.713929",
"version": "2.6.0"
},
"widgets": {
Expand Down
Loading
Loading