\begin{scope}[xshift=18cm, yshift=2cm]
    \input{../tikz/lbm.tex}
\end{scope}

\begin{scope}[xshift=3cm, yshift = 1cm]
    \node[text justified, fill=none] at (10, 3.5)
    {$\overset{iid}{\sim}$};
    \begin{scope}[yshift = 6cm]
        \tikzstyle{every state}=[draw, text=black,scale=0.75,
        transform shape]

        \tikzstyle{every node}=[fill=gray]
        \node[state, draw=black!50] (R11) at (0,1.25)
        {\textbf{1}};
        \node[state, draw=black!50] (R12) at (1,1.25)
        {\textbf{2}};
        \node[state, draw=black!50] (R13) at (2,1.25)
        {\textbf{3}};
        \node[state, draw=black!50] (R21) at (3,1.25)
        {\textbf{4}};
        \node[state, draw=black!50] (R31) at (5,1.25)
        {\textbf{6}};

        \tikzstyle{every
            state}=[draw=none,text=black,scale=0.75, transform shape, shape=rectangle]

        % Label réseau
        \node[font=\small, text justified,draw=none, fill=none,
            below left = 0.04cm of R11] {$Y^1 = $};


        \node[state, draw=black!50] (C11) at (0.5,-1)
        {\textbf{1}};

        \node[state, draw=black!50] (C211) at (2.5,-1)
        {\textbf{3}};
        \node[state, draw=black!50] (C22) at (3.5,-1)
        {\textbf{4}};

        \node[state, draw=black!50] (C31) at (4.5,-1)
        {\textbf{5}};

        \tikzstyle{every edge}=[-,>=stealth',shorten
        >=1pt,auto,draw,line width=1pt, draw=gray, fill=gray]
        \path (R11) edge (C11);
        \path (R11) edge  (C211);
        \path (R11) edge  (C22);

        \path (R12) edge [] (C11);
        \path (R12) edge  (C211);
        \path (R12) edge  (C22);

        \path (R13) edge [] (C11);
        \path (R13) edge  (C211);
        \path (R13) edge (C22);

        \path (R21) edge (C211);
        \path (R21) edge  (C22);
        \path (R21) edge  (C31);

        \path (R31) edge (C31);
    \end{scope}
    \node[text width=3cm,font=\small, text justified,
        rotate=90, fill=none] (dots) at (2.5, 7.5){\dots};

    \begin{scope}[yshift = 0cm]
        \tikzstyle{every state}=[draw, text=black,scale=0.75,
        transform shape]

        \tikzstyle{every node}=[fill=gray]
        \node[state, draw=black!50] (R11) at (0,2.25)
        {\textbf{4}};
        \node[state, draw=black!50] (R13) at (2,2.25)
        {\textbf{6}};
        \node[state, draw=black!50] (R21) at (3,2.25)
        {\textbf{3}};
        \node[state, draw=black!50] (R22) at (4,2.25)
        {\textbf{5}};
        \node[state, draw=black!50] (R31) at (5,2.25)
        {\textbf{2}};

        \tikzstyle{every
            state}=[draw=none,text=black,scale=0.75, transform shape, shape=rectangle]
        % Label réseau
        \node[font=\small, text justified,draw=none, fill=none,
            below left = 0.04cm of R11] {$Y^M = $};

        \node[state, draw=black!50] (C11) at (0.5,0)
        {\textbf{5}};
        \node[state, draw=black!50] (C12) at (1.5,0)
        {\textbf{1}};

        \node[state, draw=black!50] (C22) at (3.5,0)
        {\textbf{2}};

        \node[state, draw=black!50] (C31) at (4.5,0)
        {\textbf{4}};

        \tikzstyle{every edge}=[-,>=stealth',shorten
        >=1pt,auto,draw,line width=1pt, draw=gray, fill=gray]
        \path (R11) edge (C11);
        \path (R11) edge (C12);
        \path (R11) edge  (C22);

        \path (R13) edge [] (C11);
        \path (R13) edge  (C12);
        \path (R13) edge (C22);

        \path (R21) edge  (C22);
        \path (R21) edge  (C31);

        \path (R22) edge  (C22);
        \path (R22) edge (C31);

        \path (R31) edge (C31);
    \end{scope}
\end{scope}
