Learning: Introduction and Overview

Slides:



Advertisements
Similar presentations
Learning from Observations
Advertisements

Learning from Observations Chapter 18 Section 1 – 3.
Machine Learning: Intro and Supervised Classification
Artificial Intelligence
CPSC 502, Lecture 15Slide 1 Introduction to Artificial Intelligence (AI) Computer Science cpsc502, Lecture 15 Nov, 1, 2011 Slide credit: C. Conati, S.
CS 4700: Foundations of Artificial Intelligence
Learning Department of Computer Science & Engineering Indian Institute of Technology Kharagpur.
Learning from Observations Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 18 Spring 2004.
Decision making in episodic environments
Machine Learning CPSC 315 – Programming Studio Spring 2009 Project 2, Lecture 5.
1 Chapter 10 Introduction to Machine Learning. 2 Chapter 10 Contents (1) l Training l Rote Learning l Concept Learning l Hypotheses l General to Specific.
Learning from Observations Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 18 Fall 2005.
Cooperating Intelligent Systems
Computational Learning Theory PAC IID VC Dimension SVM Kunstmatige Intelligentie / RuG KI2 - 5 Marius Bulacu & prof. dr. Lambert Schomaker.
LEARNING FROM OBSERVATIONS Yılmaz KILIÇASLAN. Definition Learning takes place as the agent observes its interactions with the world and its own decision-making.
Learning from Observations Chapter 18 Section 1 – 4.
18 LEARNING FROM OBSERVATIONS
Learning From Observations
An Introduction to Machine Learning In the area of AI (earlier) machine learning took a back seat to Expert Systems Expert system development usually consists.
Learning from Observations Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 18 Fall 2004.
Learning from Observations Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 18.
ICS 273A Intro Machine Learning
CSCE 580 Artificial Intelligence Ch.18: Learning from Observations
LEARNING FROM OBSERVATIONS Yılmaz KILIÇASLAN. Definition Learning takes place as the agent observes its interactions with the world and its own decision-making.
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.
1 MACHINE LEARNING TECHNIQUES IN IMAGE PROCESSING By Kaan Tariman M.S. in Computer Science CSCI 8810 Course Project.
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
Induction of Decision Trees (IDT) CSE 335/435 Resources: – –
Machine learning Image source:
Machine learning Image source:
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.
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 CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
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.
Lecture 7 : Intro to Machine Learning Rachel Greenstadt & Mike Brennan November 10, 2008.
Learning from Observations Chapter 18 Section 1 – 3, 5-8 (presentation TBC)
Learning from Observations Chapter 18 Section 1 – 3.
Learning from observations
Carla P. Gomes CS4700 CS 4700: Foundations of Artificial Intelligence Prof. Carla P. Gomes Module: Intro Learning (Reading: Chapter.
L6. Learning Systems in Java. Necessity of Learning No Prior Knowledge about all of the situations. Being able to adapt to changes in the environment.
Decision Trees. What is a decision tree? Input = assignment of values for given attributes –Discrete (often Boolean) or continuous Output = predicated.
CS Inductive Bias1 Inductive Bias: How to generalize on novel data.
Machine learning Image source:
Data Mining and Decision Support
Machine Learning Chapter 18, 21 Some material adopted from notes by Chuck Dyer.
Chapter 18 Section 1 – 3 Learning from Observations.
Learning From Observations Inductive Learning Decision Trees Ensembles.
Anifuddin Azis LEARNING. Why is learning important? So far we have assumed we know how the world works Rules of queens puzzle Rules of chess Knowledge.
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.
Learning from Observations
Learning from Observations
Learning from Observations
Machine learning Image source:
Machine Learning Inductive Learning and Decision Trees
Introduce to machine learning
Presented By S.Yamuna AP/CSE
Decision making in episodic environments
3.1.1 Introduction to Machine Learning
MACHINE LEARNING TECHNIQUES IN IMAGE PROCESSING
Learning from Observations
MACHINE LEARNING TECHNIQUES IN IMAGE PROCESSING
Learning from Observations
Machine Learning: Decision Tree Learning
Presentation transcript:

Learning: Introduction and Overview Chapter 18-21 also: AI 2nd ed, Rich and Knight, chapter 17 COMP151 April 13, 2007

What is Learning? The act, process, or experience of gaining knowledge or skill. Psychology. Behavioral modification especially through experience or conditioning. American Heritage Dictionary

What is Learning? Learning denotes “changes in the system that are adaptive in the sense that they enable the system to do the same task or tasks drawn from the same population more efficiently and more effectively the next time”. - Herbert A. Simon, 83 Agents can improve their performance through diligent study of their own experiences. - Russell & Norvig

What is Learning? Working definition for our discussions: Learning is self-modification that results in beneficial changes to behavior. Can machines learn? If you program a computer, has it learned anything? If you add data to a database, is it learning?

Methods of Learning Rote learning: Learning by taking advice: simple storage of computed information Learning by taking advice: similar to rote learning, but advice may need to be operationalized Learning from problem-solving experience: remembering effective structures and methods Learning from examples: usually involves a teacher who helps to classify things

Why Should Machines Learn? Learning is essential for unknown environs Everything in the environment cannot be anticipated designer lacks omniscience Learning is an alternative to explicit design expose the agent to reality rather than trying to tell it about reality lazy designer

Learning Agents

Learning Element Design of a learning element is affected by Which components of the performance element are to be learned What feedback is available to learn these components What representation is used for the components

Performance Element Components Mapping from conditions to actions: Instructor says “brake”, agents learns condition-action rule for stopping Means to infer properties of world from percepts Agent studies pictures of buses to learn how to recognize a bus Info about how world evolves and results of possible agent actions Brake on a wet road and observe result

Performance Element Components Info about desirability of world states Agent receives no tip from a passenger of a rough ride and learns value of steadiness Info about desirability of actions Goals that describe classes of states that maximize agent’s utility

Types of Feedback Supervised learning: Unsupervised learning: Agent is given correct answers for each example Agent is learning a function from examples of its inputs and outputs Unsupervised learning: Agent must infer correct answers Completely unsupervised learning is impractical, since agent has no context Reinforcement learning: Agent is given occasional rewards for correct Typically involves subproblem of learning “how the world works”

Representation The representation of learned knowledge affects the learning method/algorithm Prop. Logic  inductive learning (chap 18) FOL  inductive logic (chap 19) Mathematical  statistical learning (chap 20)

Rote Learning: Example Caching or memoization: Storage of computed results to avoid recomputation later Improves performance Doesn’t improve effectiveness

Supervised Learning Example: Inductive Learning Simplest form: learn a function from examples f is the target function An example is a pair (x, f(x)) Problem: find a hypothesis h such that h ≈ f, given a training set of examples

Inductive Learning Construct/adjust h to agree with f on training set (h is consistent if it agrees with f on all examples) example, curve fitting:

Inductive Learning

Inductive Learning

Inductive Learning

Inductive Learning

Inductive Learning Ockham’s razor: prefer the simplest hypothesis consistent with data Overfitting: finding overly complex functions to account for noise or irrelevant data

Learning Decision Trees (LDT) Decision trees branch on values of a set of input attributes, leading to answers at the leaves. Construction (and optimization) of the tree is a learning problem. Classification learning: learning a discrete function Regression: learning a continuous function

DT Example Problem: Wait for a table at a restaurant? 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)

DT Example This is a Boolean classification problem Example decisions:

DT Example

Training and Test Sets The agent must construct (learn) the DT from attribute  decisions pairs This is the training set Restaurant example: training set supplied by human to mimic own behavior Assessing Performance: Available example data is divided (randomly) among the training set and the test set. Test set is then used to predict future performance

Knowledge in Learning How can an agent make use of what it already knows, when learning new things? Hypothesis  Descriptions ╞ Classifications Hypothesis is unknown: solve constraint from some hypothesis space Adding background knowledge Background  Hypothesis  Descriptions ╞ Classifications

knowledge-based inductive learning Cumulative Learning Cumulative learning: agent uses and adds to its stock of knowledge prior knowledge knowledge-based inductive learning hypothesis observations

Statistical Learning Learning as uncertain reasoning from observations Bayesian learning: computes probabilities for hypotheses and use that to make predictions Neural networks: adjusts neuron activation functions based on example input/output pairs

Neural Networks input bits output bits percepts answers operational mode input bits output bits percepts correct answers training mode net adjusts its internal parameters by comparing its outputs to the correct answers