🌍 Travel around the world as we explore Machine Learning by means of world cultures 🌍
Aalborg University and Microsoft are pleased to offer a curriculum about Machine Learning. In this curriculum, you will learn about what is sometimes called classic machine learning, using primarily Scikit-learn as a library.
Travel with us around the world as we apply these classic techniques to data from many areas of the world. Each lesson includes pre- and post-lesson quizzes, written instructions to complete the lesson, a solution, an assignment, and more. Our project-based pedagogy allows you to learn while building, a proven way for new skills to 'stick'.
Experimental: To use this curriculum out of the box, log in with your github account to this repo, press comma , or go directly to https://github.com/codespaces/new/SMC-AAU-CPH/ML-For-Beginners?resume=1 This is the github codespaces magic: https://github.com/features/codespaces:
Codespaces is available for free to students as part of the GitHub Student Developer Pack. Learn more about how to sign up and start using Codespaces and other GitHub products https://education.github.com/pack
Safer: Complete the exercises on your own or with a group on Google Colab.
Safest: Fork or clone (with --depth=1) the entire repo and complete the exercises on your own or with a group locally on VS Code. You must have Visual Studio Code, python, and git installed. If not, we recommend package managers: On macOS homebrew, on Linux apt, and on Windows winget.
git clone --depth=1 https://github.com/SMC-AAU-CPH/ML-For-Beginners.git
cd ML-For-Beginners
After this pip install -r requirements.txt would install all the packages and you'd be up and running.
Recommendation: use uv for package / dependency / tool management instead. We now provide a pyproject.toml to get you started:
On macOS/Linux (via shell):
curl -LsSf https://astral.sh/uv/install.sh | sh
or if you use hombrew (also on Linux)
brew install uv
On Windows (via PowerShell):
irm https://astral.sh/uv/install.ps1 | iex # or if you get permission errors:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
or if you use winget
install the entire toolchain (erase what you already have):
winget install --id Git.Git -e --source winget
winget install --id Microsoft.VisualStudioCode -e --source winget
winget install --id Python.Python.3 -e --source winget
winget install --id=astral-sh.uv -e
Then, assuming you are at the ML-For-Beginners root folder
uv sync
code .
Select from any notebook.ipynb the uv kernel (Select-kernel/PythonEnvironments/ml-for-beginners, usually starred). You are good to code and machine learn.
In any case
- Start with a pre-lecture quiz.
- Read the lecture and complete the activities, pausing and reflecting at each knowledge check.
- Try to create the projects by comprehending the lessons rather than running the solution code; however that code is available in the
/solutionfolders in each project-oriented lesson. - Take the post-lecture quiz.
- Complete the challenge.
- Complete the assignment.
- If marked as MandatoryAssignment, submit it to Moodle.
For further study, we recommend following the link to the Microsoft Learn modules and learning paths.
Some of the lessons are available as short form video. You can find all these in-line in the lessons, or on the ML for Beginners playlist on the Microsoft Developer YouTube channel.
Gif by Mohit Jaisal
🎥 Click the image above for a video about the project and the Microsoft folks who created it!
We have chosen two pedagogical tenets while building this curriculum: ensuring that it is hands-on project-based and that it includes frequent quizzes. In addition, this curriculum has a common theme to give it cohesion.
By ensuring that the content aligns with projects, the process is made more engaging for students and retention of concepts will be augmented. In addition, a low-stakes quiz before a class sets the intention of the student towards learning a topic, while a second quiz after class ensures further retention. This curriculum was designed to be flexible and fun and can be taken in whole or in part. The projects start small and become increasingly complex by the end of the 12-week cycle. This curriculum also includes a postscript on real-world applications of ML, which can be used as extra credit or as a basis for discussion.
Find Microsoft's' Code of Conduct, Contributing, and Translation guidelines in the links. In 2025, your teacher is Cumhur Erkut.
- optional sketchnote
- optional supplemental video
- pre-lecture warmup quiz
- written lesson
- for project-based lessons, step-by-step guides on how to build the project
- knowledge checks
- a challenge
- supplemental reading
- assignment
- post-lecture quiz
A note about quizzes: All quizzes are contained in this app, for 52 total quizzes of three questions each. They are linked from within the lessons. Multiple lessons will be contained in Sessions, which are the sessions you'll also see at Moodle.
Below is a preliminary schedule, which mainly follows Microsoft's ML for beginners, from our own fork at https://github.com/SMC-AAU-CPH/ML-For-Beginners
| Sec | Date | Theory | Lesson Group | Lessons | Learning objectives addressed |
|---|---|---|---|---|---|
| 1 | 2025-09-08 Mon 1a | Workshop I: Introduction | Introduction | 1.1, 1.4 | Multivariate statistics |
| 2 | 2025-09-08 Mon 1b | Supervised Learning I | 2-Regression | 2.1-2.4 | Least-squares, regression |
| 3 | 2025-09-08 Mon 2a | Supervised learning II | 3-Classification | 3.1-3.3 | |
| 4 | 2025-09-08 Mon 2b | Supervised learning III:Deployment | 3.4-Applied | 3.4 | Builds on the previous session Application to media |
| 5 | 2025-09-22 Mon 3 | Unsupervised Learning I | Clustering & Vizualization | 14-15 | k-means, tSNE, PCA |
| 6 | 2025-09-22 Mon 3 | Unsupervised Learning II | Natural Language Processing | 16-20 | Context and application |
| 7 | 2025-09-29 Mon 4 | Time series. Edge Impulse | 21-23 | Application to media |
|
| 7 | 2025-10-20 Mon 5 | Vision | Time series. Edge Impulse | - | TBA |
| 8 | 2025-11-03 Mon 6 | Reinforcement Learning | Reinforcement learning | - | Q-learning, Gym |
| 9, 10 | 2025-11-17 Mon 7 | Workshop II: Deployment | ML in the Wild: gradio, streamlitMini-projects Danish National Champion in AI |
- | Mini-projects |
Microsoft team produces other curricula! Check out:
- AI for Beginners
- Data Science for Beginners
- ML for Beginners
- Generative AI for Beginners
- Generative AI for Beginners .NET
- Generative AI with JavaScript
- Generative AI with Java
- Cybersecurity for Beginners
- Web Dev for Beginners
- IoT for Beginners
- XR Development for Beginners
- Mastering GitHub Copilot for Paired Programming
- Mastering GitHub Copilot for C#/.NET Developers
- Choose Your Own Copilot Adventure
