slds-lmu / latex-math

7 stars 7 forks source link

Declare `\indep` independence symbol? #19

Closed jemus42 closed 6 months ago

jemus42 commented 1 year ago

In various lectures, this is defined ad-hoc, sometimes differently:

lecture_iml/style/common.tex
147:\newcommand{\indep}{\perp}

vs

lecture_advml/slides/imbalanced-learning/attic/slides-imbalanced-learning-ranking-metrics.tex
11:\newcommand{\indep}{\perp \!\!\! \perp} % independence symbol

I'd like to define this here, then remove definitions in lectures. This is particularly relevant for common.tex in lecture_iml/style as part of the ongoing task to unify ./style across all lectures in the long run.

jemus42 commented 7 months ago

Added this in 1883fae, now what's left to do is to remove sueprfluous definitions in downstream repos

❯ rg -f -u -l "\newcommand{\indep}"
lecture_advml/exercises/imbalanced-learning/ex_rnw/ex_cost_sensitive_1.Rnw
lecture_advml/exercises/imbalanced-learning/ex_imbal_1.tex
lecture_advml/exercises/fairness/ex_rnw/ex_fairness_2.Rnw
lecture_advml/exercises/fairness/ex_rnw/sol_fairness_1.Rnw
lecture_advml/exercises/fairness/ex_rnw/ex_fairness_1.Rnw
lecture_advml/exercises/fairness/ex_rnw/sol_fairness_2.Rnw
lecture_advml/exercises/aml-test-exam/ex_rnw/ex_fairness.Rnw
lecture_advml/exercises/aml-test-exam/ex_rnw/sol_fairness.Rnw
lecture_iml/style/common.tex
lecture_advml/slides/imbalanced-learning/rsrc/slides-imbalanced-learning-sampling-methods.tex
lecture_advml/slides/imbalanced-learning/attic/slides-imbalanced-learning-ranking-metrics.tex
lecture_advml/slides/fairness/slides-calibration.tex
lecture_advml/slides/fairness/slides-fairness.tex
lecture_advml/slides/multitarget/attic/slides-multitarget-losses-old.tex
jemus42 commented 6 months ago

Fixed this in advml for the slides actively in use, ignoring anything in an attic/ or in the exercises for now.

Also adapted in iml.