Machine Learning
Machine Learning
et Deep learning
Traditional Programming
Data
Computer Output
Program
Machine Learning
Data
Computer Program
Output
Clustering Strategies
• K-means
– Iteratively re-assign points to the nearest cluster
center.
Sample Applications
• Face recognition
• Character recognition
• Speech recognition
• Medical diagnosis
• Industrial applications
• Web search
• Space exploration
• Robotics
• Information extraction
• Social networks
Face Recognition
Test images
The machine learning
framework
• Apply a prediction function to a feature representation of
the image to get the desired output:
f( ) = “apple”
f( ) = “tomato”
f( ) = “cow”
The machine learning
framework
y = f(x)
output prediction Image
function feature
Testing
Image Learned
Prediction
Features model
Test Image
Features
• Raw pixels
• Histograms
• Other descriptors
Many classifiers to choose from
• K-nearest neighbor
• Neural networks
• SVM
• Deep Neural networks
• Etc.
Classifiers: Nearest neighbor
Training
Training Test
examples
examples example
from class 2
from class 1
• Weight Update
– backpropagation
Deep Learning
• Deep learning (DL) is a subtype of machine learning (ML). DL can process a wider
range of data resources, requires less data preprocessing by humans (e.g. feature
labelling), and can sometimes produce more accurate results than traditional ML
approaches (although it requires a larger amount of data to do so).
• However, it is computationally more expensive in time to execute, hardware costs
and data quantities.
Deep Learning
Deep Learning