Decision making in episodic environments

Slides:



Advertisements
Similar presentations
Learning from Observations
Advertisements

Learning from Observations Chapter 18 Section 1 – 3.
ICS 178 Intro Machine Learning
Data Mining Classification: Alternative Techniques
Support Vector Machines
CS 4700: Foundations of Artificial Intelligence
Learning Department of Computer Science & Engineering Indian Institute of Technology Kharagpur.
Recognition: A machine learning approach
Decision making in episodic environments
Cooperating Intelligent Systems
Learning From Observations
ICS 273A Intro Machine Learning
LEARNING DECISION TREES
Learning decision trees derived from Hwee Tou Ng, slides for Russell & Norvig, AI a Modern Approachslides Tom Carter, “An introduction to information theory.
Learning decision trees
Learning decision trees derived from Hwee Tou Ng, slides for Russell & Norvig, AI a Modern Approachslides Tom Carter, “An introduction to information theory.
ICS 273A Intro Machine Learning
Learning: Introduction and Overview
Machine learning Image source:
Machine learning Image source:
Classification III Tamara Berg CS Artificial Intelligence Many slides throughout the course adapted from Svetlana Lazebnik, Dan Klein, Stuart Russell,
Machine Learning Overview Tamara Berg Language and Vision.
Machine Learning CPS4801. Research Day Keynote Speaker o Tuesday 9:30-11:00 STEM Lecture Hall (2 nd floor) o Meet-and-Greet 11:30 STEM 512 Faculty Presentation.
Classification Tamara Berg CSE 595 Words & Pictures.
INTRODUCTION TO MACHINE LEARNING. $1,000,000 Machine Learning  Learn models from data  Three main types of learning :  Supervised learning  Unsupervised.
Inductive learning Simplest form: learn a function from examples
LEARNING DECISION TREES Yılmaz KILIÇASLAN. Definition - I Decision tree induction is one of the simplest, and yet most successful forms of learning algorithm.
Learning from observations
Learning from Observations Chapter 18 Through
CHAPTER 18 SECTION 1 – 3 Learning from Observations.
Learning from Observations Chapter 18 Section 1 – 3, 5-8 (presentation TBC)
Learning from Observations Chapter 18 Section 1 – 3.
Linear Discrimination Reading: Chapter 2 of textbook.
Non-Bayes classifiers. Linear discriminants, neural networks.
Decision Trees. What is a decision tree? Input = assignment of values for given attributes –Discrete (often Boolean) or continuous Output = predicated.
Machine Learning Overview Tamara Berg CS 560 Artificial Intelligence Many slides throughout the course adapted from Svetlana Lazebnik, Dan Klein, Stuart.
Classification II Tamara Berg CS 560 Artificial Intelligence Many slides throughout the course adapted from Svetlana Lazebnik, Dan Klein, Stuart Russell,
Regress-itation Feb. 5, Outline Linear regression – Regression: predicting a continuous value Logistic regression – Classification: predicting a.
Machine learning Image source:
Chapter 18 Section 1 – 3 Learning from Observations.
© Copyright 2008 STI INNSBRUCK Neural Networks Intelligent Systems – Lecture 13.
Learning From Observations Inductive Learning Decision Trees Ensembles.
Decision Tree Learning CMPT 463. Reminders Homework 7 is due on Tuesday, May 10 Projects are due on Tuesday, May 10 o Moodle submission: readme.doc and.
Combining Models Foundations of Algorithms and Machine Learning (CS60020), IIT KGP, 2017: Indrajit Bhattacharya.
Neural networks and support vector machines
Learning from Observations
Learning from Observations
Machine learning Image source:
Announcements (1) Background reading for next week is posted.
Introduction to Machine Learning
Introduce to machine learning
Other Classification Models: Neural Network
Machine Learning – Linear Classifiers and Boosting
Learning from Data. Learning from Data Learning sensors actuators environment agent ? As an agent interacts with the world, it should learn about its.
Presented By S.Yamuna AP/CSE
Perceptrons Lirong Xia.
Learning from Data.
Announcements HW4 due today (11:59pm) HW5 out today (due 11/17 11:59pm)
למידת מכונה Machine Learning.
Non-linear classifiers Neural networks
Multi-layer Perceptrons (MLPs)
Machine Learning Week 1.
Learning from Observations
Learning from Observations
A task of induction to find patterns
Machine Learning: Decision Tree Learning
Introduction to Neural Networks
A task of induction to find patterns
Image recognition.
Perceptrons Lirong Xia.
Presentation transcript:

Decision making in episodic environments We have just looked at decision making in sequential environments Now let’s consider the “easier” problem of episodic environments The agent gets a series of unrelated problem instances and has to make some decision or inference about each of them This is what most of “machine learning” is about

Example: Image classification input desired output apple pear tomato cow dog horse

Example: Spam Filter

Example: Seismic data Earthquakes Surface wave magnitude Nuclear explosions Body wave magnitude

The basic classification framework y = f(x) Learning: given a training set of labeled examples {(x1,y1), …, (xN,yN)}, estimate the parameters of the prediction function f Inference: apply f to a never before seen test example x and output the predicted value y = f(x) output classification function input

Example: Training and testing Training set (labels known) Test set (labels unknown) Key challenge: generalization to unseen examples

Naïve Bayes classifier A single dimension or attribute of x

Decision tree classifier Example problem: decide whether to wait for a table at a restaurant, based on the following attributes: Alternate: is there an alternative restaurant nearby? Bar: is there a comfortable bar area to wait in? Fri/Sat: is today Friday or Saturday? Hungry: are we hungry? Patrons: number of people in the restaurant (None, Some, Full) Price: price range ($, $$, $$$) Raining: is it raining outside? Reservation: have we made a reservation? Type: kind of restaurant (French, Italian, Thai, Burger) WaitEstimate: estimated waiting time (0-10, 10-30, 30-60, >60)

Decision tree classifier

Decision tree classifier

Nearest neighbor classifier Training examples from class 2 Training examples from class 1 Test example f(x) = label of the training example nearest to x All we need is a distance function for our inputs No training required!

Linear classifier Find a linear function to separate the classes f(x) = sgn(w1x1 + w2x2 + … + wDxD) = sgn(w  x)

Perceptron . Input Weights x1 w1 x2 w2 Output: sgn(wx + b) x3 w3 wD xD

Linear separability

Multi-Layer Neural Network Can learn nonlinear functions Training: find network weights to minimize the error between true and estimated labels of training examples: Minimization can be done by gradient descent provided f is differentiable This training method is called back-propagation

Differentiable perceptron Input Weights x1 w1 x2 w2 Output: (wx + b) x3 w3 . Sigmoid function: wd xd

Review: Types of classifiers Naïve Bayes Decision tree Nearest neighbor Linear classifier Nonlinear classifier