-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
66d4811
commit 921cb2d
Showing
4 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
\documentclass[tikz, border=2pt]{standalone} | ||
\usepackage[utf8]{inputenc} | ||
\usepackage{tikz} | ||
\usetikzlibrary{positioning} | ||
|
||
% \title{deep_GP_tikz} | ||
% \author{Vishal Ghoniya} | ||
% \date{July 2022} | ||
|
||
\begin{document} | ||
% \maketitle | ||
\tikzstyle {hidden}=[circle,dashed, draw=black, minimum size=1cm] | ||
\tikzstyle {latent}=[circle, draw=black, minimum size=1cm] | ||
\tikzstyle {obs}=[circle, draw=black, fill=black!20, minimum size=1cm] | ||
\begin{tikzpicture}[-,>= stealth, node distance=3mm, thick] | ||
\node [obs] at (0,0) (rootobs) {$\textbf X$}; | ||
\node [obs, below=3cm of rootobs] (obs_0) {$\textbf x^*$}; | ||
\node[latent, right=1cm of rootobs] (hid_1) {$\textbf F_1$} edge[<-] (rootobs); | ||
\node[latent, below=3cm of hid_1] (hid_0) {$\textbf f_1^{*}$} | ||
edge[<-] (obs_0) | ||
edge[<-] (hid_1); | ||
\node [hidden, right=1cm of hid_1] (hidden_1) {$\textbf K_2$} edge[<-] (hid_1); | ||
\node[hidden, below=1cm of hidden_1] (hidden_10) {$\textbf k_2^*$} | ||
edge[<-] (hid_1) | ||
edge[<-] (hid_0); | ||
\node[hidden, below=1cm of hidden_10] (hidden_0) {$k_2^{**}$} edge[<-] (hid_0); | ||
|
||
\node [latent, right=1cm of hidden_1] (hid_11) {$\textbf f_2$} edge[<-] (hidden_1); | ||
\node [latent, below=3cm of hid_11] {$f_2^*$} | ||
edge[<-] (hid_11) | ||
edge[<-] (hidden_0) | ||
edge[<-] (hidden_1) | ||
edge[<-] (hidden_10); | ||
\node [obs, right=1cm of hid_11] {$\textbf y$} edge[<-] (hid_11); | ||
|
||
\end{tikzpicture} | ||
|
||
\end{document} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
\documentclass[tikz,border=2pt]{standalone} | ||
\usepackage[utf8]{inputenc} | ||
\usepackage{tikz} | ||
\usepackage{pgfplots} | ||
\usetikzlibrary{positioning} | ||
|
||
% \title{empirical_cdf_tikz} | ||
% \author{Vishal Ghoniya} | ||
% \date{July 2022} | ||
|
||
\pgfplotsset{compat=1.18} | ||
\begin{document} | ||
|
||
% \maketitle | ||
\begin{tikzpicture}[font={\small}] | ||
\begin{axis}[axis line style={opacity=0}, | ||
axis lines=left, ytick={0.0,0.2,...,1.0}, | ||
ymax=1.1, ymin=-0.1, | ||
xtick={0,1,...,4}, | ||
xmax=4.1, | ||
axis background/.style={fill=gray!10}, | ||
extra y ticks={0.1,0.5,0.7}, | ||
extra y tick labels={{$U^{(1)}$},{$U^{(2)}$},{$U^{(3)}$}}] | ||
\addplot+[const plot, no marks, thick, black] coordinates {(0,0) (1,0.3) (2,0.3) (2,0.8) (3,0.8) (3,0.8) (3,1) (4,1)}; | ||
\addplot+[const plot, no marks, dashed, thick, black] coordinates {(0,0.1) (1,0.1)}; | ||
\addplot+[const plot, no marks, dashed, thick, black] coordinates {(0,0.7) (2,0.7)}; | ||
\addplot+[const plot, no marks, dashed, thick, black] coordinates {(0,0.5) (2,0.5)}; | ||
\end{axis} | ||
|
||
\end{tikzpicture} | ||
\end{document} |