1c Machinelearning
1c Machinelearning
MSc: https://lms.uzh.ch/url/RepositoryEntry/17589469505
PhD: https://lms.uzh.ch/url/RepositoryEntry/17589469506
Machine Learning in Action
(Using https://www.betafaceapi.com/demo.html)
1
Machine Learning in Action
(Using https://www.betafaceapi.com/demo.html)
1
Machine Learning in Action
(Using https://www.betafaceapi.com/demo.html)
1
Is anything wrong?
2
Is anything wrong?
2
What is machine learning?
3
What is machine learning?
Turing, A.M. (1950). Computing machinery and intelligence. Mind, 59, 433-460.
3
What is machine learning?
Turing, A.M. (1950). Computing machinery and intelligence. Mind, 59, 433-460.
3
Application: Boston Housing Dataset
Categorical attributes
• On the Charles river?
• Index of highway access (1-5)
4
Application: Object Detection and Localisation
Learning is more like farming, which lets nature do most of the work. Farmers
combine seeds with nutrients to grow crops.
6
What is machine learning?
7
What is machine learning?
Face Detection
7
What is machine learning?
Face Detection
7
What is machine learning?
Face Detection
7
What is machine learning?
9
An early (first?) example of automatic classification
10
Histogram Plots for Different Measurements for Versicolour & Virginica
11
Scatter Plots of Pairwise Measurements for Versicolour & Virginica
12
An Early (first?) Example of Automatic Classification
sign(w0 + w1 x1 + · · · + w4 x4 )
+1 if w · x ≥ 0
= sign(w · x) =
−1 otherwise
14
Perceptron Training Algorithm
15
Perceptron Training Algorithm
15
Perceptron Training Algorithm
15
Perceptron Training Algorithm
15
Perceptron Training Algorithm
15
Perceptron Training Algorithm
15
Perceptron Training Algorithm
15
Perceptron Training Algorithm
15
Perceptron Training Algorithm
15
Perceptron Training Algorithm
15
The Perceptron Algorithm
16
The Perceptron Algorithm
Convergence: w remains unchanged for an entire pass over the training set.
Then, all training examples are classified correctly.
16
Machine Learning Models and Methods
19
Supervised Learning
20
Unsupervised Learning : Genetic Data of European Populations
Group similar articles into categories such as politics, music, sport, etc.
22
Active and Semi-Supervised Learning
Active Learning
• Initially all data is unlabelled
• Learning algorithm can ask a human to label some
data
Semi-supervised Learning
• Limited labelled data, lots of unlabelled data
• How to use the two together to improve learning?
23
Collaborative Filtering : Recommender Systems
24
Reinforcement Learning
25