diff options
Diffstat (limited to 'tikz/attack/attack.tex')
-rw-r--r-- | tikz/attack/attack.tex | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/tikz/attack/attack.tex b/tikz/attack/attack.tex new file mode 100644 index 0000000..9177ecd --- /dev/null +++ b/tikz/attack/attack.tex @@ -0,0 +1,37 @@ +\begin{tikzpicture} + + \def \h{-2} + + %Donnée utilisateur + \node[color=gray] (ludata) at (0,1) {User's data}; + \node (udata) at (0,-0.36) {}; + \draw[color=gray] (-4,0.5) rectangle (4,-0.5); + \node[rectangle,draw] (x) at (-2,0) {Input data}; + \node[rectangle,draw=red] (s) at (2,0) {Sensitive attribute}; + + %Modèle cible + \draw[color=gray] (-4.5,\h+0.5) rectangle (1.5,\h-2); + \node[color=gray] (lmcible) at (-1.5,\h-2.5) {Target model}; + + %Pipeline + \node[rectangle,draw] (model) at (0,\h) {Model}; + \node[rectangle,draw=blue] (inf) at (0,\h-1) {Classification}; + \node[rectangle,draw] (train) at (-3,\h) {Training}; + + \draw[->] (udata) to (model); + \draw[->] (model) to (inf); + \draw[->] (train) to (model); + + %Attaque + \node[rectangle,draw=blue] (att) at (5,\h) {Attack}; + + %\draw[->,color=blue] (x) to (att); + %\draw[->,color=blue] (model) to (att); + \draw[->,color=blue] (inf) to (att); + \draw[->,color=red] (att) to (s); + + + %\draw[color=red] (-2,0.5) rectangle (2,-0.5); + %\node[color=red] (cible) at (0,1) {Cible de l'attaque}; +\end{tikzpicture} + |