%Control of the overfitting
\input{synthetic/figure/tikz/data}
\begin{tikzpicture}
    \node[database,label=Input] (in) at (0,1) {};
    \node (i) at (0,0) {$r_0,\cdots, r_{N-1}$};
    \draw[->] (in) to node[midway,right] {sampling} (i);
    \node (m) at (0,-1) {$r_0,\cdots, r_{N-1},r_0,\cdots, r_{N-1},\cdots,r_0,\cdots, r_{N-1}$};
    \draw[->] (i) to node[midway,right] {repetition}(m);
    \node[rectangle,draw] (shu) at (0,-2) {Shuffle};
    \draw[->] (m) to (shu);
    \node[database,label=below:Output] (out) at (0,-3){};
    \draw[->] (shu) to (out);
\end{tikzpicture}
