Lecture 01 Introduction
Lecture 01 Introduction
Lecture 1: Introduction
1
Medicine: Colon cancer detection
2
Chemistry: Drug discovery
3
Physics: ATLAS experiment
4
Earth System Science: Weather (AtmoRep)
5
Self-driving cars: Road segmentation
6
Robotics: Arm control
7
Web, Recommendation and Search
8
Game playing
AlphaGO AlphaStar
9
Image generation
13
What unites all of these?
14
What is machine learning?
Field of study that gives computers the ability to learn without being explicitly
programmed.1
1
Due to Arthur Samuel who is credited with coining the term in 1959.
2
Due to Tom Mitchell.
3
Answer by GPT-4 when asked ”What is Machine Learning?”.
15
What is machine learning?
Field of study that gives computers the ability to learn without being explicitly
programmed.1
1
Due to Arthur Samuel who is credited with coining the term in 1959.
2
Due to Tom Mitchell.
3
Answer by GPT-4 when asked ”What is Machine Learning?”.
15
What is machine learning?
Field of study that gives computers the ability to learn without being explicitly
programmed.1
1
Due to Arthur Samuel who is credited with coining the term in 1959.
2
Due to Tom Mitchell.
3
Answer by GPT-4 when asked ”What is Machine Learning?”.
15
Learned from data instead of explicitly programmed
16
When to use machine learning?
Good examples:
Bad examples:
17
When to use machine learning?
Supervised learning
Unsupervised learning
Reinforcement learning
18
Types of machine learning problems
Supervised learning
Classification
Regression
Unsupervised learning
Clustering
Dimensionality reduction
Generative modelling
Reinforcement learning
18
Supervised learning
19
Supervised learning: Classification
Examples
Handwritten digit recognition
Fraud detection
Object classification
Cancer detection
Spam detection
MNIST digits
Usually we have single-label (binary or multi-class) classification. Sometimes we
also have multi-class multi-label classification.
20
Supervised learning: Regression
Examples
Demand forecasting
Molecule toxicity prediction
Stock market ”prediction”
Penguins
Sometimes the targets are ordinal (e.g. age) which needs special care.
21
Unsupervised learning
Typical tasks:
Clustering: group similar objects together
Dimensionality reduction: project down high-dimensional data
Generative modelling: controllably generate new ”realistic” data
Anomaly detection: find outliers in the data
22
Unsupervised learning: Clustering and Dimensionality reduction
2D embedding of emojis 24
Reinforcement learning
Agent
Environment
25
Other categories
Active learning: carefully select which instances to label and query an oracle
26
From concrete problems to abstract tasks
27
From concrete problems to abstract tasks
27
The basic recipe
28
Learning ≈ Optimization
Find the model f ∗ from the set F that minimizes the loss l on a dataset D.
f ∗ = min l(f, D)
f ∈F
29
Machine Learning vs. Others
Artificial Intelligence
ML
Machine Learning vs. Others
Data Science
ML
Machine Learning vs. Others
Machine Learning
DL
Machine Learning vs. Others
Machine Learning Data Mining
Machine Learning vs. Others
30
Machine Learning vs. Others
Artificial Intelligence Machine Learning Data Mining
ML
ML
DL
30
General information
Staff
Lecturer: Prof. Dr. Aleksandar Bojchevski
TAs: Soroush H. Zargarbashi, Simone Antonelli, Jimin Cao, Sadegh Akhondzadeh
Details
9 ECTS
Language - English
Course materials on ILIAS
Use the ILIAS forum to ask questions – emails will likely not be answered!
31
Schedule and logistics
Lectures
Tue & Wed, 16:00 – 17:30
321 Lecture Hall (Hörsaal) II
Tutorials
Tue/Wed (see next slide)
Seminar room 1.421, Sibille-Hartmann-Str. 2-8 (Building 415)
Lecture/Tutorial Lecture/Tutorial
n
Sheet n − 1 due Sheet n released Solution n − 1
32
Exercise groups
33
Weekly schedule
Homework
12 sheets in total
Theoretical questions
Practical coding tasks in Python and Jupyter Notebook
Exam
Date 1: 24.07.24 08:00 - 11:00
Date 2: 30.09.24 13:00 - 16:00
Bonus
One grade (0.3) improvement if sufficient effort: ≥ 50% points for ≥ 9/12 sheets
Only grades in the range 1.3 − 4.0 can be improved (e.g. 1.3 → 1.0)
Homework points at the end of the semester, attend the tutorial to get feedback 35
Exercise sheets and group formation
Late submissions are not allowed since ”buffers” are already built in (see bonus).
36
Homework policies
Any resources that you use to solve the homework must be cited. Examples:
Doing any of the above without proper citation constitutes cheating, as well
copying the solution of your fellow students.
- First time you get a warning, second time you fail the course
37
Reading material
The specific chapters and other relevant books and resources will be provided on
the last slide of each lecture.
38
Prerequisites and what’s next?