
				\begin{tikzpicture}
				
				\onslide<1->{
					\node [rectangle, minimum height=8mm, minimum width=3mm, fill=blue!50, draw=black] (A) at (-0.5,1){};
					\node [rectangle, minimum height=6mm, minimum width=3mm, fill=orange!50, draw=black] (Aemb) at (-0.5,-0.5){};
					\node [rectangle, minimum height=3mm, minimum width=3mm,text width=1cm, align=center] (w1) at (-0.5,-1){\tiny d};
					\draw[->](Aemb)--(A);
				}
				\onslide<1->{
					\node [rectangle, minimum height=8mm, minimum width=4mm, fill=green!50, draw=black] (C) at (-0.5,2.8){};
					\onslide<2->{\node [rectangle, minimum height=8mm, minimum width=4mm, fill=red!50!white, draw=black] (D) at (0.2,2.8){};
					\node [rectangle, minimum height=3mm, minimum width=3mm,text width=1cm, align=center] (w1) at (0.2,3.3){\tiny True};}
					
					\node at (0.2,1.2) {\footnotesize $W$};
					\node at (-0.3,1.8) {\footnotesize $V$};
					\node at (-0.3,0.2) {\footnotesize $U$};
					\node (w1) at (-0.5,3.1){\tiny 0.2};      	      	      	      			      	      	      	      			
					\node (w1) at (-0.5,2.9){\tiny 0.7};      	      	      	      			      	      	      	      				      	      			
					\node (w1) at (-0.5,2.7){\tiny 0.1};      	      	  
					\node (w1) at (-0.5,2.5){\tiny 0.1}; 
					
					\node (w1) at (-1,3.1){\tiny \it{d}};      	      	      	      			      	      	      	      			
					\onslide<2->{\node (w1) at (0.2,3.1){\tiny 0};  }    	      	      	      			      	      	      	      			
					
					\node (w1) at (-1,2.9){\tiny \it{e}};      	      	      	      			      	      
					\onslide<2->{\node (w1) at (0.2,2.9){\tiny 1};}      	      	      	      			      	            	      				      	      			
					
					\node (w1) at (-1,2.7){\tiny \it{p}};      	      	  
					\onslide<2->{\node (w1) at (0.2,2.7){\tiny 0}; }	  
					
					\node (w1) at (-1,2.5){\tiny \it{stop}};      	      	      	      			      
					\onslide<2->{\node (w1) at (0.2,2.5){\tiny 0};}      	      	      	      			      
					
					\node [rectangle, minimum height=3mm, minimum width=3mm,text width=1cm, align=center] (w1) at (-0.6,3.3){\tiny Predicted};
					
					\draw[->](A)--(C);
				}
				
				\onslide<1->{
					\node [rectangle, minimum height=8mm, minimum width=3mm, fill=blue!50, draw=black] (A) at (1,1){};
					\node [rectangle, minimum height=6mm, minimum width=3mm, fill=orange!50, draw=black] (Aemb) at (1,-0.5){};
					\node [rectangle, minimum height=3mm, minimum width=3mm,text width=1cm, align=center] (w1) at (1,-1){\tiny e};
					\draw[->](Aemb)--(A);
					
					\node [rectangle, minimum height=8mm, minimum width=4mm, fill=green!50, draw=black] (C) at (1,2.8){};
					\onslide<2->{\node [rectangle, minimum height=8mm, minimum width=4mm, fill=red!50!white, draw=black] (D) at (1.7,2.8){};
					\node [rectangle, minimum height=3mm, minimum width=3mm,text width=1cm, align=center] (w1) at (1.7,3.3){\tiny True};}

					\node at (1.7,1.2) {\footnotesize $W$};
					\node at (1.2,1.8) {\footnotesize $V$};
					\node at (1.2,0.2) {\footnotesize $U$};					
					\node (w1) at (1,3.1){\tiny 0.2};      	      	      	      			      	      	      	      			
					\node (w1) at (1,2.9){\tiny 0.7};      	      	      	      			      	      	      	      				      	      			
					\node (w1) at (1,2.7){\tiny 0.1};      	      	  
					\node (w1) at (1,2.5){\tiny 0.1}; 
					
					\onslide<2->{
					\node (w1) at (1.7,3.1){\tiny 0};      	      	      	      			      	      	      	      			
					\node (w1) at (1.7,2.9){\tiny 1};      	      	      	      			      	      	      	      				      	      			
					\node (w1) at (1.7,2.7){\tiny 0};      	      	  
					\node (w1) at (1.7,2.5){\tiny 0};      	      	      	      			      
					}
					\node [rectangle, minimum height=3mm, minimum width=3mm,text width=1cm, align=center] (w1) at (0.97,3.3){\tiny Predicted};
					
					\draw[->](A)--(C);
				}     		
				
				
				\node [rectangle, minimum height=8mm, minimum width=3mm, fill=blue!50, draw=black] (A) at (2.5,1){};
				\node [rectangle, minimum height=6mm, minimum width=3mm, fill=orange!50, draw=black] (Aemb) at (2.5,-0.5){};
				\node [rectangle, minimum height=3mm, minimum width=3mm,text width=1cm, align=center] (w1) at (2.5,-1){\tiny e};
				\draw[->](Aemb)--(A);
				
				\node [rectangle, minimum height=8mm, minimum width=4mm, fill=green!50, draw=black] (C) at (2.5,2.8){};
				\onslide<2->{\node [rectangle, minimum height=8mm, minimum width=4mm, fill=red!50!white, draw=black] (D) at (3.2,2.8){};
				\node [rectangle, minimum height=3mm, minimum width=3mm,text width=1cm, align=center] (w1) at (3.2,3.3){\tiny True};}


					\node at (3.2,1.2) {\footnotesize $W$};
					\node at (2.7,1.8) {\footnotesize $V$};
					\node at (2.7,0.2) {\footnotesize $U$};
				
				\node (w1) at (2.5,3.1){\tiny 0.2};      	      	      	      			      	      	      	      			
				\node (w1) at (2.5,2.9){\tiny 0.1};      	      	      	      			      	      	      	      				      	      			
				\node (w1) at (2.5,2.7){\tiny 0.7};      	      	  
				\node (w1) at (2.5,2.5){\tiny 0.1}; 
				
				\onslide<2->{
				\node (w1) at (3.2,3.1){\tiny 0};      	      	      	      			      	      	      	      			
				\node (w1) at (3.2,2.9){\tiny 0};      	      	      	      			      	      	      	      				      	      			
				\node (w1) at (3.2,2.7){\tiny 1};      	      	  
				\node (w1) at (3.2,2.5){\tiny 0};      	      	      	      			      
				}
				\node [rectangle, minimum height=3mm, minimum width=3mm,text width=1cm, align=center] (w1) at (2.49,3.3){\tiny Predicted};
				
				\draw[->](A)--(C);      	     
				%===========
				\node [rectangle, minimum height=8mm, minimum width=3mm, fill=blue!50, draw=black] (A) at (4,1){};
				\node [rectangle, minimum height=6mm, minimum width=3mm, fill=orange!50, draw=black] (Aemb) at (4,-0.5){};
				\node [rectangle, minimum height=3mm, minimum width=3mm,text width=1cm, align=center] (w1) at (4,-1){\tiny p};
				\draw[->](Aemb)--(A);
				
				\node [rectangle, minimum height=8mm, minimum width=4mm, fill=green!50, draw=black] (C) at (4,2.8){};
				\onslide<2->{\node [rectangle, minimum height=8mm, minimum width=4mm, fill=red!50!white, draw=black] (D) at (4.7,2.8){};
				\node [rectangle, minimum height=3mm, minimum width=3mm,text width=1cm, align=center] (w1) at (4.7,3.3){\tiny True};}
				


				\node at (4.2,1.8) {\footnotesize $V$};
				\node at (4.2,0.2) {\footnotesize $U$};
				\node (w1) at (4,3.1){\tiny 0.2};      	      	      	      			      	      	      	      			
				\node (w1) at (4,2.9){\tiny 0.1};      	      	      	      			      	      	      	      				      	      			
				\node (w1) at (4,2.7){\tiny 0.7};      	      	  
				\node (w1) at (4,2.5){\tiny 0.1}; 
				
				\onslide<2->{
				\node (w1) at (4.7,3.1){\tiny 0};      	      	      	      			      	      	      	      			
				\node (w1) at (4.7,2.9){\tiny 0};      	      	      	      			      	      	      	      				      	      			
				\node (w1) at (4.7,2.7){\tiny 0};      	      	  
				\node (w1) at (4.7,2.5){\tiny 1};      	      	      	      			      
				}
				\node [rectangle, minimum height=3mm, minimum width=3mm,text width=1cm, align=center] (w1) at (3.97,3.3){\tiny Predicted};
				
				\draw[->](A)--(C);      	      	      	      		
				\draw [->] (-0.35,1) -- (0.85,1);
				\draw [->] (1.15,1) -- (2.35,1);
				\draw [->] (2.65,1) -- (3.85,1);


				\color{white}{
				\node [rectangle, minimum height=3mm, minimum width=3mm,text width=1cm, align=center] (w1) at (-0.6,3.6){\tiny $y_1$};
				\node [rectangle, minimum height=3mm, minimum width=3mm,text width=1cm, align=center] (w1) at (.9,3.6){\tiny $y_2$};
				\node [rectangle, minimum height=3mm, minimum width=3mm,text width=1cm, align=center] (w1) at (2.4,3.6){\tiny $y_3$};
				\node [rectangle, minimum height=3mm, minimum width=3mm,text width=1cm, align=center] (w1) at (3.9,3.6){\tiny $y_4$};

				\node [rectangle, minimum height=3mm, minimum width=3mm,text width=1cm, align=center] (w1) at (0,3.9){\tiny $\mathscr L_{1}(\theta)$};
				\node [rectangle, minimum height=3mm, minimum width=3mm,text width=1cm, align=center] (w1) at (1.5,3.9){\tiny $\mathscr L_{2}(\theta)$};					
				\node [rectangle, minimum height=3mm, minimum width=3mm,text width=1cm, align=center] (w1) at (3,3.9){\tiny $\mathscr L_{3}(\theta)$};
				\node [rectangle, minimum height=3mm, minimum width=3mm,text width=1cm, align=center] (w1) at (4.5,3.9){\tiny $\mathscr L_{4}(\theta)$};}
				\end{tikzpicture}
				