From 8bbc035c904791895e2f55245348b9f27af8ea9b Mon Sep 17 00:00:00 2001
From: Jan Aalmoes <jan.aalmoes@inria.fr>
Date: Thu, 7 Nov 2024 11:36:14 +0100
Subject: initial commit

---
 tikz/attack.tex | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 tikz/attack.tex

(limited to 'tikz/attack.tex')

diff --git a/tikz/attack.tex b/tikz/attack.tex
new file mode 100644
index 0000000..14c605e
--- /dev/null
+++ b/tikz/attack.tex
@@ -0,0 +1,37 @@
+\begin{tikzpicture}
+
+    \def \h{-2}
+
+    %Donnée utilisateur
+    \node[color=gray] (ludata) at (0,1) {Donnée utilisateur};
+    \node (udata) at (0,-0.36) {};
+    \draw[color=gray] (-4,0.5) rectangle (4,-0.5);
+    \node[rectangle,draw] (x) at (-2,0) {Donnée d'entrée};
+    \node[rectangle,draw=red] (s) at (2,0) {Attribut sensible};
+
+    %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) {Modèle cible};
+
+    %Pipeline
+    \node[rectangle,draw] (model) at (0,\h) {Modèle};
+    \node[rectangle,draw=blue] (inf) at (0,\h-1) {Classification};
+    \node[rectangle,draw] (train) at (-3,\h) {Entrainement};
+
+    \draw[->] (udata) to (model);
+    \draw[->] (model) to (inf);
+    \draw[->] (train) to (model);
+
+    %Attaque
+    \node[rectangle,draw=blue] (att) at (5,\h) {Attaque};
+
+    %\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}
+
-- 
cgit v1.2.3

