From 59ab9bb16768585e2c4bd20c8ae63b12da8dfaad Mon Sep 17 00:00:00 2001
From: Jan Aalmoes <jan.aalmoes@inria.fr>
Date: Mon, 30 Sep 2024 20:03:51 +0200
Subject: synthetid methodo jan

---
 synthetic/figure/tikz/data_split/split.tex | 49 ++++++++++++++++--------------
 1 file changed, 26 insertions(+), 23 deletions(-)

(limited to 'synthetic/figure/tikz/data_split/split.tex')

diff --git a/synthetic/figure/tikz/data_split/split.tex b/synthetic/figure/tikz/data_split/split.tex
index a742424..38e57a8 100644
--- a/synthetic/figure/tikz/data_split/split.tex
+++ b/synthetic/figure/tikz/data_split/split.tex
@@ -2,6 +2,9 @@
 
 
 \begin{tikzpicture}
+    \def\h{3.5} %décalage modèle
+    \def\i{1.5} %décalage split
+    \def\j{4.5} %décalage données synthétique
 
     %\draw[fill=red] (-1.1,1) rectangle (7.2,-2.5);
     %\draw[fill=green] (-1.1,-2.5) rectangle (7.2,-5);
@@ -13,53 +16,53 @@
     %  minimum height=89mm,
     %  rotate=-90] () at (3,1){};
 
-    \node[database,label={[align=left]left:Real\\data}] (d) at (0,0){};
+    \node[database,label={[align=left]left:Données\\réelles}] (d) at (0,0){};
     \node[rectangle,draw,align=center] (overfit) at (2,0) {OVR\\CTRL};
     \draw[->] (d) to node[midway,above] {80\%} (overfit);
-    \node[database,label=above:$m$] (realtr) at (3,0){};
+    \node[database,label=above:$m$] (realtr) at (4,0){};
     \draw[->] (overfit) to (realtr);
-    \node[rectangle,draw,align=center] (gen) at (6,0) {Generator\\Model};
-    \draw[->] (realtr) to node[midway,above] {training} (gen);
+    \node[rectangle,draw,align=center] (gen) at (6+\h,0) {Modèle\\génératif};
+    \draw[->] (realtr) to node[midway,above] {entraînement} (gen);
 
-    \node[database,label={[align=left]right:Synthetic\\data}] (syn) at (5,-1.5) {};
+    \node[database,label={[align=left]right:Données\\synthétiques}] (syn) at (5+\j,-2) {};
     \draw[->] (gen) to (syn);
     \node[database,label=below:$\bar{m}$] (realte) at (0,-1.5) {};
     \draw[->] (d) to node[midway,left] {20\%}(realte);
-    \node[rectangle,draw,align=center] (tarmod) at (2,-2) {Target\\Model};
+    \node[rectangle,draw,align=center] (tarmod) at (2,-2) {Modèle\\cible};
     \draw[->] (realte) to[out=0,in=130] node[midway,above] {eval} (tarmod);
     \draw[->] (realtr) to node[midway,right] {eval} (tarmod);
-    \draw[->] (syn) to[out=-90,in=0] node[midway,above] {training} (tarmod);
-    \node[database,label={[align=center]left:loss\\$\bar{m}$}] (miam) at (1.5,-5) {};
-    \node[database,label={[align=center]right:loss\\$m$}] (mian) at (2.5,-5) {};
-    \node[database,label={[align=center]below:MIA\\data}] (mia) at (2,-6.5) {};
-    \draw[->] (tarmod) to node[midway,fill=white] (aiabranch) {\small prediction} (miam);
+    \draw[->] (syn) to[out=180,in=0] node[midway,above] {entraînement} (tarmod);
+    \node[database,label={[align=center]left:coût\\$\bar{m}$}] (miam) at (1.5,-5) {};
+    \node[database,label={[align=center]right:coût\\$m$}] (mian) at (2.5,-5) {};
+    \node[database,label={[align=center]below:Base\\MIA}] (mia) at (2,-6.5) {};
+    \draw[->] (tarmod) to node[midway,fill=white] (aiabranch) {\small prédiction} (miam);
     \draw[->] (tarmod) to (mian);
     \draw[->] (miam) to (mia);
     \draw[->] (mian) to (mia);
     
-    \node[database,label=above:Train] (miatr) at (4,-6.5) {};
-    \node[database,label=below:Test] (miate) at (4,-7) {};
+    \node[database,label=above:Entraînement] (miatr) at (4+\i,-6.5) {};
+    \node[database,label=below:Evaluation] (miate) at (4+\i,-7) {};
     \draw[->] (mia) to node[midway,above] {80\%} (miatr);
     \draw[->] (mia) to node[midway,below] {20\%} (miate);
-    \node[rectangle,draw,align=center] (miamod) at (6.5,-6.5) {MIA\\Model};
-    \draw[->] (miatr) to node[midway,above] {training} (miamod);
-    \node[align=center] (miares) at (6.5,-7.5) {MIA\\Result};
+    \node[rectangle,draw,align=center] (miamod) at (6.5+\h,-6.5) {Modèle\\MIA};
+    \draw[->] (miatr) to node[midway,above] {entraînement} (miamod);
+    \node[align=center] (miares) at (6.5+\h,-8) {Résultat\\MIA};
     \draw[->] (miate) to node[midway,below] {eval} (miamod);
     \draw[->] (miamod) to (miares);
 
-    \node[database,label={[align=center]above:AIA\\data}] (aiad) at (3.2,-3.6){};
-    \node[align=center] (ures) at (0,-3.6) {Utility\\Result};
+    \node[database,label={[align=center]above:Base\\AIA}] (aiad) at (3.2,-3.6){};
+    \node[align=center] (ures) at (-1,-3.6) {Résultat\\utilité};
     \draw[->] (aiabranch) to (aiad);
     \draw[->] (aiabranch) to (ures);
-    \node[database,label=above:Train] (aiatr) at (4.5,-3.6) {};
-    \node[database,label=below:Test] (aiate) at (4.5,-4.1) {};
+    \node[database,label=above:Entraînement] (aiatr) at (4.5+\i,-3.6) {};
+    \node[database,label=below:Evaluation] (aiate) at (4.5+\i,-4.1) {};
     \draw[->] (aiad) to node[midway,above] {80\%} (aiatr);
     \draw[->] (aiad) to node[midway,below] {20\%} (aiate);
-    \node[rectangle,draw,align=center] (aiamod) at (6.5,-3.8) {AIA\\Model};
+    \node[rectangle,draw,align=center] (aiamod) at (6.5+\h,-3.8) {Modèle\\AIA};
 
-    \draw[->] (aiatr) to node[midway,above] {training} (aiamod);
+    \draw[->] (aiatr) to node[midway,above] {entraînement} (aiamod);
     \draw[->] (aiate) to node[midway,below] {eval} (aiamod);
-    \node[align=center] (aiares) at (6.5,-5) {AIA\\Result};
+    \node[align=center] (aiares) at (6.5+\h,-5) {Résultat\\AIA};
     \draw[->] (aiamod) to (aiares);
 \end{tikzpicture}
 
-- 
cgit v1.2.3

