Types of Learning
Types of Learning
• Supervised Learning
– X,y (pre-classified training examples)
– Given an observation x, what is the best label for y?
• Unsupervised learning
– X
– Given a set of x’s, cluster or summarize them
• Semi-supervised Learning
• Reinforcement Learning
– Determine what to do based on rewards and punishments.
Supervised Learning
X y
Input1 Output1 New Input x
Input2 Output2
Input3 Output3 Learning
Algorithm Model
X Cluster
Input1 s
Input2
Input3 Learning
Algorithm
Input-n
Unsupervised Learning
Cluster Analysis:
Document Clustering
• Each Article is represented as a set of word frequency pairs (w, c), Where
w is a word and c is the number of times the word appears in the article.
• There are 2 natural clusters in the above dataset
• First Cluster consists of the first 3 articles (News about the Economy)
• Second cluster contain last 3 articles (News about the Heath Care)
Semi-supervised learning
Semi-supervised learning
Action at
State st
St+1
Agent Environment
Reward rt rt+1
Reinforcement Learning
Action at
State st
St+1
RLearner Environment
Reward rt
Q-values
rt+1
update
State,
Policy
Action at
action
state
Best
State st
St+1
User Environment
Reward rt
rt+1