Concept Learning Machine Learning by T. Mitchell (McGraw-Hill) Chp. 2

Slides:



Advertisements
Similar presentations
Concept Learning and the General-to-Specific Ordering
Advertisements

2. Concept Learning 2.1 Introduction
1 Machine Learning: Lecture 3 Decision Tree Learning (Based on Chapter 3 of Mitchell T.., Machine Learning, 1997)
CS 484 – Artificial Intelligence1 Announcements Project 1 is due Tuesday, October 16 Send me the name of your konane bot Midterm is Thursday, October 18.
Università di Milano-Bicocca Laurea Magistrale in Informatica
Decision Trees. DEFINE: Set X of Instances (of n-tuples x = ) –E.g., days decribed by attributes (or features): Sky, Temp, Humidity, Wind, Water, Forecast.
Adapted by Doug Downey from: Bryan Pardo, EECS 349 Fall 2007 Machine Learning Lecture 2: Concept Learning and Version Spaces 1.
Chapter 2 - Concept learning
Concept Learning and Version Spaces
Kansas State University Department of Computing and Information Sciences CIS 830: Advanced Topics in Artificial Intelligence Wednesday, January 19, 2001.
Computing & Information Sciences Kansas State University Lecture 01 of 42 Wednesday, 24 January 2008 William H. Hsu Department of Computing and Information.
Kansas State University Department of Computing and Information Sciences CIS 732: Machine Learning and Pattern Recognition Friday, 25 January 2008 William.
CS 484 – Artificial Intelligence1 Announcements List of 5 source for research paper Homework 5 due Tuesday, October 30 Book Review due Tuesday, October.
For Friday Read chapter 18, sections 3-4 Homework: –Chapter 14, exercise 12 a, b, d.
1 Machine Learning What is learning?. 2 Machine Learning What is learning? “That is what learning is. You suddenly understand something you've understood.
Machine Learning Chapter 11.
CpSc 810: Machine Learning Decision Tree Learning.
Kansas State University Department of Computing and Information Sciences CIS 830: Advanced Topics in Artificial Intelligence Wednesday, January 19, 2000.
General-to-Specific Ordering. 8/29/03Logic Based Classification2 SkyAirTempHumidityWindWaterForecastEnjoySport SunnyWarmNormalStrongWarmSameYes SunnyWarmHighStrongWarmSameYes.
Machine Learning Chapter 2. Concept Learning and The General-to-specific Ordering Gun Ho Lee Soongsil University, Seoul.
1 Concept Learning By Dong Xu State Key Lab of CAD&CG, ZJU.
机器学习 陈昱 北京大学计算机科学技术研究所 信息安全工程研究中心. 课程基本信息  主讲教师:陈昱 Tel :  助教:程再兴, Tel :  课程网页:
Machine Learning Chapter 2. Concept Learning and The General-to-specific Ordering Tom M. Mitchell.
Kansas State University Department of Computing and Information Sciences CIS 830: Advanced Topics in Artificial Intelligence Monday, January 22, 2001 William.
Chapter 2: Concept Learning and the General-to-Specific Ordering.
CpSc 810: Machine Learning Concept Learning and General to Specific Ordering.
Concept Learning and the General-to-Specific Ordering 이 종우 자연언어처리연구실.
Outline Inductive bias General-to specific ordering of hypotheses
Overview Concept Learning Representation Inductive Learning Hypothesis
CS Machine Learning 15 Jan Inductive Classification.
Concept learning, Regression Adapted from slides from Alpaydin’s book and slides by Professor Doina Precup, Mcgill University.
Kansas State University Department of Computing and Information Sciences CIS 798: Intelligent Systems and Machine Learning Thursday, August 26, 1999 William.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 34 of 41 Wednesday, 10.
Machine Learning: Lecture 2
Machine Learning Concept Learning General-to Specific Ordering
1 Decision Trees ExampleSkyAirTempHumidityWindWaterForecastEnjoySport 1SunnyWarmNormalStrongWarmSameYes 2SunnyWarmHighStrongWarmSameYes 3RainyColdHighStrongWarmChangeNo.
Kansas State University Department of Computing and Information Sciences CIS 690: Implementation of High-Performance Data Mining Systems Thursday, 20 May.
CS 8751 ML & KDDComputational Learning Theory1 Notions of interest: efficiency, accuracy, complexity Probably, Approximately Correct (PAC) Learning Agnostic.
MACHINE LEARNING 3. Supervised Learning. Learning a Class from Examples Based on E Alpaydın 2004 Introduction to Machine Learning © The MIT Press (V1.1)
CS464 Introduction to Machine Learning1 Concept Learning Inducing general functions from specific training examples is a main issue of machine learning.
Concept Learning and The General-To Specific Ordering
Computational Learning Theory Part 1: Preliminaries 1.
Concept learning Maria Simi, 2011/2012 Machine Learning, Tom Mitchell Mc Graw-Hill International Editions, 1997 (Cap 1, 2).
Machine Learning Chapter 7. Computational Learning Theory Tom M. Mitchell.
CSE573 Autumn /09/98 Machine Learning Administrative –Last topic: Decision Tree Learning Reading: 5.1, 5.4 Last time –finished NLP sample system’s.
Evaluating Hypotheses
Chapter 2 Concept Learning
Decision Tree Learning
Computational Learning Theory
CSE543: Machine Learning Lecture 2: August 6, 2014
CS 9633 Machine Learning Concept Learning
Analytical Learning Discussion (4 of 4):
Machine Learning Chapter 2
Introduction to Machine Learning Algorithms in Bioinformatics: Part II
Ordering of Hypothesis Space
Machine Learning Chapter 3. Decision Tree Learning
Machine Learning: Lecture 3
Version Spaces Learning
Introduction to Machine Learning and Knowledge Representation
Concept Learning.
Instance Space (X) X T BP SK x1 L - x2 N x3 H x4 x5 x6 x7 x8 x9.
IES 511 Machine Learning Dr. Türker İnce (Lecture notes by Prof. T. M
Concept Learning Berlin Chen 2005 References:
Machine Learning Chapter 2
Machine Learning: Decision Tree Learning
Implementation of Learning Systems
Version Space Machine Learning Fall 2018.
Machine Learning Chapter 2
Presentation transcript:

Concept Learning Machine Learning by T. Mitchell (McGraw-Hill) Chp. 2

Much of learning involves acquiring general concepts from specific training examples e.g. what is a bird? what is a chair? Concept learning: Inferring a boolean-valued function from training examples of its input and output.

A Concept Learning Task Example Target Concept “Days on which Aldo enjoys his favorite water sport” (you may find it more intuitive to think of “Days on which the beach will be crowded” concept) Task Learn to predict the value of EnjoySport/Crowded for an arbitrary day Training Examples for the Target Concept 6 attributes (Nominal-valued (symbolic) attributes): Sky (SUNNY, RAİNY, CLOUDY), Temp (WARM,COLD), Humidity (NORMAL, HIGH), Wind (STRONG, WEAK), Water (WARM, COOL), Forecast (SAME, CHANGE)

A Learning Problem x1 Unknown Function x2 y = f (x1, x2, x3, x4 ) x3 x4 Hypothesis Space (H): Set of all possible hypotheses that the learner may consider during learning the target concept. How many?

Hypothesis Space: Unrestricted Case | A  B | = | B | | A | |H4  H | = | {0,1}  {0,1}  {0,1}  {0,1}  {0,1} | = 224 = 65536 function values After 7 examples, still have 29 = 512 possibilities (out of 65536) for f Is learning possible without any assumptions?

A Concept Learning Task In this notation, a conjunction such as <warm,?,stong> indicaties A1=Warm AND A3=strong Hypothesis h: Conjunction of Constraints on Attributes Constraint Values: Specific value (e.g., Water = Warm) All values allowed for that attribute (e.g., “Water = ?”) No value allowed for that attribute (e.g., “Water = Ø”) Hypothesis Representation – Example Hypothesis for EnjoySport: ‘’Aldo enjoys his favorite sport only on sunny days with Strong wind’’: Sky AirTemp Humidity Wind Water Forecast <Sunny ? ? Strong ? ? > The most general hypothesis – every day is a positive example of this concept <?, ?, ?, ?, ?, ?> A very specific hypothesis – no day is a positive ex. of this concept < Sunny, Warm, Normal, Strong, Warm, Same> The most specific possible hypothesis – no day is a positive ex. of this concept <  ,, , , , > Is this hypothesis consistent with the training examples? What are some hypotheses that are consistent with the examples?

A Concept Learning Task(2) The instance space, X (book uses ‘’set of instances’’) all possible days represented by attributes Sky, AirTemp,... Target concept, c : Any boolean-valued function defined over the instance space X c : X  {0, 1} (I.e. if EnjoySport = Yes, then c(x) = 1 ) Training Examples (denoted by D): ordered pair <x, c(x)> Positive example: member of the target concept, c(x) = 1 Negative example: nonmember of the target concept, c(x) = 0 Assumption: no missing X values No noise in values of c (contradictory labels). Hypotheses Space, H: Often picked by the designer, for instance only conjunctions (e.g. A1  A5) H is the set of Boolean valued functions defined over X Or you may narrow it down to conjunction of constraints on attributes The goal of the learner Hypothesize or estimate c: Find a hypothesis h such that h(x) = c(x) for all x in X

A Concept Learning Task(3) Although the learning task is to determine a hypothesis h identical to c, over the entire set of instances X, the only information available about c is its value over the training instances D. Inductive Learning Hypothesis Any hypothesis found to approximate the target function well over a sufficiently large set of training examples will also approximate the target function well over other unobserved examples.

Concept Learning As Search Concept learning can be viewed as the task of searching through a large space of hypotheses implicitly defined by the hypothesis representation. The goal of this search is to find the hypothesis that (best) fits the training examples. Sky AirTemp Humidity Wind Water Forecast <Sunny/Rainy/Cloudy Warm/Cold Normal/High Weak/Strong Warm/Cold Change/Same > EnjoySport Learning Task Size of the instance space X 3  2  2  2  2  2 = 96 Syntactically distinct hypotheses (including ?, Ø) 5  4  4  4  4  4 = 5120 Semantically distinct hypotheses (+1 for no positive example) 1 + (4  3  3  3  3  3) = 973 Often much larger, sometimes infinite hypotheses spaces

Inductive Bias A biased Hypothesis space EnjoySport example Restriction : only conjunctions of attribute values. No representation for a disjunctive target concept (Sky = Sunny) or (Wind = Weak) Potential problem We biased the learner (inductive bias) to consider only conjunctive hypotheses But the concept may require a more expressive hypothesis space

UnBiased Learner An Unbiased Learner Obvious solution: Provide a hypothesis space capable of representing every teachable concept = every possible subset of the instance space X The set of all subsets of a set X is called the power set of X EnjoySport Example |Instance space| : 96 |Power set of X| : 296 = 79228162514264337593543950336 |Conjunctive hypothesis space| : 973 Very biased hypothesis space indeed!!

Need for Inductive Bias An Unbiased Learner Reformulate the EnjoySport learning task in an unbiased way Defining a new hypothesis space H’ that can represent every subset of X Allow arbitrary disjunctions, conjunctions, and negations Example: “Sky = Sunny or Wind = Weak” <Sunny, ?, ?, ?, ?, ?> OR <?, ?, ?, Weak, ?, ?> New problem: We will be completely unable to generalize beyond the observed samples! Explanation: If we allow full flexibility for the concept (conjunctions, disjunctions,…) , then even if one unseen sample is left, then there are still 2 hypotheses left that are consistent with the data (i.e. You still havent precisely found the right concept, eliminating all those that are inconsistent with the data you have seen!).

Need For Inductive Bias Fundamental property of inductive inference: A learner that makes no a priori assumptions regarding the identity of the target concept has no rational basis for classifying any unseen instances