Machine Learning Chapter 5. Artificial IntelligenceChapter 52 Learning 1. Rote learning rote( โรท ) n. วิถีทาง, ทางเดิน, วิธีการตามปกติ, (by rote จากความทรงจำ.

Slides:



Advertisements
Similar presentations
Explanation-Based Learning (borrowed from mooney et al)
Advertisements

1 Machine Learning: Lecture 3 Decision Tree Learning (Based on Chapter 3 of Mitchell T.., Machine Learning, 1997)
CHAPTER 13 Inference Techniques. Reasoning in Artificial Intelligence n Knowledge must be processed (reasoned with) n Computer program accesses knowledge.
RIPPER Fast Effective Rule Induction
My name is Dustin Boswell and I will be presenting: Ensemble Methods in Machine Learning by Thomas G. Dietterich Oregon State University, Corvallis, Oregon.
Knowledge Representation and Reasoning Learning Sets of Rules and Analytical Learning Harris Georgiou – 4.
Decision Tree Learning 主講人:虞台文 大同大學資工所 智慧型多媒體研究室.
Induction and Decision Trees. Artificial Intelligence The design and development of computer systems that exhibit intelligent behavior. What is intelligence?
Cognitive Psychology Chapter 7. Cognitive Psychology: Overview  Cognitive psychology is the study of perception, learning, memory, and thought  The.
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.
18 LEARNING FROM OBSERVATIONS
Measuring Model Complexity (Textbook, Sections ) CS 410/510 Thurs. April 27, 2007 Given two hypotheses (models) that correctly classify the training.
Induction of Decision Trees
Three kinds of learning
Machine Learning: Symbol-Based
Chapter 3: Methods of Inference Expert Systems: Principles and Programming, Fourth Edition.
MACHINE LEARNING. 2 What is learning? A computer program learns if it improves its performance at some task through experience (T. Mitchell, 1997) A computer.
MACHINE LEARNING. What is learning? A computer program learns if it improves its performance at some task through experience (T. Mitchell, 1997) A computer.
Inductive Logic Programming Includes slides by Luis Tari CS7741L16ILP.
Copyright R. Weber Machine Learning, Data Mining ISYS370 Dr. R. Weber.
Learning CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
CS 478 – Tools for Machine Learning and Data Mining The Need for and Role of Bias.
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.
Machine Learning CSE 681 CH2 - Supervised Learning.
Big Idea 1: The Practice of Science Description A: Scientific inquiry is a multifaceted activity; the processes of science include the formulation of scientifically.
Learning Holy grail of AI. If we can build systems that learn, then we can begin with minimal information and high-level strategies and have systems better.
For Friday No reading No homework. Program 4 Exam 2 A week from Friday Covers 10, 11, 13, 14, 18, Take home due at the exam.
General-to-Specific Ordering. 8/29/03Logic Based Classification2 SkyAirTempHumidityWindWaterForecastEnjoySport SunnyWarmNormalStrongWarmSameYes SunnyWarmHighStrongWarmSameYes.
Categorical data. Decision Tree Classification Which feature to split on? Try to classify as many as possible with each split (This is a good split)
November 10, Machine Learning: Lecture 9 Rule Learning / Inductive Logic Programming.
Introduction to Machine Learning Supervised Learning 姓名 : 李政軒.
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.
George F Luger ARTIFICIAL INTELLIGENCE 6th edition Structures and Strategies for Complex Problem Solving Machine Learning: Symbol-Based Luger: Artificial.
Outline Inductive bias General-to specific ordering of hypotheses
Overview Concept Learning Representation Inductive Learning Hypothesis
Chapter 11 Statistical Techniques. Data Warehouse and Data Mining Chapter 11 2 Chapter Objectives  Understand when linear regression is an appropriate.
Learning, page 1 CSI 4106, Winter 2005 Symbolic learning Points Definitions Representation in logic What is an arch? Version spaces Candidate elimination.
1 Inductive Learning (continued) Chapter 19 Slides for Ch. 19 by J.C. Latombe.
KU NLP Machine Learning1 Ch 9. Machine Learning: Symbol- based  9.0 Introduction  9.1 A Framework for Symbol-Based Learning  9.2 Version Space Search.
The Scientific Method Solving a problem by answering a question The way in which scientific knowledge is gathered Whatever the study, all scientist use.
Generic Tasks by Ihab M. Amer Graduate Student Computer Science Dept. AUC, Cairo, Egypt.
CS 5751 Machine Learning Chapter 3 Decision Tree Learning1 Decision Trees Decision tree representation ID3 learning algorithm Entropy, Information gain.
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.
Decision Trees Binary output – easily extendible to multiple output classes. Takes a set of attributes for a given situation or object and outputs a yes/no.
For Monday Finish chapter 19 Take-home exam due. Program 4 Any questions?
What is Science? Science is  A way of learning about the natural world through observations and logical reasoning.  This information can grow and change.
Machine Learning A Quick look Sources: Artificial Intelligence – Russell & Norvig Artifical Intelligence - Luger By: Héctor Muñoz-Avila.
Machine Learning Concept Learning General-to Specific Ordering
Ensemble Methods in Machine Learning
CpSc 810: Machine Learning Analytical learning. 2 Copy Right Notice Most slides in this presentation are adopted from slides of text book and various.
Data Mining and Decision Support
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)
Concept Learning and The General-To Specific Ordering
Machine Learning Chapter 7. Computational Learning Theory Tom M. Mitchell.
Representation and Search The function of a representation is to capture the critical features of the problem domain –and make the information accessible.
Knowledge Representation Techniques
Chapter 3: Methods of Inference
Introduction to Research Methodology
Machine Learning: Symbol-Based
Machine Learning: Symbol-Based
CS 9633 Machine Learning Concept Learning
Chapter 3: Methods of Inference
CH. 2: Supervised Learning
Introduction to Research Methodology
Data Mining Lecture 11.
Lecture 14 Learning Inductive inference
Generalized Diagnostics with the Non-Axiomatic Reasoning System (NARS)
Presentation transcript:

Machine Learning Chapter 5

Artificial IntelligenceChapter 52 Learning 1. Rote learning rote( โรท ) n. วิถีทาง, ทางเดิน, วิธีการตามปกติ, (by rote จากความทรงจำ ), การท่องจำอย่างเดียว S. repetition 2. Learning by taking advice 3. Learning by problem solving Parameter adjustment Macro-Operators 4. Learning from examples Induction : Winston ’ s learning program p.458 Version Spaces : Candidate eliminate algorithm Decision tree 5. Explanation-based learning p Formal learning theory

Artificial IntelligenceChapter 53 Winston ’ s learning program

Artificial IntelligenceChapter 54 Winston ’ s learning program Concept : P.459 Begin with a structural description of one known instance of the concept. Call the description the concept definition. Examine descriptions of other known instances of the concepts. Generalize the definition to include them. Examine descriptions of near misses of concept, Restrict the definition to exclude these.

Artificial IntelligenceChapter 55 HOUSE OF 17.2 ARCH OF 17.2

Artificial IntelligenceChapter 56 Winston ’ s learning program

Artificial IntelligenceChapter 57 Winston ’ s learning program

Artificial IntelligenceChapter 58 Winston ’ s learning program

Artificial IntelligenceChapter 59 Winston ’ s learning program p.458 Block world concept : Figure 17.2 p. 459 Structure description : Figure 17.3 p. 460 The comparison of two arches : Figure 17.4 p. 461 The arch description after two examples : Figure 17.5 p. 462 The arch “ description after a near miss : Figure 17.6 p. 463 use semantic networks to describe block structures use matching process to detect similarities and differences between structures use isa hierarchy to describe relationship among already known objects

Artificial IntelligenceChapter 510 Semantic Network isa

Artificial IntelligenceChapter 511 Semantic Network

Artificial IntelligenceChapter 512 Version Spaces The goal : to produce a description that is consistent with all positive examples but no negative examples in the training set. use frame representing concept for car see Figure 17.7 p. 463 Features/Slots : { value1, value2,...,valueN } origin : { Japan, USA, Britain } Variables : X1, X2, X3 concept space : see Figure Concept of Version Spaces p. 466 variables target concept all training instance

Artificial IntelligenceChapter 513 Version Spaces

Artificial IntelligenceChapter 514 Version Spaces version space = current hypothesis = subset of concept space = largest collection of descriptions that is consistent with all the training examples seen so far. concept space = G or S G = contain the most general descriptions consistent with the training example seen so far. S = contain the most specific descriptions consistent with training examples positive example (+)  move S to more specific negative example (-)  move G to more specific if G and S sets converge  the hypothesis is a single concept description

Artificial IntelligenceChapter 515 Version Spaces Candidate Eliminate Algorithm p  algorithm that use to narrow down the version space  by remove any descriptions that are inconsistent with set G and set S Car Example Figure 17.7 Concept Car : p. 463 Figure 17.8 Representation language for car : p. 464 Figure 17.9 The concept Japanese car : p. 464 Figure Partial ordering of concepts : p. 465 Figure Positive and negative examples of car : p. 467

Artificial IntelligenceChapter 516 Version Spaces

Artificial IntelligenceChapter 517 Version Spaces

Artificial IntelligenceChapter 518

Artificial IntelligenceChapter 519 Version Spaces

Artificial IntelligenceChapter 520 Version Spaces

Artificial IntelligenceChapter 521 Candidate Eliminate Algorithm

Artificial IntelligenceChapter 522 Candidate Eliminate Algorithm

Artificial IntelligenceChapter 523 We want “ Japanese economy car ” From Figure Positive and negative examples of car : p. 467 [origin = X1, manufacture = X2, color = X3, decade = X4, type = X5] GET EX1 (+) G = {(X1, X2, X3, X4, X5)} S = {(Japan,Honda, Blue,1980,Economy}) =Figure in EX1 GET EX2 (-) G = {(X1, Honda, X3, X4, X5), (X1, X2, Blue, X4, X5), (X1, X2, X3, 1980, X5), (X1, X2, X3, X4, Economy)} S = {(Japan,Honda, Blue,1980,Economy}) ** the same because (-) example GET EX3 (+) check G first, G = {(X1, X2, Blue, X4, X5),(X1, X2, X3, X4, Economy)} S = {(Japan,X2, Blue,X4,Economy}) GET EX4 (-) check G first, G = {(Japan, X2, Blue, X4, X5), (Japan, X2, X3, X4, Economy)} S = {(Japan,X2, Blue,X4,Economy}) ** the same because (-) example GET EX5 (+) check G first, G = {(Japan, X2, X3, X4, Economy)} S = {(Japan,X2, X3,X4, Economy}) Version Spaces

Artificial IntelligenceChapter 524 Version Spaces Note : The algorithm is least commitment algorithm : produce as little as possible at each step Problems 1.) S and G may not converge to a single hypothesis 2. ) if there is a noise (inconsistent data)  the algorithm will be premature, we may prune the target concept too fast * For example if the data number three given the negative sign (-) instance of positive sign (+)... no matter how much the data is we can not find the concept.... * How to fix this problem is to maintain several G and S sets BUT it is costly and may have the bounded inconsistency problem 3.) We can not use OR in the questions ask * For example : Italian sport car or German luxury car ”

Artificial IntelligenceChapter 525 Decision Tree ID3 Program = to classify a particular input, we start at the top of the tree and answer questions until we reach a leaf, where the classification is stored. See Figure Decision tree p Choose window = random subset of training examples to train 2. Outside window = use to test the decision tree 3. Use empirical evidence (iterative method) to build up decision tree 4. Building a node = choosing some attribute to divide training instance into subset consider (+) sign Can use with OR.... just change (-) sign into (+) sign Problems : noisy input, attribute value may be unknown, may have large decision tree and hard to understand relationship See Figure 17.13

Artificial IntelligenceChapter 526 Decision Tree

Artificial IntelligenceChapter 527 Explanation-Based Learning provide explanation depend on domain theory/ domain knowledge

Artificial IntelligenceChapter 528 Formal Learning Theory Given positive and negative examples produce algorithm that will classify future examples correctly with probability 1/h Complexity of learning : –the error tolerance (h) –the number of binary features present in the examples (t) –the size of the rule necessary to make the discrimination (f)

Artificial IntelligenceChapter 529 Formal Learning Theory if the number of training examples required is polynomial in h,t, and f  then the concept is learnable. few training examples are needed  learnable we restrict the learner to the positive examples only. See Figure Concept of elephant P. 483 elephant = “ gray, mammal, large ”

Artificial IntelligenceChapter 530 Formal Learning Theory

Artificial IntelligenceChapter 531 Induction induction : A method of reasoning by which one infers a generalization from a series of instances. Inductive syllogisms are of the following form: 1. These beans are from this bag. (and these beans..., and these beans..., etc.) 2. These beans are (all) white. # 3 Therefore, all beans from this bag are white. In a much broader sense, induction can be thought to include various other forms of reasoning including reasoning, inference to cause form symptoms, and confirmation of laws and theories. 11 22  emphasis to all BEANS : all instances

Artificial IntelligenceChapter 532 Deduction deduction - A method of reasoning by which one infers a conclusion from a set of sentences by employing the axioms and rules of inference for a given logical system. Use the term 'deduction' in a general sense to denote the fact that a conclusion follows necessarily from the premises. Deductive syllogisms in quantificational predicate calculus are of the following form: 1. All beans from this bag are white These beans are from this bag. #4 Therefore, these beans are white..... 11 22  emphasis to one BEAN : one instance

Artificial IntelligenceChapter 533 Abduction abduction -A method of reasoning by which one infers to the......best explanation A heuristic procedure that reasons inductively from available empirical evidence to the discovery of the probable hypotheses that would best explain its occurrence. Abductive syllogisms are of the following form: #3 All beans from this bag are white #4 These beans are white.  emphasis to one BEANS

Artificial IntelligenceChapter 534 The End