diff --git a/TP04/Illustration_sans_titre.png b/TP04/Illustration_sans_titre.png new file mode 100644 index 0000000..c455d27 Binary files /dev/null and b/TP04/Illustration_sans_titre.png differ diff --git a/TP04/Untitled.ipynb b/TP04/Untitled.ipynb index f7e8927..88a2276 100644 --- a/TP04/Untitled.ipynb +++ b/TP04/Untitled.ipynb @@ -140,10 +140,42 @@ "| 19 | 0.12004 | 74.97214 |" ] }, + { + "cell_type": "markdown", + "id": "c9fed1c7-6c60-4589-8086-3f8fefec8fca", + "metadata": {}, + "source": [ + "# Exercice 4 :\n", + "## 1)\n", + "![image](Illustration_sans_titre.png)" + ] + }, + { + "cell_type": "markdown", + "id": "04ea9f05-9b2d-43a9-86bf-afa9f17f0336", + "metadata": {}, + "source": [ + "## 2)\n", + "\n", + "data : 01 11 10 00\n", + "\n", + "| _ | 01 | 11 | 10 | 00 |\n", + "| :--------------- |:---------------:| -----:| -----:| -----:|\n", + "| W0 | 2 | 1 | 1 | 0 |\n", + "| W1 | 0 | 0 | 0 | 1 |\n", + "| W2 | 0 | 1 | 1 | 1 |\n", + "| RF |-2 | 0 | -1 | 0 |\n", + "| RO | 0 | 0 | 0 | 0 |\n", + "| RA | 1 | 0 | 1 | 0 |\n", + "| W0' | 2+(1-0)*-1 = 1 | 1 | 1+(1-0)*-1 = 0 | 0 |\n", + "| W1' | 0+(1-0)*0 = 0 | 0 | 0+(1-0)*1 = 1 | 1 |\n", + "| W2' | 0+(1-0)*1 = 1 | 1 | 1+(1-0)*0 = 1 | 1 |" + ] + }, { "cell_type": "code", "execution_count": null, - "id": "d86080eb-bab5-4a25-bf98-2446840313f6", + "id": "d205f2d3-a9cb-4c8b-964d-a25f18f793d3", "metadata": {}, "outputs": [], "source": []