diff options
Diffstat (limited to 'tikz/attack/bin_ens.tex')
-rw-r--r-- | tikz/attack/bin_ens.tex | 31 |
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} + |