diff options
author | Jan Aalmoes <jan.aalmoes@inria.fr> | 2024-09-11 00:10:50 +0200 |
---|---|---|
committer | Jan Aalmoes <jan.aalmoes@inria.fr> | 2024-09-11 00:10:50 +0200 |
commit | bf5b05a84e877391fddd1b0a0b752f71ec05e901 (patch) | |
tree | 149609eeff1d475cd60f398f0e4bfd786c5d281c /synthetic/figure/tikz/data_split/bck | |
parent | 03556b31409ac5e8b81283d3a6481691c11846d7 (diff) |
Preuve existe f pas cca equivalant exists f BA pas randomguess
Diffstat (limited to 'synthetic/figure/tikz/data_split/bck')
-rw-r--r-- | synthetic/figure/tikz/data_split/bck | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/synthetic/figure/tikz/data_split/bck b/synthetic/figure/tikz/data_split/bck new file mode 100644 index 0000000..727f594 --- /dev/null +++ b/synthetic/figure/tikz/data_split/bck @@ -0,0 +1,73 @@ + +\begin{tikzpicture} + \node[database,label=left:Full] (d) at (0,0){}; + + \node[database,label=left:$m$ 80\%] (dtr) at (2,0.5){}; + \node[database,label=left:$\bar{m}$ 20\%] (dte) at (2,-0.5){}; + + \draw[->] (d) to (dtr); + \draw[->] (d) to (dte); + + \node[rectangle,draw,align=center] (target) at (5,0.5) {Target\\Model}; + + \draw[->] (dtr) to[bend left] node[midway,above,inner sep=2pt] {training} (target); + \draw[->] (dtr) to node[midway,below] {eval} (target); + \draw[->] (dte) to node[midway,below] {eval} (target); + + \node[database,label=above:loss $m$] (dlm) at (7,0.5){}; + \node[database,label=above:loss $\bar{m}$] (dlnm) at (7,-0.5){}; + + \draw[->] (target) to node[midway,above] {eval} (dlm); + \draw[->] (target) to node[midway,below] {eval} (dlnm); + + \node[database,label=below:MIA data] (shu) at (7,-2){}; + \draw[->] (dlm) to[out=0,in=50] (shu); + \draw[->] (dlnm) to[bend left] (shu); + + \node[database,label=right:Train 80\%] (miatr) at (4,-1.5){}; + \node[database,label=right:Test 20\%] (miate) at (4,-2.5){}; + \draw[->] (shu) to (miatr); + \draw[->] (shu) to (miate); + + \node[rectangle,draw,align=center] (miamod) at (2, -1.5) {MIA\\Model}; + + \draw[->] (miatr) to[bend right] node[midway,above,inner sep=2pt] {training} (miamod); + \draw[->] (miate) to node[midway,below] {eval} (miamod); + + \node (res) at (0,-1.5) {MIA result}; + \draw[->] (miamod) to (res); +\end{tikzpicture} + + + + + + +\begin{tikzpicture} +\node[database,label=left:$D$] (d) at (0,0){}; +\node[database,label=left:$D_{\text{Train}}$] (train) at (0,-2){}; +\node[database,label=right:$D_{\text{Ttest}}$] (test) at (2,0){}; + +\draw[->] (d) to (train); +\draw[->] (d) to (test); + +\def \p {-2} %Bloc position +\def \s {1} %spacing +\node[rectangle,draw] (g1) at (2,\p+\s) {Generator 1}; +\node[rectangle,draw] (g2) at (2,\p) {Generator 2}; +\node[rectangle,draw] (g3) at (2,\p-\s) {Generator 3}; + +\draw[->] (train) to (g1); +\draw[->] (train) to (g2); +\draw[->] (train) to (g3); + +\node[database,label=right:$S_{1}$] (s1) at (4,\p+\s){}; +\node[database,label=right:$S_{2}$] (s2) at (4,\p){}; +\node[database,label=right:$S_{3}$] (s3) at (4,\p-\s){}; + +\draw[->] (g1) to (s1); +\draw[->] (g2) to (s2); +\draw[->] (g3) to (s3); + + +\end{tikzpicture} |