diff options
author | Jan Aalmoes <jan.aalmoes@inria.fr> | 2024-11-07 11:36:14 +0100 |
---|---|---|
committer | Jan Aalmoes <jan.aalmoes@inria.fr> | 2024-11-07 11:36:14 +0100 |
commit | 8bbc035c904791895e2f55245348b9f27af8ea9b (patch) | |
tree | 0332d03c55c27d80095ae5338425ff96c1bb123a /tikz/bin_ens.tex |
initial commit
Diffstat (limited to 'tikz/bin_ens.tex')
-rw-r--r-- | tikz/bin_ens.tex | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tikz/bin_ens.tex b/tikz/bin_ens.tex new file mode 100644 index 0000000..3f66af5 --- /dev/null +++ b/tikz/bin_ens.tex @@ -0,0 +1,31 @@ +\begin{tikzpicture} + + \def \h{4} + + %Pipeline + \node[rectangle,draw=red] (s) at (2*\h,0) {Attribut sensible}; + \node[rectangle,draw=blue] (inf) at (0,0) {Classification}; + \node[rectangle,draw=blue] (att) at (\h,0) {Attaque}; + \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} + |