git clone
the repository andcd
into the root directory.- For the exercise Jupyter notebooks
- create a virtual environment (recommended) e.g. with venv, conda or other.
- install python dependencies with
pip install -r requirements.txt
in a virtual environment. Note: the fake-data-for-learning package has some non-python dependencies; see its installation instructions.
Slides are built as part of the repo's ci-cd pipeline, and be found under releases. See e.g. the v2022.1.1 release.
Examples and exercises: graphical models, probability polytopes, and simpson's paradox
- Model Selection Examples
- Risk and AI in Practice Exercises
- Model Selection Exercises (from 2017 workshop)
The number of points for a correct solution for each exercise brings is equal to
You have to solve one problem from each of the four sets of problems unless you solved one of the problems with three stars.
In the exercise notebooks and requirements.txt
you see which python packages I used in creating and solving the exercises, though this list is far from exhaustive. Below are some (additional) python packages that may be useful
If the release is for a new workshop year, then first manually change the version in the code-base to <new-year>.0.0
. This release need not be a tagged release, as it is the same as the final release of the previous workshop in an earlier year.
Once an initial release has been created for a new workshop, create subsequent tagged releases by using bump2version.
Note: I do not follow Semantic Versioning for this project. For the first digit (in semver, major
), I use the year of the target workshop, and for the last (in semver patch
), I increment when a chunk of work is done towards giving the workshop. The middle digit (in semver, minor
) stays on 0 until I give the workshop, when it bumps to 1. Fixes to the given workshop get reflected in the patch versions yyyy.1.<patch-version>
.
- Update python versions run in ci (drop 3.6, add higher versions)
- Add escaping of model-selection-notebook correlation tex table columns
- Fix latex color theme name for Ubuntu
- Update github action versions for checkout and setup-python
- Remove tox, as it duplicated the ci-cd matrix strategy
Replace slide publishing workaround with instructions on accessing compiled slides under releases.
Remove (now deprecated) static example ATE result in correlation-causality slides.
Remove RY in release process overview
- Fix typos in discrete geometry slides, including definition of d-separation
- Fix hit-rate average treatment effect results in slides
- Add ci / cd release step to make ci / cd slide artifacts publicly available
Refactor introduction and concluding lectures, as well as their exercises
Add simpson's paradox content and exercises to the discrete geometry lecture
Add ci tests of package and notebooks for mac and windows (latest) operating systems
Add github actions workflow for automated testing, with unit, notebook-run and latex-slides-build
Add github actions job for continuous delivery of slide artifacts
Add example of model selection pipeline for artificial credit scoring data
Add initial exercises and methods for Simpson's paradox.
Created prior to the above versioning scheme, workshop at University of Ljublana in February, 2020.