Skip to content

Commit f7e7ea0

Browse files
committed
tutorials week1-5 with Sergi
1 parent 46225c3 commit f7e7ea0

21 files changed

+218
-41
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"label": "πŸ’» ML Tutorial Series",
3+
"position": 2,
4+
"link": {
5+
"type": "doc",
6+
"id": "tutorials/index"
7+
}
8+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
sidebar_position: 5
3+
---
4+
5+
# 3: Classification
6+
7+
**Date: 1st November 2023**
8+
9+
πŸ’‘ **Classification** helps us to group data into predefined classes. **Logistic Regression** is a linear model used for binary classification, while **K-means** is an unsupervised clustering algorithm that categorizes data into clusters. **Support Vector Machines (SVM)** find an optimal hyperplane to separate data, and **Decision Trees** use a tree-like structure to make decisions based on feature attributes. Come to this session to explore and implement these four well-known classification methods! πŸ’‘
10+
11+
You can access our **demonstration notebook** here: πŸ“˜ [**Tutorial 3 Notebook**](https://github.com/UCLAIS/ml-tutorials-season-4/blob/main/week-3/p1_logistic_regression_exercise.ipynb)
12+
13+
The folder contains notebooks for Logistic Regression, SVMs, Decision Trees and K-Means. The solutions are available in the same folder.
14+
15+
You can access our **slides** here: πŸ’» [**Tutorial 3 Slides**](https://www.canva.com/design/DAFqI2cJlw0/Y-hfq3RUexRi18DBV0R0VA/edit?utm_content=DAFqI2cJlw0&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton)
16+
17+
The **recording** from this session is available here: 🎀 [**Tutorial 3 Recording**](https://youtu.be/GUxbM4EJrMo?si=jFVr8klkYPsygzSD)
18+
19+
The **DOXA Challenge notebook** can be found here: πŸ† [**DOXA Challenge 1**](https://doxaai.com/competition/uclais-2023-1)
20+
21+
**This is now open for submissions!** Let's see how well your models can performπŸ™ŒπŸΌ
22+
23+
This is the end of the **Classical Machine Learning** section of the series. We will continute next half term on **Deep Learning** πŸ₯³
24+
25+
Hope you have a great reading week! Please join our **WhatsApp** group chat through this [link](https://chat.whatsapp.com/JWEJn7OWvWE8MBfm2uSBhh).
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
---
2+
sidebar_position: 1
3+
---
4+
5+
import DocCardList from '@theme/DocCardList'
6+
7+
# πŸ’» Machine Learning Tutorial Series
8+
9+
Welcome to season 4 (2024-25) of the beginner machine learning tutorial series of the UCL Artificial Intelligence Society!
10+
11+
If you have any questions about our content or machine learning more generally, feel free to ask us at the next session or make a forum post on the [UCLAIS Discord server](https://discord.gg/KSUZuQx?ltclid=3f704b3b-9044-415a-a2d7-e41007214187). You can also join our WhatsApp group chat through this [link](https://chat.whatsapp.com/JWEJn7OWvWE8MBfm2uSBhh).
12+
13+
## Our Team
14+
15+
This academic year, the tutorial series is being delivered by the following people:
16+
17+
- [Sergi Kavtaradze](#) (Head of Tutorials)
18+
- [Zachary Baker](#) (ML Officer)
19+
- [Paul Chaminieu](#) (ML Officer)
20+
- [Anna-Maria](#) (ML Officer)
21+
22+
## DOXA Challenges
23+
24+
Our teaching will be supplemented by engaging AI competitions on [DOXA](https://doxaai.com/) related to topics such as visual computing, natural language processing and reinforcement learning.
25+
26+
To take part and follow along with the tutorial series content, [sign up](https://doxaai.com/sign-up) to the platform if you have not done so already.
27+
28+
## Weekly Tutorials
29+
30+
πŸ“š Access our notebooks, slides and recordings here!
31+
32+
<DocCardList />
33+
34+
## Timeline
35+
36+
### Term 1
37+
38+
During the first half term, we aim to cover basic concepts of **classical ML**:
39+
40+
- Tutorial 0: **Introduction to AI**
41+
- Tutorial 1: **Introduction to Python**
42+
- Tutorial 2: **Regression**
43+
- Tutorial 3: **Classification 1**
44+
- Tutorial 4: **Classification 2**
45+
46+
After reading week, we will focus on **Deep Learning**!
47+
48+
- Tutorial 4: **Neural Networks**
49+
- Tutorial 5: **Visual Computing I** (Doxa)
50+
- Tutorial 6: **Generative visual computing**
51+
- Tutorial 7: **Recurrent Neural Networks** (Doxa)
52+
- Tutorial 8: **Introduction to Transforments**
53+
54+
### Term 2
55+
56+
- Tutorial 9: **Natural Language Processing I**
57+
- Tutorial 10: **Natural Language Processing II**
58+
- Tutorial 11: **Graph neural networks / Reinforcement learning**
59+
60+
## Previous Seasons
61+
62+
The content and resources from previous years are available on GitHub:
63+
64+
- [Season 1 (2020/21)](https://github.com/UCLAIS/Machine-Learning-Tutorials) &ndash; led by [Danny Toeun Kim](https://github.com/kimdanny)
65+
- [Season 2 (2021/22)](https://github.com/UCLAIS/ML-Tutorials-Season-2) &ndash; led by [Martynas Pocius](https://github.com/MartynasPocius)
66+
- [Season 3 (2022/23)](https://github.com/UCLAIS/ml-tutorials-season-3) &ndash; led by [Filip TrhlΓ­k](https://trhlikfilip.com/)
67+
- [Season 4 (2023/24)](https://github.com/UCLAIS/ml-tutorials-season-4) &ndash; led by [Angela Yu](https://github.com/angela24680403)
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
sidebar_position: 2
3+
---
4+
5+
# 0: Introduction to AI
6+
7+
**Date: 2nd October 2024**
8+
9+
πŸ’‘ We're excited to present our **Introduction to Artificial Intelligence** tutorial session! In this session, we'll take you on a journey to understand the different perspectives on AI and its evolution. We will also cover definitions of the key components of AI, including **Machine Learning** (ML) and **Deep Learning** (DL). **Generative AI**, especially models like GPT-3 and updated versions of this, has created significant attention in recent years. These models have demonstrated the ability to **generate human-like text and creative content** across multiple areas, ranging from **text to image and audio synthesis**. We will showcase some of these examples in the session! Please note that though this session is introducing what AI is in general, we will be mainly **focusing our series on ML**. πŸ’‘
10+
11+
You can access our **demonstration notebook** here: πŸ“˜ [**Tutorial 0 Notebook**](https://github.com/UCLAIS/ml-tutorials-season-5/blob/main/week-0/ai_code_examples.ipynb)
12+
13+
You can access our **slides** here: πŸ’» [**Tutorial 0 Slides**](https://www.canva.com/design/DAFm9tHNEDM/cEKEXWzmazR5KKN-7f06tw/edit)
14+
15+
The **recording** from this session is available here: 🎀 [**Tutorial 0 Recording**](https://www.youtube.com/watch?v=OFS90-FX6pg)
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
sidebar_position: 3
3+
---
4+
5+
# 1: Introduction to Python
6+
7+
**Date: 9th October 2024**
8+
9+
πŸ’‘ **Python** is a common, **high-level programming language** known for its simplicity - this means that if you are new to coding, this language would be the perfect place to start! It has access to a lot of **libraries and frameworks**, including **NumPy**, **Pandas**, and **TensorFlow**, that are particularly useful for our ML series. In this session, the Tutorials team is collaborating with the Development team to create a workshop where we can provide direct help with **setting up your environment** and **walk you through Python exercises** we have prepared for you to get started! πŸ’‘
10+
11+
You can access our **demonstration notebook** here: πŸ“˜ [**Tutorial 1 Notebook**](https://github.com/UCLAIS/ml-tutorials-season-5/blob/main/week-1/1_1_introduction_to_python.ipynb)
12+
13+
Here are the **exercises** you can go through: πŸ“˜ [**Tutorial 1 Exercises**](https://github.com/UCLAIS/ml-tutorials-season-5/blob/main/week-1/1_2_python_exercises.ipynb)
14+
15+
You can access our **slides** here: πŸ’» [**Tutorial 1 Slides**](https://www.canva.com/design/DAFmvE-ptx0/lyY0SiOcjgSxrb201KcC8w/edit)
16+
17+
The **recording** from this session is available here: 🎀 [**Tutorial 1 Recording**](https://www.youtube.com/watch?v=adnK-hc2DmY)
18+
19+
Here are two videos covering our exercise **solutions**:
20+
21+
- Exercises 1 to 4: [Solution pt1](https://www.youtube.com/watch?v=qmHgg0IR680)
22+
- Exercises 5 and 6: [Solution pt2](https://www.youtube.com/watch?v=3Kmt0qmibrg)
23+
24+
We will not go through all of the notebooks in the session, but throughout this series, we will be referring back to them.
25+
26+
For more information on various **Python libraries**, we have **extra resources** available here: πŸ“˜ [**Python Notebook Collection**](https://github.com/UCLAIS/ml-tutorials-season-4/tree/main/week-1)
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
sidebar_position: 4
3+
---
4+
5+
# 2: Regression
6+
7+
**Date: 25th October 2023**
8+
9+
πŸ’‘ **Linear regression** in simple terms is finding the **line of best fit** given a set of data points that loosely follow a linear pattern. One way of doing this is by **minimising the loss** (difference between actual and computed value), making it useful for **predicting numerical outcomes** based on input features. **Polynomial regression** extends linear regression by allowing the model to capture **nonlinear relationships** between variables, using polynomial functions to fit the data more flexibly. πŸ’‘
10+
11+
You can access our **demonstration notebook** here: πŸ“˜ [**Tutorial 2 Notebook**](https://github.com/UCLAIS/ml-tutorials-season-4/blob/main/week-2/linear_regression_exercise.ipynb)
12+
13+
The solution is available in the same folder.
14+
15+
You can access our **slides** here: πŸ’» [**Tutorial 2 Slides**](https://www.canva.com/design/DAFoWFiqTgg/9h0jgvGO1Pd35iYhQfFPMQ/edit?utm_content=DAFoWFiqTgg&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton)
16+
17+
The **recording** from this session is available here: 🎀 [**Tutorial 2 Recording**](https://www.youtube.com/watch?v=bo-lbJ--F3g)

β€Žour-initiatives/tutorials/classification.md

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,14 @@ sidebar_position: 5
44

55
# 3: Classification
66

7-
**Date: 1st November 2023**
7+
**Date: 23rd of October 2024**
88

9-
πŸ’‘ **Classification** helps us to group data into predefined classes. **Logistic Regression** is a linear model used for binary classification, while **K-means** is an unsupervised clustering algorithm that categorizes data into clusters. **Support Vector Machines (SVM)** find an optimal hyperplane to separate data, and **Decision Trees** use a tree-like structure to make decisions based on feature attributes. Come to this session to explore and implement these four well-known classification methods! πŸ’‘
9+
πŸ’‘ **Classification** helps us to group data into predefined classes. **Logistic Regression** is a linear model used for binary classification, while **K-means** is an unsupervised clustering algorithm that categorizes data into clusters. **Support Vector Machines (SVM)** find an optimal hyperplane to separate data to make decisions based on feature attributes. Come to this session to explore and implement these three well-known classification methods! πŸ’‘
1010

11-
You can access our **demonstration notebook** here: πŸ“˜ [**Tutorial 3 Notebook**](https://github.com/UCLAIS/ml-tutorials-season-4/blob/main/week-3/p1_logistic_regression_exercise.ipynb)
11+
You can access our **demonstration notebook** here: πŸ“˜ [**Tutorial 3 Notebook**](https://github.com/UCLAIS/ml-tutorials-season-5/tree/main/week-3)
1212

13-
The folder contains notebooks for Logistic Regression, SVMs, Decision Trees and K-Means. The solutions are available in the same folder.
13+
The folder contains notebooks for Logistic Regression, SVMs and K-Means. The solutions are available in the same folder.
1414

15-
You can access our **slides** here: πŸ’» [**Tutorial 3 Slides**](https://www.canva.com/design/DAFqI2cJlw0/Y-hfq3RUexRi18DBV0R0VA/edit?utm_content=DAFqI2cJlw0&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton)
15+
You can access our **slides** here: πŸ’» [**Tutorial 3 Slides**](https://www.canva.com/design/DAGSEMcVTo0/tg4iuVLCGYIAIrx3lmvzgw/view?utm_content=DAGSEMcVTo0&utm_campaign=designshare&utm_medium=link&utm_source=editor)
1616

17-
The **recording** from this session is available here: 🎀 [**Tutorial 3 Recording**](https://youtu.be/GUxbM4EJrMo?si=jFVr8klkYPsygzSD)
18-
19-
The **DOXA Challenge notebook** can be found here: πŸ† [**DOXA Challenge 1**](https://doxaai.com/competition/uclais-2023-1)
20-
21-
**This is now open for submissions!** Let's see how well your models can performπŸ™ŒπŸΌ
22-
23-
This is the end of the **Classical Machine Learning** section of the series. We will continute next half term on **Deep Learning** πŸ₯³
24-
25-
Hope you have a great reading week! Please join our **WhatsApp** group chat through this [link](https://chat.whatsapp.com/JWEJn7OWvWE8MBfm2uSBhh).
17+
The **recording** from this session is available here: 🎀 [**Tutorial 3 Recording**](https://youtu.be/G1hO7jkDHDg)
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
sidebar_position: 6
3+
---
4+
5+
# 4: Classification II & Workshops
6+
7+
**Date: 30th of October 2024**
8+
9+
πŸ’‘ **Classification** helps us to group data into predefined classes. We will recap classification techniques from last week, including **Logistic Regression**, **K-means**, and **Support Vector Machines (SVM)**. We will cover a new technique called **Decision Trees** which uses a tree-like structure to make decisions based on feature attributes. We will introduce 2 practical machine learning challenges:
10+
1. [🐧 Penguin species classification](https://doxaai.com/competition/palmer-penguins)
11+
2. [🏠 California housing price prediction](https://doxaai.com/competition/california-housing/overview)
12+
13+
14+
Over the next 3 weeks until 13 Nov, 2024 18:00 we will be running the housing price prediction DOXA challenge
15+
16+
17+
People who manage to get MAE of under 32.6 will be eligible for **AI society shirt** and a pen (up to 2 or 3 shirts available, so first come first serve).
18+
19+
Check out the last part of our presentation discussing methods to get a better MAE (mean absolute error). We will teach you about ensemble methods including **gradient boosting** and **feature scaling**
20+
21+
You can access our **demonstration notebook** here: πŸ“˜ [**Tutorial 4 Notebook**](https://github.com/UCLAIS/ml-tutorials-season-5/tree/main/week-4)
22+
23+
The folder contains notebooks for Decision Trees as well as the DOXA Challenges.
24+
25+
You can access our **slides** here: πŸ’» [**Tutorial 4 Slides**](https://www.canva.com/design/DAGSEOQht5I/XHpWzq_jCjyy90w2t9XKMQ/view?utm_content=DAGSEOQht5I&utm_campaign=designshare&utm_medium=link&utm_source=editor)
26+
27+
The **recording** from this session is available here: 🎀 [**Tutorial 4 Recording**](https://www.youtube.com/watch?v=0JmuBxJ5W4I)

β€Žour-initiatives/tutorials/index.mdx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,22 +40,22 @@ During the first half term, we aim to cover basic concepts of **classical ML**:
4040
- Tutorial 0: **Introduction to AI**
4141
- Tutorial 1: **Introduction to Python**
4242
- Tutorial 2: **Regression**
43-
- Tutorial 3: **Classification 1**
44-
- Tutorial 4: **Classification 2**
43+
- Tutorial 3: **Classification I**
44+
- Tutorial 4: **Classification II**
4545

4646
After reading week, we will focus on **Deep Learning**!
4747

48-
- Tutorial 4: **Neural Networks**
49-
- Tutorial 5: **Visual Computing I** (Doxa)
50-
- Tutorial 6: **Generative visual computing**
51-
- Tutorial 7: **Recurrent Neural Networks** (Doxa)
52-
- Tutorial 8: **Introduction to Transforments**
48+
- Tutorial 5: **Neural Networks**
49+
- Tutorial 6: **Visual Computing I** (Doxa)
50+
- Tutorial 7: **Generative visual computing**
51+
- Tutorial 8: **Recurrent Neural Networks** (Doxa)
52+
- Tutorial 9: **Introduction to Transforments**
5353

5454
### Term 2
5555

56-
- Tutorial 9: **Natural Language Processing I**
57-
- Tutorial 10: **Natural Language Processing II**
58-
- Tutorial 11: **Graph neural networks / Reinforcement learning**
56+
- Tutorial 10: **Natural Language Processing I**
57+
- Tutorial 11: **Natural Language Processing II**
58+
- Tutorial 12: **Graph neural networks / Reinforcement learning**
5959

6060
## Previous Seasons
6161

β€Žour-initiatives/tutorials/intro-to-ai.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ sidebar_position: 2
1010

1111
You can access our **demonstration notebook** here: πŸ“˜ [**Tutorial 0 Notebook**](https://github.com/UCLAIS/ml-tutorials-season-5/blob/main/week-0/ai_code_examples.ipynb)
1212

13-
You can access our **slides** here: πŸ’» [**Tutorial 0 Slides**](https://www.canva.com/design/DAFm9tHNEDM/cEKEXWzmazR5KKN-7f06tw/edit)
13+
You can access our **slides** here: πŸ’» [**Tutorial 0 Slides**](https://www.canva.com/design/DAGSEETkOlo/6odBSGgHuNmrCqUAUwCbAA/view?utm_content=DAGSEETkOlo&utm_campaign=designshare&utm_medium=link&utm_source=editor)
1414

15-
The **recording** from this session is available here: 🎀 [**Tutorial 0 Recording**](https://www.youtube.com/watch?v=OFS90-FX6pg)
15+
The **recording** from this session is available here: 🎀 [**Tutorial 0 Recording**](https://youtu.be/3E5aampSpvc)

β€Žour-initiatives/tutorials/intro-to-python.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,17 @@ sidebar_position: 3
66

77
**Date: 9th October 2024**
88

9-
πŸ’‘ **Python** is a common, **high-level programming language** known for its simplicity - this means that if you are new to coding, this language would be the perfect place to start! It has access to a lot of **libraries and frameworks**, including **NumPy**, **Pandas**, and **TensorFlow**, that are particularly useful for our ML series. In this session, the Tutorials team is collaborating with the Development team to create a workshop where we can provide direct help with **setting up your environment** and **walk you through Python exercises** we have prepared for you to get started! πŸ’‘
9+
πŸ’‘ **Python** is a common, **high-level programming language** known for its simplicity - this means that if you are new to coding, this language would be the perfect place to start! It has access to a lot of **libraries and frameworks**, including **NumPy**, **Pandas**, and **TensorFlow**, that are particularly useful for our ML series which we will cover in the following weeks.
1010

1111
You can access our **demonstration notebook** here: πŸ“˜ [**Tutorial 1 Notebook**](https://github.com/UCLAIS/ml-tutorials-season-5/blob/main/week-1/1_1_introduction_to_python.ipynb)
1212

13-
Here are the **exercises** you can go through: πŸ“˜ [**Tutorial 1 Exercises**](https://github.com/UCLAIS/ml-tutorials-season-5/blob/main/week-1/1_2_python_exercises.ipynb)
13+
Here are the **exercises** you can go through: πŸ“˜ [**Tutorial 1 Exercises**](https://github.com/UCLAIS/ml-tutorials-season-5/blob/main/week-1/1_3_python_exercises_solutions.ipynb)
1414

15-
You can access our **slides** here: πŸ’» [**Tutorial 1 Slides**](https://www.canva.com/design/DAFmvE-ptx0/lyY0SiOcjgSxrb201KcC8w/edit)
15+
You can access our **slides** here: πŸ’» [**Tutorial 1 Slides**](https://www.canva.com/design/DAGSEB7hhYg/1T_j1UdAU0s8gRzbJJB2yQ/view?utm_content=DAGSEB7hhYg&utm_campaign=designshare&utm_medium=link&utm_source=editor)
1616

17-
The **recording** from this session is available here: 🎀 [**Tutorial 1 Recording**](https://www.youtube.com/watch?v=adnK-hc2DmY)
17+
The **recording** from this session is available here: 🎀 [**Tutorial 1 Recording**](https://www.youtube.com/watch?v=NjVkzWVrPVI&ab_channel=SergiSavanelli)
1818

19-
Here are two videos covering our exercise **solutions**:
19+
We were not able to cover everything we wanted to during the session. Here are some resources that cover the key concepts that were missing:
2020

21-
- Exercises 1 to 4: [Solution pt1](https://www.youtube.com/watch?v=qmHgg0IR680)
22-
- Exercises 5 and 6: [Solution pt2](https://www.youtube.com/watch?v=3Kmt0qmibrg)
23-
24-
We will not go through all of the notebooks in the session, but throughout this series, we will be referring back to them.
25-
26-
For more information on various **Python libraries**, we have **extra resources** available here: πŸ“˜ [**Python Notebook Collection**](https://github.com/UCLAIS/ml-tutorials-season-4/tree/main/week-1)
21+
[**Object Oriented Programming**](https://www.youtube.com/watch?v=q2SGW2VgwAM)
22+
[**Comprehensions**](https://www.youtube.com/watch?v=twxE0dEp3qQ&t=417s)

0 commit comments

Comments
Β (0)