summaryrefslogtreecommitdiff
path: root/tikz/attack/bin_ens.tex
diff options
context:
space:
mode:
authorJan Aalmoes <jan.aalmoes@inria.fr>2024-11-18 15:54:13 +0100
committerJan Aalmoes <jan.aalmoes@inria.fr>2024-11-18 15:54:13 +0100
commitff66e1aaf32dbbd8c638b2f447dd49daaa8189ab (patch)
treee1a9e65f67bd6f7196e470186d1f6d7c7210442e /tikz/attack/bin_ens.tex
parent8bbc035c904791895e2f55245348b9f27af8ea9b (diff)
Nouvelle generation
Diffstat (limited to 'tikz/attack/bin_ens.tex')
-rw-r--r--tikz/attack/bin_ens.tex31
1 files changed, 31 insertions, 0 deletions
diff --git a/tikz/attack/bin_ens.tex b/tikz/attack/bin_ens.tex
new file mode 100644
index 0000000..3a80a6b
--- /dev/null
+++ b/tikz/attack/bin_ens.tex
@@ -0,0 +1,31 @@
+\begin{tikzpicture}
+
+ \def \h{4}
+
+ %Pipeline
+ \node[rectangle,draw=red] (s) at (2*\h,0) {Sensitive attribute};
+ \node[rectangle,draw=blue] (inf) at (0,0) {Classification};
+ \node[rectangle,draw=blue] (att) at (\h,0) {Attack};
+ \draw[->,color=blue] (inf) to (att);
+ \draw[->,color=red] (att) to (s);
+
+ %Ensembles
+ \node (c0) at (0,1) {$0$};
+ \node (c1) at (0,2) {$1$};
+ \node (c2) at (0,3) {$0$};
+ \node (c3) at (0,4) {$\vdots$};
+
+ \node (a0) at (2*\h,1) {$1$};
+ \node (a1) at (2*\h,2) {$0$};
+ \node (a2) at (2*\h,3) {$1$};
+ \node (a3) at (2*\h,4) {$\vdots$};
+
+ \draw[->] (c0) to (a0);
+ \draw[->] (c1) to (a1);
+ \draw[->] (c2) to (a2);
+ \draw[->] (c3) to (a3);
+
+
+
+\end{tikzpicture}
+