main.tex (10721B)
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 2 % kaobook 3 % LaTeX Template 4 % Version 1.3 (December 9, 2021) 5 % 6 % This template originates from: 7 % https://www.LaTeXTemplates.com 8 % 9 % For the latest template development version and to make contributions: 10 % https://github.com/fmarotta/kaobook 11 % 12 % Authors: 13 % Federico Marotta (federicomarotta@mail.com) 14 % Based on the doctoral thesis of Ken Arroyo Ohori (https://3d.bk.tudelft.nl/ken/en) 15 % and on the Tufte-LaTeX class. 16 % Modified for LaTeX Templates by Vel (vel@latextemplates.com) 17 % 18 % License: 19 % CC0 1.0 Universal (see included MANIFEST.md file) 20 % 21 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 22 23 %---------------------------------------------------------------------------------------- 24 % PACKAGES AND OTHER DOCUMENT CONFIGURATIONS 25 %---------------------------------------------------------------------------------------- 26 27 \documentclass{kaobook} 28 29 % Choose the language 30 \ifxetexorluatex 31 \usepackage{polyglossia} 32 \setmainlanguage{english} 33 \else 34 \usepackage[english]{babel} % Load characters and hyphenation 35 \fi 36 \usepackage[english=british]{csquotes} % English quotes 37 38 % Load packages for testing 39 % \usepackage{lipsum} 40 %\usepackage{showframe} % Uncomment to show boxes around the text area, margin, header and footer 41 %\usepackage{showlabels} % Uncomment to output the content of \label commands to the document where they are used 42 43 % Load the bibliography package 44 \usepackage{kaobiblio} 45 \addbibresource{journals.bib} 46 \addbibresource{main.bib} % Bibliography file 47 48 % Load mathematical packages for theorems and related environments 49 \usepackage[framed=true]{kaotheorems} 50 51 % Load the package for hyperreferences 52 \usepackage{kaorefs} 53 \usepackage[utf8]{inputenc} 54 55 \usepackage{amsmath,amssymb,amsthm,bm,mathtools,xfrac} 56 \usepackage{censor} 57 58 \usepackage{tikz} 59 \usetikzlibrary{fit,patterns,shapes.arrows,quotes,positioning,backgrounds} 60 \usepackage{pgfplots} 61 \pgfplotsset{compat=newest} 62 \DeclareUnicodeCharacter{2212}{−} 63 \usepgfplotslibrary{groupplots,dateplot} 64 65 \usepackage{xcolor} 66 \colorlet{vcol}{green!70!black} 67 \colorlet{xcol}{blue!85!black} 68 \colorlet{unitcol}{xcol!60!black!85} 69 \colorlet{unitcol2}{vcol!60!black!85} 70 \tikzstyle{vector}=[->,very thick,xcol] 71 \tikzstyle{mydashed}=[dash pattern=on 2pt off 2pt] 72 \newcommand{\tick}[2]{\draw[thick] (#1) ++ (#2:0.1) --++ (#2-180:0.2)} %0.03*\xmax 73 74 \usepackage{float} 75 \usepackage{caption} 76 \usepackage{subcaption} 77 78 \input{macros.tex} 79 80 \hyphenation{Hes-s-ian} 81 82 \graphicspath{{figures/}{./}} % Paths in which to look for images 83 84 \makeindex[columns=3, title=Alphabetical Index, intoc] % Make LaTeX produce the files required to compile the index 85 86 % \makeglossaries % Make LaTeX produce the files required to compile the glossary 87 % \input{glossary.tex} % Include the glossary definitions 88 89 \makenomenclature % Make LaTeX produce the files required to compile the nomenclature 90 91 % Reset sidenote counter at chapters 92 %\counterwithin*{sidenote}{chapter} 93 94 \SetKwComment{Comment}{/* }{ */} 95 \SetKwInOut{Input}{Input} 96 \SetKwInOut{Output}{Output} 97 98 %---------------------------------------------------------------------------------------- 99 100 \begin{document} 101 102 %---------------------------------------------------------------------------------------- 103 % BOOK INFORMATION 104 %---------------------------------------------------------------------------------------- 105 106 % \titlehead{M.Sc. Thesis} 107 \subject{Master of Science in Engineering} 108 109 \title{Effortless Bayesian Deep Learning} 110 \subtitle{Tapping Into the Potential of Modern Optimizers} 111 112 \author[Silas Brack]{Silas Brack} 113 114 \date{February 2023} 115 116 \publishers{DTU Compute} 117 118 %---------------------------------------------------------------------------------------- 119 120 \frontmatter % Denotes the start of the pre-document content, uses roman numerals 121 122 %---------------------------------------------------------------------------------------- 123 % OPENING PAGE 124 %---------------------------------------------------------------------------------------- 125 126 %\makeatletter 127 %\extratitle{ 128 % % In the title page, the title is vspaced by 9.5\baselineskip 129 % \vspace*{9\baselineskip} 130 % \vspace*{\parskip} 131 % \begin{center} 132 % % In the title page, \huge is set after the komafont for title 133 % \usekomafont{title}\huge\@title 134 % \end{center} 135 %} 136 %\makeatother 137 138 %---------------------------------------------------------------------------------------- 139 % COPYRIGHT PAGE 140 %---------------------------------------------------------------------------------------- 141 142 \makeatletter 143 \uppertitleback{\@titlehead} % Header 144 145 \lowertitleback{ 146 \textbf{Author}\\ 147 Silas Brack (s174433) 148 149 \medskip 150 151 \textbf{Supervisors}\\ 152 S{\o}ren Hauberg (\href{mailto:sohau@dtu.dk}{sohau@dtu.dk})\\ 153 Frederik Warburg (\href{mailto:frwa@dtu.dk}{frwa@dtu.dk})\\ 154 Marco Miani (\href{mailto:mmia@dtu.dk}{mmia@dtu.dk}) 155 156 \medskip 157 158 \textbf{Project period}\\ 12\textsuperscript{th} September 2022 -- 12\textsuperscript{th} February 2023 \medskip 159 160 \textbf{ECTS points}\\ 30 \medskip 161 162 \textbf{Education}\\ Master of Science (M.Sc.) \medskip 163 164 \textbf{Class}\\ Public \medskip 165 166 \textbf{Edition}\\ 1\textsuperscript{st} 167 168 \medskip 169 170 \textbf{Colophon} \\ 171 This document was typeset with the help of \href{https://sourceforge.net/projects/koma-script/}{\KOMAScript} and \href{https://www.latex-project.org/}{\LaTeX} using the \href{https://github.com/fmarotta/kaobook/}{kaobook} class. 172 173 The source code of this book is available at:\\\url{https://github.com/fmarotta/kaobook} 174 175 \medskip 176 177 \textbf{Publisher} \\ 178 \@publishers, February 2023 179 } 180 \makeatother 181 182 %---------------------------------------------------------------------------------------- 183 % DEDICATION 184 %---------------------------------------------------------------------------------------- 185 186 \dedication{ 187 % \blackout 188 {You don't have to have a dream.}\\ 189 \flushright---Tim Minchin 190 } 191 192 %---------------------------------------------------------------------------------------- 193 % OUTPUT TITLE PAGE AND PREVIOUS 194 %---------------------------------------------------------------------------------------- 195 196 % Note that \maketitle outputs the pages before here 197 198 \maketitle 199 200 %---------------------------------------------------------------------------------------- 201 % PREFACE 202 %---------------------------------------------------------------------------------------- 203 204 \input{chapters/preface.tex} 205 \index{preface} 206 207 \input{chapters/acknowledgments.tex} 208 \index{acknowledgments} 209 210 \input{chapters/abstract.tex} 211 \index{abstract} 212 213 %---------------------------------------------------------------------------------------- 214 % TABLE OF CONTENTS & LIST OF FIGURES/TABLES 215 %---------------------------------------------------------------------------------------- 216 217 \begingroup % Local scope for the following commands 218 219 % Define the style for the TOC, LOF, and LOT 220 %\setstretch{1} % Uncomment to modify line spacing in the ToC 221 %\hypersetup{linkcolor=blue} % Uncomment to set the colour of links in the ToC 222 \setlength{\textheight}{230\hscale} % Manually adjust the height of the ToC pages 223 224 % Turn on compatibility mode for the etoc package 225 \etocstandarddisplaystyle % "toc display" as if etoc was not loaded 226 \etocstandardlines % "toc lines" as if etoc was not loaded 227 228 \tableofcontents % Output the table of contents 229 230 \listoffigures % Output the list of figures 231 232 % Comment both of the following lines to have the LOF and the LOT on different pages 233 \let\cleardoublepage\bigskip 234 \let\clearpage\bigskip 235 236 \listoftables % Output the list of tables 237 238 \listofalgorithms 239 240 \endgroup 241 242 %---------------------------------------------------------------------------------------- 243 % MAIN BODY 244 %---------------------------------------------------------------------------------------- 245 246 \mainmatter % Denotes the start of the main document content, resets page numbering and uses arabic numbers 247 \setchapterstyle{kao} % Choose the default chapter heading style 248 249 \input{chapters/introduction.tex} 250 \input{chapters/laplace.tex} 251 \input{chapters/training.tex} 252 \input{chapters/sampling.tex} 253 \input{chapters/ablation_experiments.tex} 254 \input{chapters/experiments.tex} 255 \input{chapters/conclusion.tex} 256 257 %---------------------------------------------------------------------------------------- 258 259 \backmatter % Denotes the end of the main document content 260 \setchapterstyle{plain} % Output plain chapters from this point onwards 261 262 %---------------------------------------------------------------------------------------- 263 % BIBLIOGRAPHY 264 %---------------------------------------------------------------------------------------- 265 266 % The bibliography needs to be compiled with biber using your LaTeX editor, or on the command line with 'biber main' from the template directory 267 268 \printbibliography[heading=bibintoc, title=Bibliography] % Add the bibliography heading to the ToC, set the title of the bibliography and output the bibliography note 269 270 %---------------------------------------------------------------------------------------- 271 % APPENDIX 272 %---------------------------------------------------------------------------------------- 273 274 \appendix % From here onwards, chapters are numbered with letters, as is the appendix convention 275 276 \pagelayout{wide} % No margins 277 \addpart{Appendix} 278 \pagelayout{margin} % Restore margins 279 280 \input{chapters/appendix.tex} 281 282 % %---------------------------------------------------------------------------------------- 283 % % NOMENCLATURE 284 % %---------------------------------------------------------------------------------------- 285 286 % % The nomenclature needs to be compiled on the command line with 'makeindex main.nlo -s nomencl.ist -o main.nls' from the template directory 287 288 % \nomenclature{$c$}{Speed of light in a vacuum inertial frame} 289 % \nomenclature{$h$}{Planck constant} 290 291 % \renewcommand{\nomname}{Notation} % Rename the default 'Nomenclature' 292 % \renewcommand{\nompreamble}{The next list describes several symbols that will be later used within the body of the document.} % Prepend this text to the nomenclature 293 294 % \printnomenclature % Output the nomenclature 295 296 % %---------------------------------------------------------------------------------------- 297 % % GLOSSARY 298 % %---------------------------------------------------------------------------------------- 299 300 % % The glossary needs to be compiled on the command line with 'makeglossaries main' from the template directory 301 302 % \glsaddall % Comment if you want to mention glossary entries in the text 303 % \setglossarystyle{listgroup} % Set the style of the glossary (see https://en.wikibooks.org/wiki/LaTeX/Glossary for a reference) 304 % \printglossary[title=Special Terms, toctitle=List of Terms] % Output the glossary, 'title' is the chapter heading for the glossary, toctitle is the table of contents heading 305 306 %---------------------------------------------------------------------------------------- 307 308 \end{document}