Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
probml
GitHub Repository: probml/pyprobml
Path: blob/master/tikz/deep_GP_tikz.tex
1191 views
1
\documentclass[tikz, border=2pt]{standalone}
2
\usepackage[utf8]{inputenc}
3
\usepackage{tikz}
4
\usetikzlibrary{positioning}
5
6
% \title{deep_GP_tikz}
7
% \author{Vishal Ghoniya}
8
% \date{July 2022}
9
10
\begin{document}
11
% \maketitle
12
\tikzstyle {hidden}=[circle,dashed, draw=black, minimum size=1cm]
13
\tikzstyle {latent}=[circle, draw=black, minimum size=1cm]
14
\tikzstyle {obs}=[circle, draw=black, fill=black!20, minimum size=1cm]
15
\begin{tikzpicture}[-,>= stealth, node distance=3mm, thick]
16
\node [obs] at (0,0) (rootobs) {$\textbf X$};
17
\node [obs, below=3cm of rootobs] (obs_0) {$\textbf x^*$};
18
\node[latent, right=1cm of rootobs] (hid_1) {$\textbf F_1$} edge[<-] (rootobs);
19
\node[latent, below=3cm of hid_1] (hid_0) {$\textbf f_1^{*}$}
20
edge[<-] (obs_0)
21
edge[<-] (hid_1);
22
\node [hidden, right=1cm of hid_1] (hidden_1) {$\textbf K_2$} edge[<-] (hid_1);
23
\node[hidden, below=1cm of hidden_1] (hidden_10) {$\textbf k_2^*$}
24
edge[<-] (hid_1)
25
edge[<-] (hid_0);
26
\node[hidden, below=1cm of hidden_10] (hidden_0) {$k_2^{**}$} edge[<-] (hid_0);
27
28
\node [latent, right=1cm of hidden_1] (hid_11) {$\textbf f_2$} edge[<-] (hidden_1);
29
\node [latent, below=3cm of hid_11] {$f_2^*$}
30
edge[<-] (hid_11)
31
edge[<-] (hidden_0)
32
edge[<-] (hidden_1)
33
edge[<-] (hidden_10);
34
\node [obs, right=1cm of hid_11] {$\textbf y$} edge[<-] (hid_11);
35
36
\end{tikzpicture}
37
38
\end{document}
39
40