\documentclass{article}
\usepackage{com.braju.graphicalmodels}

\catcode`\@=11%

\pagestyle{empty}

\begin{document}
\TeXtoEPS

\LARGE
\psset{unit=10mm,arrowscale=1.5,linewidth=1.5pt}
\begin{pspicture}(0,0)(12,12)%\showgrid
  \SpecialCoor

  \rput(1,4){\GM@node[observed=false]{xn1}} \GM@label[angle=180]{xn1}{$x_{n1}$}
  \rput(1,6){\GM@node[observed=false]{xni}} \GM@label[angle=180]{xni}{$x_{ni}$}
  \rput(1,8){\GM@node[observed=false]{xnD}} \GM@label[angle=180]{xnD}{$x_{nD}$}

  \rput(5,2){\GM@node[observed=false]{zn1}} \GM@label[angle=270]{zn1}{$z_{n1}$}
  \rput(5,6){\GM@node[observed=false]{znj}} \GM@label[angle=90]{znj}{$z_{nj}$}
  \rput(5,10){\GM@node[observed=false]{znH}} \GM@label[angle=90]{znH}{$z_{nH}$}

  \rput(9,4){\GM@node[observed=false]{yn1}} \GM@label[angle=0]{yn1}{$y_{n1}$}
  \rput(9,6){\GM@node[observed=false]{ynk}} \GM@label[angle=0]{ynk}{$y_{nk}$}
  \rput(9,8){\GM@node[observed=false]{ynC}} \GM@label[angle=0]{ynC}{$y_{nC}$}

  \rput(5,4){\psframebox[linecolor=white]{$\vdots$}} \rput(5,8){\psframebox[linecolor=white]{$\vdots$}}

  \ncline[arrows=->]{xn1}{zn1}
  \ncline[arrows=->]{xn1}{znj}
  \ncline[arrows=->]{xn1}{znH}

  \ncline[arrows=->]{xni}{zn1}
  \ncline[arrows=->]{xni}{znj} \rput(3,6.15){\psframebox[linecolor=white]{$v_{ij}$}}
  \ncline[arrows=->]{xni}{znH}

  \ncline[arrows=->]{xnD}{zn1}
  \ncline[arrows=->]{xnD}{znj}
  \ncline[arrows=->]{xnD}{znH}

  \ncline[arrows=->]{zn1}{yn1}
  \ncline[arrows=->]{zn1}{ynk}
  \ncline[arrows=->]{zn1}{ynC}

  \ncline[arrows=->]{znj}{yn1}
  \ncline[arrows=->]{znj}{ynk} \rput(6.5,6.15){\psframebox[linecolor=white]{$w_{jk}$}}
  \ncline[arrows=->]{znj}{ynC}

  \ncline[arrows=->]{znH}{yn1}
  \ncline[arrows=->]{znH}{ynk}
  \ncline[arrows=->]{znH}{ynC}


\end{pspicture}

\endTeXtoEPS
\end{document}
