Lecture 2
Lecture 2
Machine Learning I
What is Learning?
What is Machine Learning?
What Is Learning?
• Rat Bait Shyness
– Rats Learning to Avoid Poisonous Baits
learning by memorization
• Suppose we would like to program a
machine that learns how to filter spam e-
mails.
– The machine will simply memorize all previous
e-mails that had been labeled as spam e-mails
by the human user. When a new e-mail arrives,
the machine will search for it in the set of
previous spam e-mails. If it matches one of
them, it will be trashed. Otherwise, it will be
moved to the user’s inbox folder
– it lacks an important aspect of learning systems
• the ability to label unseen e-mail messages.
Generalization OR Inductive Reasoning
• recognising similarity between different situations.
• spam filtering task, the learner can scan the previously seen
e-mails, and extract a set of words whose appearance in an e-mail
message is indicative of spam. Then, when a new e-mail arrives, the
machine can check whether one of the suspicious words appears in it, and
predict its label accordingly.