The notation and shortcuts used in latex-files of lectures, papers, ... of the Chair of Statistical Learning and Data Science is defined and maintained in this repository. Notation & shortcuts are split into multiple files depending on subject and can be integrated as needed.
basic-math
: basic mathematical notation such as mathematical spaces, sums & products, linear algebra, basic probability and statisticsbasic-ml
: basic machine learning notation such as notation for data (x, y), prediction functions, likelihood, loss functions, generalization errorml-nn
: neural networksml-svm
: support vector machinesml-trees
: decision treesml-interpretable
: IML / xAI:warning: Important Usage Note: If you encounter these files within a lecture or project repository, do not make any changes locally. Go to slds-lmu/latex-math and make your changes either directly or via pull request.
Any local changes are assumed to be spurious and will be overridden with upstream slds-lmu/latex-math
.
latex-math
to the gitignore file. This means you have to keep this repository in sync with each client repository by also doing git pull in the latex-math subdirectory when pulling changes for the client repo. The reason we do it this way is that work on latex-math is not duplicated.
Note that some of the macros defined here may use additional Latex packages -- a good set to start with is
\usepackage{mathtools}
\usepackage{bm} % basic-ml, ml-gp
\usepackage{siunitx} % basic-ml
\usepackage{dsfont} % basic-math
\usepackage{xspace} % ml-mbo
\usepackage{xifthen} % ml-interpretable
See latex-math.pdf
for all currently defined commands & definitions.
latex-math.Rmd
if you add new commands so it is kept up-to-date and to check that you have committed all the changes your notation requires to work.To ensure recompilation is not forgotten, please install the pre-commit hook:
cp service/pre-commit-check-pdf .git/hooks/pre-commit