ME5990
�
Seminar: Historical Terms� in Machine Learning (pattern recognition)
Outline
K-nearest neighborhood
https://brilliantmaps.com/2020-county-election-map/
Problem for Start
(0,1)
?
?
K: number of neighbors
(0,1)
(-1,2)
d
Some other distances
K: number of neighbors
(0,1)
(-1,2)
d
K: number of neighbors
(0,1)
(-1,2)
d
K: number of neighbors
(0,1)
(-1,2)
d
Number of K matters
Decision Boundary
https://www.analyticsvidhya.com/blog/2018/03/introduction-k-neighbours-algorithm-clustering/
K-nearest Neighbor
Outline
Outline
Principal Component Analysis
PCA
PCA technique
PCA
PCA
PCA
PCA cookbook (via eigenvector decoupling)
Demonstration of PCA
(-1,-1)
(1,1)
(3,3)
Demonstration of PCA
(-1,-1)
(1,1)
(3,3)
Demonstration of PCA
(-1,-1)
(1,1)
(3,3)
Demonstration of PCA
(-1,-1)
(1,1)
(3,3)
(0,0.2)
PCA
Outline
Perceptron
Mark I perceptron machine, from wikipedia
Decision boundary for LDF
Image from: https://www.csd.uwo.ca/~oveksler/Courses/CS434a_541a/Lecture9.pdf
LDF for 2 classes
(0,1)
(1,0)
Point | g(x) |
(0,1) | -1 < 0 |
(1,0) | 1 > 0 |
(2, 1)? | |
Hyperplane
(0,1)
(1,0)
LDF: augmented feature vector
LDF: Augmented feature vector
Demonstration of “augmented feature vector”
Summary
Outline
Support Vector Machine
Support
Support vector machine
Support vector machine
Support vector
Support vector machine: some maths
m
One-to-one, one-to-rest
One-to-one, one-to-rest
https://www.baeldung.com/cs/svm-multiclass-classification
Support Vector Machine
Outline
Ensemble methods
Predict class label for unseen data by aggregating a set of predictions (classifiers learned from the training data)
General Idea
Ensemble methods
All ensemble methods consist of:
Summary on Bagging