- Create a new repository with the name
website_xyz
and selectslds-lmu/website_template
as template repository - There should already be a
gh-pages
branch. If not, create it. - Go to
Settings -> Pages
and select thegh-pages
branch as built branch. - Change all
website_template
entries in theconfig.toml
file to your repository namewebsite_xyz
(this should happen in two places, line 1 thebaseURL
and line 43 the footer url). - The built of the website should already be available at
http://slds-lmu.github.io/website_xyz/
- [Optional] Add your website link to the description of the repository to make it accessible more easily.
- Edit the team page. Remove people not affiliated with the lecture and add add relevant people.
- Edit your files as described below.
- Directories and filenames have to be lowercase
- Chapters are ordered after filenames
- if no video is given or no pdf file is present: delete yaml param completely
- to include pdfs, use pdfjs:
- For Files:
{{< pdfjs file="slides-regression-losses.pdf" >}}
. The pdf has to be in the same directory as the md file. - As URL:
{{< pdfjs file="https://github.com/slds-lmu/lecture_i2ml/blob/master/slides-pdf/slides-regression-losses.pdf" >}}
. If a URL is used, a download button is created instead a preview of the slides.
- For Files:
- if you add a markdown or html link to a file that is in the same directory
- you should use the shortcode
{{< fileurl file="cheatsheet_notation.pdf" >}}
- if you link to
../file.pdf
it will break in the index pages
- you should use the shortcode
- to include lecture video:
{{< video id = "Syrzezpj2FY" >}}
- the
video_id
is the last part of the youtube url, e.g. forhttps://www.youtube.com/watch?v=BmSvhDCdJro
it isBmSvhDCdJro
. - You can also embed videos from other platforms by changing
video_base_url
inconfig.toml
- Or use a custom shortcode.
- To directly change aspects in the video embedding you can also use the explicit HTML-iframe tag e.g.
<iframe width="560" height="315" src="https://www.youtube.com/embed/8CSGRjM8E0g?si=5Ms3XDe8zZba26Vb" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay = "0"; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
- To ensure that the views are counted properly explicitly set the
autoplay = "0"
-HTML attribute either directly in the HTML-iframe tag or in the video.html in the layouts of the website theme
- the
- mathjax enabled if
mathjax: true
in yaml-frontmatter - if mathjax should be supported in index page, add it to respective
_index.md
or enable it inconfig.toml
- make quizzes using https://github.com/bonartm/hugo-quiz
- put
quizdown: true
in yaml-frontmatter - quizzes support mathjax without the
mathjax: true
- put
- in
_index.md
you can specifyshow_in_index: (content|summary|none)
The deploy is done automatically via GitHub Actions. Nothing needs to be done to publish a new version of the website. Each build is triggered when a commit is done to the main
branch.
If you use our material, please consider citing us as follows:
@misc{bischl22i2ml,
author = {Bischl, Bernd and Bothmann, Ludwig and Scheipl, Fabian and Pielok, Tobias and Wimmer, Lisa and Li, Yawei and Kolb, Chris and Schalk, Daniel and Seibold, Heidi and Molnar, Christoph and Richter, Jakob},
title = {{Introduction to Machine Learning (I2ML)}},
howpublished = "\url{https://slds-lmu.github.io/i2ml/}",
year = {2022},
note = "[Online; accessed yyyy-mm-dd]"
}
This course is based on our concept of open-source educational resources (OSER) as described in our paper:
@InProceedings{bothmann23oser,
title = {Developing Open Source Educational Resources for Machine Learning and Data Science},
author = {Bothmann, Ludwig and Strickroth, Sven and Casalicchio, Giuseppe and R\"ugamer, David and Lindauer, Marius and Scheipl, Fabian and Bischl, Bernd},
booktitle = {Proceedings of the Third Teaching Machine Learning and Artificial Intelligence Workshop},
pages = {1--6},
year = {2023},
editor = {Kinnaird, Katherine M. and Steinbach, Peter and Guhr, Oliver},
volume = {207},
series = {Proceedings of Machine Learning Research},
month = {19--23 Sep},
publisher = {PMLR},
url = {https://proceedings.mlr.press/v207/bothmann23a.html},
}