1 Intro
1 Intro
Introduction
• Machine Learning (ML) is the study of algorithms that
improve their performance P, at some task T , with experience
E.
• A learning task is given by < P, T , E >.
• Learning is any process by which a system improves
performance from experience.
• Traditional programming:
1
Introduction (contd.)
• Machine Learning:
2
Example ML tasks
• Pattern Recognition. Eg: Optical Character Recognition
(OCR), Handwriting Recognition, Biometric Recognition,
Speech Recognition, Face Recognition and Medical Imaging.
• Anamoly detection. Eg: Abnormal credit card transactions,
Abnormal patterns of sensor readings in a nuclear power plant.
• Prediction. Eg: Future stock prices or currency exchange
rates.
• State of the art applications – Web search, Information
Retrieval, Remote Sensing, Computational Biology, Robotics,
Social Networks etc.
3
Example ML tasks (contd.)
• ML is required for complex tasks. For example, handwriting
digit recognition process has to consider different writers and
the corresponding writing styles. In the below figure, it is
difficult to recognize digit 2 (even for a human being).
4
Design of an ML system
5
Design of an ML system (contd.)
6
Design of an ML system (contd.)
7
Components of ML algorithm
8
Types of Learning
• Supervised (Inductive) learning –
Given: Training data + desired outputs (labels).
• Unsupervised learning –
Given: Training data (No desired outputs).
• Semi-supervised learning –
Given: Training data + some desired outputs.
• Reinforcement learning –
Rewards for the sequence of actions.
9
Types of Learning (contd.)
10
Supervised learning: Regression
11
Supervised learning: Classification
• Given training data points: (x1 , y1 ), (x2 , y2 ), · · · (xn , yn ).
• Learn a function y = f (x), to predict y for a given x.
• If y is categorical (discrete), this learning problem is
Classification.
• For example, Cancer = f (TumorSize). Here, Cancer is
discrete with two values (Benign or Malignant), a two class
classification based on Tumorsize. Of course, there can be
errors in the classification.
12
Supervised learning: Classification (contd.)
13
Supervised learning: Classification (contd.)
14
Unsupervised learning: Clustering
15
Reinforcement learning
16
Thank You
17