summaryrefslogtreecommitdiff
path: root/tikz/data.tex
blob: ca5c5e971ae1f241865e2dfd7e6ee737ebeef728 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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 (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 (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}