Machine Learning - Introduction to Artificial Intelligence - Lecture Slides, Slides of Artificial Intelligence

During the course of the "Introduction to Artificial Intelligence" we study the basic concept of the principle of computer intelligence. In these lecture slides the main points are:Machine Learning, Recommendation Systems, Spam Detection, Link Prediction, Machine Learning Methods, Algorithm Behavior, Types of Machine Learning, Supervised Learning, Unsupervised Learning, Typical Classification Algorithm

Typology: Slides

2012/2013

Uploaded on 04/23/2013

sarangarajan
sarangarajan 🇮🇳

4.2

(5)

68 documents

1 / 27

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CSE 151 Intro. to AI: A Statistical
Approach
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b

Partial preview of the text

Download Machine Learning - Introduction to Artificial Intelligence - Lecture Slides and more Slides Artificial Intelligence in PDF only on Docsity!

CSE 151 Intro. to AI: A Statistical

Approach

CSE 151 Machine Learning

What is Machine Learning?

How to use data to learn to make better predictions Example 2: Spam Detection

What is Machine Learning?

How to use data to learn to make better predictions Example 3: Link Prediction

Two Types of Machine Learning

Supervised Learning Given examples of data and their labels, predict labels of new (unseen) data Unsupervised Learning Given data, build a model or cluster There are other types, but we won’t get to it in this class

Supervised Learning

Given labeled data: Classification:

(xi, yi)

where y is discrete , find a rule to predict y values for unseen x feature vector label i=1,..,n

Typical Classification Algorithm

Set of input examples (xi, yi) Classification Algorithm Prediction Rule New example x Label y Training Data Test Data Training and test data must be separate!

Typical Classification Algorithm

Set of input examples (xi, yi) Classification Algorithm Prediction Rule New example x Label y Training Data Test Data Performance Measure: Accuracy (or fraction of correct answers) on test data

Supervised Learning

Classification: Given labeled data (xi, yi) where y is discrete , predict y values for unseen x Example 1: Predict if a patient has flu or not Yes (^) No 99F Yes (^1 0 99) + Fever Cold Temperature Flu?

x y

Label: Flu/No flu Features: Properties of patient A binary (two-label) classification problem

Supervised Learning

Classification: Given labeled data (xi, yi) where y is discrete , predict y values for unseen x Example 2: Which digit in the image? A multiclass classification problem Label: 0,1,.., What are the features?

Supervised Learning

Classification: Given labeled data (xi, yi) where y is discrete , predict y values for unseen x Example 2: Which digit in the image? Lesson: Choosing features is non-trivial in real applications Label: 0,1,.., What are the features? Option: vector of pixel colors There are other options too

Supervised Learning

Classification: Given labeled data (xi, yi) where y is discrete , predict y values for unseen x Example 3: Spam or not? Label: 0 (not spam), 1 (spam) Features: Words in the email Subject: Offer ends now! From: Canadian Pharmacy Subject: TA meeting From:Yuncong Chen Pharmacy Email1 Email 2 offer meeting (^) TA Spam? Email 1 1 1 0 0 Yes Email 2 0 0 1 1 No

Supervised Learning

Regression: Given data (xi, yi) where y is continuous , predict y values for unseen x Example 1: Predict house price from properties of house Bedrooms (^) Bathrooms

x y

Dependent variable: price Independent Variable: Property of house Area Price (^3 2 2000) 600K (^2 1 1200) 400K

Two Types of Machine Learning

Supervised Learning Given examples of data and their labels, predict labels of new (unseen) data Unsupervised Learning Given data, build a model There are other types, but we won’t get to it in this class Examples: Classification, Regression