Machine Learning: Dan Goldwasser
Machine Learning: Dan Goldwasser
Introduction
Dan Goldwasser
dgoldwas@purdue.edu
Machine Learning?
What is it?
why should I care about it?
Introduction
Machineto Machine Learning.
Learning, Fall 2015
Fall 2018 4
Introduction to Machine Learning. Fall 2018
Let’s travel back in time.. 90’s!
• The year was 1994, the conference was CoLT
• CoLT = Computational Learning Theory
Name Label
Claire Cardie -
Peter Bartlett +
Eric Baum
Haym Hirsh
Shai Ben-David
Michael I. Jordan
Name Label
Claire Cardie -
Peter Bartlett +
Eric Baum -
Haym Hirsh +
Shai Ben-David -
Michael I. Jordan +
(1,0,0, 2,..0)
I have never had a worst flight,
The seats were uncomfortable
Machine Learning, Fall 2018 15
and it was 3 hours late!
Learning Protocols
• Supervised learning
• Human (teacher) supplies a labeled examples
• Learner has to learn a model using this data
• Unsupervised learning
• No teacher, learner has only unlabeled examples
• Data mining: finding patterns in unlabeled data
• Semi-supervised learning
• Learner has access to both labeled and unlabeled examples
• Active learning
• Learner and teacher interact
• Learner can ask questions
• Reinforcement learning
• Learner learns by interacting with the environment
• Why is it different/similar to Supervised learning? Active learning?
Machine Learning, Fall 2018
Learning Algorithms
• Learning Algorithms generate a model, they work under the
settings of a specific protocol
• Supervised vs. Semi-Supervised vs. Unsupervised
• Online vs. Batch
• Online algorithm: learning is done one example at a time
• Winnow, Perceptron,..
• Batch algorithm: learning is done over entire dataset
• SVM, Logistic Regression, Decision Trees, …
• How can we compare learning algorithms?
• Three components
• Class label (denoted “y”)
• Binary, multiclass
• Features (outlook, temperature, windy)
• Feature values (denoted “x”)
• Can be binary, continuous, categories (Sunny, Rainy,…)