From 7d379d6ab0f38f9d05e44fa6039b97560ebfa725 Mon Sep 17 00:00:00 2001
From: Jan Aalmoes <jan.aalmoes@inria.fr>
Date: Tue, 10 Dec 2024 20:59:35 +0100
Subject: Conseil de Heber et Mohammed

---
 tikz/data.tex | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

(limited to 'tikz/data.tex')

diff --git a/tikz/data.tex b/tikz/data.tex
index 62a09d0..ca5c5e9 100644
--- a/tikz/data.tex
+++ b/tikz/data.tex
@@ -1,17 +1,27 @@
 \input{tikz/asset/data}
 \begin{tikzpicture}
     \node[database,label={[align=center]above:Donnée\\cible}] (base) at (0,0) {};
-    \node[rectangle,draw,align=center] (cible) at (10,0) {Modèle\\cible};
+    \node[rectangle,draw,align=center] (cible) at (8,0) {Modèle\\cible};
     \draw[->,align=center] (base) to[bend left] node[midway,above] {80\% entraînement\\sans attribut sensible} (cible);
     \draw[->,blue] (base) to[bend right] node[midway,below] (test) {20\% évaluation} (cible);
     \pause
-    \node[database,label={[align=left]right:Donnée\\auxiliaire}] (aux) at (10,-4.5) {};
-    \draw[->] (test) to[out=-90,in=90] node[midway,above] {\hspace{50px}Attribut sensible} (aux);
-    \draw[->,blue] (cible) to node[midway,right] {Prédiction} (aux);
+    \node[database,label={[align=left]right:Donnée\\auxiliaire}] (aux) at (8,-4.5) {};
+    \draw[->] (test) to[out=-90,in=90] node[midway,above,align=center] {Attribut\\sensible} (aux);
+    \draw[->,blue] (cible) to node[midway,right] (pred) {Prédiction} (aux);
     \pause
     \node[rectangle,draw,align=center] (attaque) at (3,-4.5) {Modèle\\AIA};
     \draw[->] (aux) to node[midway,below] {80\% entraînement} (attaque);
     \draw[->] (aux) to node[midway,above] {20\% évaluation} (attaque);
     \node[rectangle,align=center] (result) at (0,-4.5) {Exactitude\\équilibrée};
     \draw[->] (attaque) to (result);
+
+    \pause
+    \node (seq) at (12, 0.5) {\emph{Sans équité}};
+    \node (aeq) at (12, -0.5) {\emph{Avec équité}};
+    \draw (seq) -- (cible);
+    \draw (aeq) -- (cible);
+
+    \pause
+    \path let \p1 = (pred) in node[anchor=west] (dpl) at (\x1+50,\y1+15) {\emph{$\frac{1}{2}(1+DemParLvl)$}};
+    \draw[->] (dpl) to (pred);
 \end{tikzpicture}
-- 
cgit v1.2.3

