-
Notifications
You must be signed in to change notification settings - Fork 0
/
writeup.tex
105 lines (85 loc) · 5.07 KB
/
writeup.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
\documentclass[12pt,a4paper]{article}
\usepackage{amsmath,amssymb,fullpage,graphicx}
\let\hat\widehat
\let\tilde\widetilde
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{epsfig, graphics}
\usepackage{latexsym}
\usepackage{fullpage}
\usepackage{bm}
\usepackage[parfill]{parskip}
\usepackage{subfigure}
% TODO : Fil your personal package here if needed
%%%% new version of enumerate with less spacing
\newenvironment{enum}{
\begin{enumerate}
\setlength{\itemsep}{1pt}
\setlength{\parskip}{0pt}
\setlength{\parsep}{0pt}
}{\end{enumerate}}
% TODO : fill your custom commands here if needed
\newcommand{\Ab}{\bm{A}}
\begin{document}
% TODO : Fill your personal information here
\begin{center}
{\bf\large Homework 1} \\
{\bf\large M1522.001300 Probabilistic Graphical Models (2016 Fall)} \\
2016-21188 Byeongchang Kim \\
% Due: September 22 Thursday 11:59PM \\
Date: September 22 Thursday
\end{center}
Fill anything you want to say about your homework.
% TODO : Fill your answers
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Q1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Conditional Independence Properties [15 points]}
Fill your answers.
You can insert your figure by using \verb|\begin{figure}|.
You can refer your figure by using \verb|\ref{fig:example_figure}|.
\begin{figure}[!h]
\begin{center}
\includegraphics[width=0.7\textwidth]{assets/fig1.png}
\caption{Example Figure}
\label{fig:example_figure}
\end{center}
\end{figure}
You can enumerate subquestions like this.
\begin{enumerate}
\item Enumerate item 1.
\item Enumerate item 2.
\item Enumerate item 3.
\end{enumerate}
You can write your equations by using \verb|\begin{aligned}|.
We highly recommend you to use \verb|\newcommand| to simplify your equation in \LaTeX.
\begin{align}
\Ab &= 12 \\
\alpha_{12}^{35} &= 1234 \\
\beta_1 &= 10
\end{align}
You can cite your reference by using \verb|\cite{reference_name}|.
For example, cite Koller's PGM book \cite{KollerPGM} like this.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Q2
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Some materials for HW2 [5 points]}
\begin{table}[!h]
\centering
\begin{tabular}{c|l|l|l|l}
Step & \multicolumn{1}{c|}{\begin{tabular}[c]{@{}c@{}}Variable\\ eliminated\end{tabular}} & \multicolumn{1}{c|}{\begin{tabular}[c]{@{}c@{}}Factors\\ used\end{tabular}} & \multicolumn{1}{c|}{\begin{tabular}[c]{@{}c@{}}Variables\\ involved\end{tabular}} & \multicolumn{1}{c}{\begin{tabular}[c]{@{}c@{}}New\\ factor\end{tabular}} \\ \hline
1 & & & & \\
2 & & & & \\
3 & & & & \\
4 & & & & \\
5 & & & & \\
6 & & & & \\
7 & & & &
\end{tabular}
\caption{A run of variable elimination for the query $P(J)$}
\label{table:VE}
\end{table}
% Bibtex
\bibliography{writeup}
\bibliographystyle{plain}
\end{document}