-
Notifications
You must be signed in to change notification settings - Fork 0
/
diagram1.tex
55 lines (49 loc) · 1.72 KB
/
diagram1.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
\documentclass{standalone}
\usepackage{amsmath,amssymb,amsthm}
\usepackage{tikz}
\usetikzlibrary{positioning,decorations.pathreplacing,quotes}
\begin{document}
\begin{tikzpicture}
[
txtbox1/.style={rectangle,align=center,draw=blue!50,fill=blue!20,thick},
txtbox2/.style={rectangle,align=center,draw=red!50,fill=red!20,thick},
every label/.style={font=\itshape\footnotesize}
]
\node (inp) [txtbox1] at ( 0, 0) [text width=18ex] {
Functional input \\ $X(t): \mathcal{T} \to \mathbb{R}$
};
\node (vec1) [txtbox1] [above right=5ex of inp] [text width=22ex]
[label=below:No structural information]{
As a vector \\ $\mathbf{x} \in \mathbb{R}^K, K \in \mathbb{N}$
};
\node (vec2) [txtbox1] [below right=5ex of inp] [text width=22ex]
[label=above:Additional modeling decisions]{
Basis representation \\ $\tilde{\mathbf{x}} \in \mathbb{R}^K, K \in \mathbb{N}$
};
\node (dred) [txtbox1] [above right=5ex of vec2] [text width=18ex]
{
Dimension \\ reduction
};
\node (gp) [txtbox2] [right=5ex of dred] [text width=18ex] {
Gaussian \\ process
};
\node (out) [txtbox2] [right=5ex of gp] [text width=18ex] {
Output \\ $y \in \mathbb{R}$
};
\node [below=7ex of vec2.north, label=below:All this happens outside the GP] {
};
\draw [->] (inp.north) |- (vec1.west);
\draw [->] (inp.south) |- (vec2.west);
\draw [->] (vec1.east) -| (dred.north);
\draw [->] (vec2.east) -| (dred.south);
\draw [->] (dred.east) -- (gp.west);
\draw [->] (gp.east) -- (out.west);
\path (inp.south west)
edge[decorate,decoration={brace,mirror,raise=12ex},line width=.6pt]
(inp.south west -| dred.south east);
\end{tikzpicture}
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master:
%%% End: