\documentclass[ngerman,regno,a4paper,11pt,oneside,hidelinks]{scrbook}
%page format
\usepackage[
    a4paper,
    top=35mm,right=20mm,bottom=30mm,left=20mm,
    headheight=25mm
    ]{geometry}
\setcounter{secnumdepth}{3}

\input{Packages.tex}
\input{Style.tex}

\def \AUTHOR{Paul Lödige}
\def \AUTHOREMAIL{paul.loedige@student.kit.edu}
\def \AUTHORSTUDENTID{2423958}
\def \MODULE{Maschinelles Lernen: Grundlagend und Algorithmen}
\def \MODULECOMPACT{ML}
\def \DATE{\today}

\includeonly{
    %Einleitung
    chapters/Einleitung,
    %Classical_Supervised_Learning
    chapters/Classical_Supervised_Learning/Linear_Regression,
    chapters/Classical_Supervised_Learning/Linear_Classification,
    chapters/Classical_Supervised_Learning/Model_Selection,
    chapters/Classical_Supervised_Learning/k-Nearest_Neighbors,
    chapters/Classical_Supervised_Learning/Trees_and_Forests,
    %Kernel_Methods
    chapters/Kernel_Methods/Kernel-Regression,
    chapters/Kernel_Methods/Support_Vector_Machines,
    chapters/Bayesian_Learning/Bayesian_Learning,
    chapters/Bayesian_Learning/Bayesian_Regression_Algorithms,
    %Neural_Networks
    chapters/Neural_Networks/Basics,
    chapters/Neural_Networks/Gradient_Descent,
    chapters/Neural_Networks/Regularization,
    chapters/Neural_Networks/Practical_Considerations,
    chapters/Neural_Networks/CNNs_and_RNNs,
    %Classical_Unsupervised_Learning
    chapters/Classical_Unsupervised_Learning/Dimensionality_Reduction_and_Clustering,
    chapters/Classical_Unsupervised_Learning/Density_Estimation_and_Mixture_Models,
    chapters/Classical_Unsupervised_Learning/Variational_Auto-Encoders,
    %Mathematische_Grundlagen
    chapters/Mathematische_Grundlagen/Lineare_Algebra,
    chapters/Mathematische_Grundlagen/Probability_Theory,
    chapters/Mathematische_Grundlagen/Kernel_Basics,
    chapters/Mathematische_Grundlagen/Sub-Gradients,
    chapters/Mathematische_Grundlagen/Constraint_Optimization,
    chapters/Mathematische_Grundlagen/Gaussian_Identities,
    %Anhang
    Appendix
}

\input{Glossary.tex}

\begin{document}
    \input{TitlePage.tex}
    \clearpage

    \input{Preface.tex}
    \clearpage

    % {{{ Main Content%
    \pagenumbering{arabic}
    \part{Einleitung}
    \include{chapters/Einleitung.tex}

    \part{Classical Supervised Learning}
    \label{part:Classical Supervised Learning}
    \include{chapters/Classical_Supervised_Learning/Linear_Regression.tex}
    \include{chapters/Classical_Supervised_Learning/Linear_Classification.tex}
    \include{chapters/Classical_Supervised_Learning/Model_Selection.tex}
    \include{chapters/Classical_Supervised_Learning/k-Nearest_Neighbors.tex}
    \include{chapters/Classical_Supervised_Learning/Trees_and_Forests.tex}

    \part{Kernel Methods}
    \label{part:Kernel Methods}
    \include{chapters/Kernel_Methods/Kernel-Regression.tex}
    \include{chapters/Kernel_Methods/Support_Vector_Machines.tex}

    \part{Bayesian Learning}
    \label{part:Bayesian Learning}
    \include{chapters/Bayesian_Learning/Bayesian_Learning.tex}
    \include{chapters/Bayesian_Learning/Bayesian_Regression_Algorithms.tex}

    \part{Neural Networks}
    \label{part:Neural Networks}
    \include{chapters/Neural_Networks/Basics.tex}
    \include{chapters/Neural_Networks/Gradient_Descent.tex}
    \include{chapters/Neural_Networks/Regularization.tex}
    \include{chapters/Neural_Networks/Practical_Considerations.tex}
    \include{chapters/Neural_Networks/CNNs_and_RNNs.tex}

    \part{Classical Unsupervised Learning}
    \label{part:Classical Unsupervised Learning}
    \include{chapters/Classical_Unsupervised_Learning/Dimensionality_Reduction_and_Clustering.tex}
    \include{chapters/Classical_Unsupervised_Learning/Density_Estimation_and_Mixture_Models.tex}
    \include{chapters/Classical_Unsupervised_Learning/Variational_Auto-Encoders.tex}

    \part{Mathematische Grundlagen}
    \label{part:Mathematische Grundlagen}
    \include{chapters/Mathematische_Grundlagen/Lineare_Algebra.tex}
    \include{chapters/Mathematische_Grundlagen/Probability_Theory.tex}
    \include{chapters/Mathematische_Grundlagen/Kernel_Basics.tex}
    \include{chapters/Mathematische_Grundlagen/Sub-Gradients.tex}
    \include{chapters/Mathematische_Grundlagen/Constraint_Optimization.tex}
    \include{chapters/Mathematische_Grundlagen/Gaussian_Identities.tex}
    % }}} %

    \pagenumbering{roman}
    %glossary
    \printglossary[nonumberlist]
    \newpage
    
    %bibliography
    \phantomsection
    \addcontentsline{toc}{chapter}{Literatur}
    \bibliographystyle{IEEEtran-de}
    \bibliography{Bibliography.bib}

    \include{Appendix.tex}
\end{document}
