From c245ad365081053f42acbb08e9d1858125b115a1 Mon Sep 17 00:00:00 2001 From: Lukas Burk Date: Tue, 30 Apr 2024 14:40:34 +0200 Subject: [PATCH] Fix syntax errors --- slides/fairness/slides-calibration.tex | 4 +++- slides/fairness/slides-fairness.tex | 4 +++- slides/gaussian-processes/slides-gp-basic-3.tex | 4 ++-- slides/gaussian-processes/slides-gp-bayes-lm-deep-dive.tex | 6 ++++-- ...slides-imbalanced-learning-cost-sensitive-learning-3.tex | 3 +++ 5 files changed, 15 insertions(+), 6 deletions(-) diff --git a/slides/fairness/slides-calibration.tex b/slides/fairness/slides-calibration.tex index 4ce1a48..79ba481 100644 --- a/slides/fairness/slides-calibration.tex +++ b/slides/fairness/slides-calibration.tex @@ -8,7 +8,9 @@ \newcommand{\batilde}{\tilde{\mathbf{a}}} \newcommand{\Px}{\mathbb{P}_{x}} % P_x \newcommand{\Pxj}{\mathbb{P}_{x_j}} % P_{x_j} -\newcommand{\indep}{\perp \!\!\! \perp} % independence symbol + +% indep is now defined in latex-math / basic-math +% \newcommand{\indep}{\perp \!\!\! \perp} % independence symbol \usepackage{multicol} diff --git a/slides/fairness/slides-fairness.tex b/slides/fairness/slides-fairness.tex index c1f7b6d..7b7d0bf 100644 --- a/slides/fairness/slides-fairness.tex +++ b/slides/fairness/slides-fairness.tex @@ -8,7 +8,9 @@ \newcommand{\batilde}{\tilde{\mathbf{a}}} \newcommand{\Px}{\mathbb{P}_{x}} % P_x \newcommand{\Pxj}{\mathbb{P}_{x_j}} % P_{x_j} -\newcommand{\indep}{\perp \!\!\! \perp} % independence symbol + +% indep is now defined in latex-math / basic-math +% \newcommand{\indep}{\perp \!\!\! \perp} % independence symbol \usepackage{multicol} diff --git a/slides/gaussian-processes/slides-gp-basic-3.tex b/slides/gaussian-processes/slides-gp-basic-3.tex index 7da1153..e3504cb 100644 --- a/slides/gaussian-processes/slides-gp-basic-3.tex +++ b/slides/gaussian-processes/slides-gp-basic-3.tex @@ -6,7 +6,7 @@ \newcommand{\titlefigure}{figure_man/discrete/marginalization-more.png} %not best picture -\newcommandiscrete{\learninggoals}{ +\newcommand{\learninggoals}{ \item GPs model distributions over functions \item The marginalization property makes this distribution easily tractable % \item GPs are fully specified by mean and covariance function @@ -253,4 +253,4 @@ \section{Gaussian Processes as Indexed Family} \endlecture -\end{document} \ No newline at end of file +\end{document} diff --git a/slides/gaussian-processes/slides-gp-bayes-lm-deep-dive.tex b/slides/gaussian-processes/slides-gp-bayes-lm-deep-dive.tex index 10614d0..ee229cc 100644 --- a/slides/gaussian-processes/slides-gp-bayes-lm-deep-dive.tex +++ b/slides/gaussian-processes/slides-gp-bayes-lm-deep-dive.tex @@ -4,7 +4,9 @@ \input{../../latex-math/basic-ml} \input{../../latex-math/ml-gp} -\newcommand{\titlefigure}{figure/bayes_lm/posterior_5_3.pdf} % does not fit +% Figure figure/bayes_lm/posterior_5_3.pdf was not found, +% Changed to prevent compilation error +\newcommand{\titlefigure}{figure/bayes_lm/posterior_5_2.pdf} \newcommand{\learninggoals}{ \item Know the proof the posterior of bayesian linear model. \item Know how to derive the predictive distribution of bayesian linear model. @@ -79,4 +81,4 @@ Note that $y_* = \thetab^T \xv_* + \epsilon$, where both the posterior of $\thetab$ and $\epsilon$ are Gaussians. By applying the rules for linear transformations of Gaussians, we can confirm that $y_* ~|~ \Xmat, \yv, \xv_*$ is a Gaussian, too. \end{vbframe} -\end{document} \ No newline at end of file +\end{document} diff --git a/slides/imbalanced-learning/slides-imbalanced-learning-cost-sensitive-learning-3.tex b/slides/imbalanced-learning/slides-imbalanced-learning-cost-sensitive-learning-3.tex index 0b2478d..43aec69 100644 --- a/slides/imbalanced-learning/slides-imbalanced-learning-cost-sensitive-learning-3.tex +++ b/slides/imbalanced-learning/slides-imbalanced-learning-cost-sensitive-learning-3.tex @@ -7,6 +7,9 @@ %\usepackage{algorithm} %\usepackage{algorithmic} +% lowr case c vector used only here, was undefined, not in latex-math +\newcommand{\cv}{\mathbf{c}} + \usepackage{multicol} \newcommand{\titlefigure}{figure/cost_matrix}