SlideShare a Scribd company logo
1 of 27
Learning •  Machine learning is an area of AI concerned with the automatic learning of knowledge •  some ways that machine learning can be used in expert systems 1.  increase efficiency of inference engine and knowledge base processing 2.  testing the knowledge base 3.  use learning principles to acquire knowledge itself 4.  ??? •  Most learning techniques exploit heuristics:  problem-specific information  which makes the search for a solution more efficient •  Without heuristics, typical learning problems either take too long to execute effectively, or produce results which are too large & general to be useful
Learning 1.  Increase inference engine efficiency •  20-80 principle:  20% of rules in KB account for 80%  of diagnoses •  these 20% rules should take precedence in order to make execution faster •  otherwise, roughly half of the KB needs to be looked at for every diagnosis, which is a waste of time for most (80%) problems •  However, it is also possible that the set of rules most often used can vary according to who, where, and how the expert system is used •  One way to fix this:  keep a record of the number of times  a high-level rule was successful in making a  diagnosis eg.  record(rule12, 102). record(rule6, 25).  etc •  Save this information in a file, and reload it every session. •  Use these rule stats to determine the order in which  diagnoses  are to be  executed
Learning 1. ordering rules: p.118 Schnupp p.118 schnupp
Learning •  Another possibility  is to ask some preliminary questions to determine general high-level information, and then order the high-level inference accordingly p.112-113 Schnupp
Learning 2. Knowledge acquisition (i) Learning rules from examples •  user inputs typical examples ( decision table ) for a given rule domain; or, can process a database to automatically generate production rules •  system constructs a rule or set of rules ( decision tree ) for this example set •  can then generate production rules from this tree •  trivial to make  comprehensive tree but more involved to make a  minimal  one •  inductive inference :  learning technique which constructs a general rule from specific examples  (compare with  mathematical induction) •  popular algorithm:  Quinlan's ID3,  used in shells such as VP-expert, ExpertEase, RuleMaster, and others
Learning •  Decision table : table of attribute values, with one or more conclusions -  each row is an example or true instance of attribute value - conclusion •   Convenient for classification & identification problems •  Could create production rules directly from table: one rule per row •  induction : tries to generalize information in table, disregarding superfluous information, and yielding an efficient smaller decision tree - results in "smarter" system - good example of machine learning : computer tries to generalize and abstract from  examples •   Given a table, can look at conclusions, and see if particular attributes have any effect on them. If not, then disregard those attributes when deriving that conclusion. •  There exist one or more "minimal" sets of tests for a table; however, finding this minimal set can be intractable in general
ID3 definitions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ID3 definitions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ID3 Algorithm ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ID3 algorithm ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ID3: entropy extremes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ID3: example  (from Durkin, pp.496-498) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example (cont) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example ,[object Object],[object Object],[object Object],[object Object]
Example: final tree
ID3 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Learning Inductive Inference: p.129-132
Learning Inductive Inference
Learning
Learning ID3 algorithm p. 134-5
Learning
Learning
Learning
Possible ID3 problems ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ID3 enhancements ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Learning: Genetic algorithms ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Learning comments •  Inductive inference is a convenient way of obtaining productions automatically from databases or user examples. •  Good for classification & diagnosis problems •  Assumes that domain is  deterministic:  that particular premises lead to only one conclusion, not multiple ones •  Need to have:  good data, no noise, no clashes -  assumes that the entire universe of interest is encapsulated in example set or database - clashes probably mean you need to identify more  attributes •  ID3 doesn't assure the minimal tree, but its entropy measure is a  heuristic  that  often generates a small tree •  Note that a minimal rule is not necessarily desireable:  when you discard attributes, you discard information which might be relevant, especially later when the system is being upgraded •  Not desireable to use this technique on huge tables with many attributes. Better approach is to modularise data hierarchically.

More Related Content

What's hot

DATA STRUCTURE AND ALGORITHM FULL NOTES
DATA STRUCTURE AND ALGORITHM FULL NOTESDATA STRUCTURE AND ALGORITHM FULL NOTES
DATA STRUCTURE AND ALGORITHM FULL NOTESAniruddha Paul
 
Kaggle Winning Solution Xgboost algorithm -- Let us learn from its author
Kaggle Winning Solution Xgboost algorithm -- Let us learn from its authorKaggle Winning Solution Xgboost algorithm -- Let us learn from its author
Kaggle Winning Solution Xgboost algorithm -- Let us learn from its authorVivian S. Zhang
 
Data structure and algorithm using java
Data structure and algorithm using javaData structure and algorithm using java
Data structure and algorithm using javaNarayan Sau
 
Data Structure Midterm Lesson Arrays
Data Structure Midterm Lesson ArraysData Structure Midterm Lesson Arrays
Data Structure Midterm Lesson ArraysMaulen Bale
 
Two dimensional arrays
Two dimensional arraysTwo dimensional arrays
Two dimensional arraysNeeru Mittal
 
Data Structure and Algorithms
Data Structure and AlgorithmsData Structure and Algorithms
Data Structure and Algorithmsiqbalphy1
 
Two dimensional array
Two dimensional arrayTwo dimensional array
Two dimensional arrayRajendran
 
maXbox starter69 Machine Learning VII
maXbox starter69 Machine Learning VIImaXbox starter69 Machine Learning VII
maXbox starter69 Machine Learning VIIMax Kleiner
 
Elementary data structure
Elementary data structureElementary data structure
Elementary data structureBiswajit Mandal
 
2013-1 Machine Learning Lecture 06 - Artur Ferreira - A Survey on Boosting…
2013-1 Machine Learning Lecture 06 - Artur Ferreira - A Survey on Boosting…2013-1 Machine Learning Lecture 06 - Artur Ferreira - A Survey on Boosting…
2013-1 Machine Learning Lecture 06 - Artur Ferreira - A Survey on Boosting…Dongseo University
 
Review session2
Review session2Review session2
Review session2NEEDY12345
 
Recurrence Relation
Recurrence RelationRecurrence Relation
Recurrence RelationNilaNila16
 
Proof of O(log *n) time complexity of Union find (Presentation by Wei Li, Zeh...
Proof of O(log *n) time complexity of Union find (Presentation by Wei Li, Zeh...Proof of O(log *n) time complexity of Union find (Presentation by Wei Li, Zeh...
Proof of O(log *n) time complexity of Union find (Presentation by Wei Li, Zeh...Amrinder Arora
 
Data Streaming Algorithms
Data Streaming AlgorithmsData Streaming Algorithms
Data Streaming Algorithms宇 傅
 

What's hot (20)

Data structures in c#
Data structures in c#Data structures in c#
Data structures in c#
 
DATA STRUCTURE AND ALGORITHM FULL NOTES
DATA STRUCTURE AND ALGORITHM FULL NOTESDATA STRUCTURE AND ALGORITHM FULL NOTES
DATA STRUCTURE AND ALGORITHM FULL NOTES
 
Kaggle Winning Solution Xgboost algorithm -- Let us learn from its author
Kaggle Winning Solution Xgboost algorithm -- Let us learn from its authorKaggle Winning Solution Xgboost algorithm -- Let us learn from its author
Kaggle Winning Solution Xgboost algorithm -- Let us learn from its author
 
Data structure and algorithm using java
Data structure and algorithm using javaData structure and algorithm using java
Data structure and algorithm using java
 
Data Structure Midterm Lesson Arrays
Data Structure Midterm Lesson ArraysData Structure Midterm Lesson Arrays
Data Structure Midterm Lesson Arrays
 
Arrays
ArraysArrays
Arrays
 
Data structure
Data structureData structure
Data structure
 
Two dimensional arrays
Two dimensional arraysTwo dimensional arrays
Two dimensional arrays
 
Data Structure and Algorithms
Data Structure and AlgorithmsData Structure and Algorithms
Data Structure and Algorithms
 
Two dimensional array
Two dimensional arrayTwo dimensional array
Two dimensional array
 
Introduction to data structure and algorithms
Introduction to data structure and algorithmsIntroduction to data structure and algorithms
Introduction to data structure and algorithms
 
maXbox starter69 Machine Learning VII
maXbox starter69 Machine Learning VIImaXbox starter69 Machine Learning VII
maXbox starter69 Machine Learning VII
 
Elementary data structure
Elementary data structureElementary data structure
Elementary data structure
 
2013-1 Machine Learning Lecture 06 - Artur Ferreira - A Survey on Boosting…
2013-1 Machine Learning Lecture 06 - Artur Ferreira - A Survey on Boosting…2013-1 Machine Learning Lecture 06 - Artur Ferreira - A Survey on Boosting…
2013-1 Machine Learning Lecture 06 - Artur Ferreira - A Survey on Boosting…
 
Arrays
ArraysArrays
Arrays
 
Review session2
Review session2Review session2
Review session2
 
Recurrence Relation
Recurrence RelationRecurrence Relation
Recurrence Relation
 
adaboost
adaboostadaboost
adaboost
 
Proof of O(log *n) time complexity of Union find (Presentation by Wei Li, Zeh...
Proof of O(log *n) time complexity of Union find (Presentation by Wei Li, Zeh...Proof of O(log *n) time complexity of Union find (Presentation by Wei Li, Zeh...
Proof of O(log *n) time complexity of Union find (Presentation by Wei Li, Zeh...
 
Data Streaming Algorithms
Data Streaming AlgorithmsData Streaming Algorithms
Data Streaming Algorithms
 

Viewers also liked

Natural Semantics for a Robot notes:
Natural Semantics for a Robot notes: Natural Semantics for a Robot notes:
Natural Semantics for a Robot notes: butest
 
RFP document template
RFP document templateRFP document template
RFP document templatebutest
 
День творческих идей 03.02.2015г
День творческих идей 03.02.2015гДень творческих идей 03.02.2015г
День творческих идей 03.02.2015гArtem Ermolitskiy
 
2005 BT Technology Timeline
2005 BT Technology Timeline2005 BT Technology Timeline
2005 BT Technology Timelinebutest
 
ph-report.doc
ph-report.docph-report.doc
ph-report.docbutest
 
ITRrefs.doc
ITRrefs.docITRrefs.doc
ITRrefs.docbutest
 
Introduction
IntroductionIntroduction
Introductionbutest
 

Viewers also liked (8)

Natural Semantics for a Robot notes:
Natural Semantics for a Robot notes: Natural Semantics for a Robot notes:
Natural Semantics for a Robot notes:
 
RFP document template
RFP document templateRFP document template
RFP document template
 
Hivext 04.2010
Hivext 04.2010Hivext 04.2010
Hivext 04.2010
 
День творческих идей 03.02.2015г
День творческих идей 03.02.2015гДень творческих идей 03.02.2015г
День творческих идей 03.02.2015г
 
2005 BT Technology Timeline
2005 BT Technology Timeline2005 BT Technology Timeline
2005 BT Technology Timeline
 
ph-report.doc
ph-report.docph-report.doc
ph-report.doc
 
ITRrefs.doc
ITRrefs.docITRrefs.doc
ITRrefs.doc
 
Introduction
IntroductionIntroduction
Introduction
 

Similar to Learning

CS3114_09212011.ppt
CS3114_09212011.pptCS3114_09212011.ppt
CS3114_09212011.pptArumugam90
 
Introduction to data structures and complexity.pptx
Introduction to data structures and complexity.pptxIntroduction to data structures and complexity.pptx
Introduction to data structures and complexity.pptxPJS KUMAR
 
Effective Numerical Computation in NumPy and SciPy
Effective Numerical Computation in NumPy and SciPyEffective Numerical Computation in NumPy and SciPy
Effective Numerical Computation in NumPy and SciPyKimikazu Kato
 
Secure information aggregation in sensor networks
Secure information aggregation in sensor networksSecure information aggregation in sensor networks
Secure information aggregation in sensor networksAleksandr Yampolskiy
 
VCE Unit 01 (2).pptx
VCE Unit 01 (2).pptxVCE Unit 01 (2).pptx
VCE Unit 01 (2).pptxskilljiolms
 
Basic terminologies & asymptotic notations
Basic terminologies & asymptotic notationsBasic terminologies & asymptotic notations
Basic terminologies & asymptotic notationsRajendran
 
IRJET- A Data Mining with Big Data Disease Prediction
IRJET-  	  A Data Mining with Big Data Disease PredictionIRJET-  	  A Data Mining with Big Data Disease Prediction
IRJET- A Data Mining with Big Data Disease PredictionIRJET Journal
 
Design & Analysis of Algorithm course .pptx
Design & Analysis of Algorithm course .pptxDesign & Analysis of Algorithm course .pptx
Design & Analysis of Algorithm course .pptxJeevaMCSEKIOT
 
Data Analytics and Simulation in Parallel with MATLAB*
Data Analytics and Simulation in Parallel with MATLAB*Data Analytics and Simulation in Parallel with MATLAB*
Data Analytics and Simulation in Parallel with MATLAB*Intel® Software
 
20 bayes learning
20 bayes learning20 bayes learning
20 bayes learningTianlu Wang
 
ML basic & clustering
ML basic & clusteringML basic & clustering
ML basic & clusteringmonalisa Das
 
LCU14-410: How to build an Energy Model for your SoC
LCU14-410: How to build an Energy Model for your SoCLCU14-410: How to build an Energy Model for your SoC
LCU14-410: How to build an Energy Model for your SoCLinaro
 
Data structures notes for college students btech.pptx
Data structures notes for college students btech.pptxData structures notes for college students btech.pptx
Data structures notes for college students btech.pptxKarthikVijay59
 

Similar to Learning (20)

CS3114_09212011.ppt
CS3114_09212011.pptCS3114_09212011.ppt
CS3114_09212011.ppt
 
Introduction to data structures and complexity.pptx
Introduction to data structures and complexity.pptxIntroduction to data structures and complexity.pptx
Introduction to data structures and complexity.pptx
 
01_intro-cpp.ppt
01_intro-cpp.ppt01_intro-cpp.ppt
01_intro-cpp.ppt
 
01_intro-cpp.ppt
01_intro-cpp.ppt01_intro-cpp.ppt
01_intro-cpp.ppt
 
Effective Numerical Computation in NumPy and SciPy
Effective Numerical Computation in NumPy and SciPyEffective Numerical Computation in NumPy and SciPy
Effective Numerical Computation in NumPy and SciPy
 
Lesson 39
Lesson 39Lesson 39
Lesson 39
 
AI Lesson 39
AI Lesson 39AI Lesson 39
AI Lesson 39
 
Secure information aggregation in sensor networks
Secure information aggregation in sensor networksSecure information aggregation in sensor networks
Secure information aggregation in sensor networks
 
Xgboost
XgboostXgboost
Xgboost
 
VCE Unit 01 (2).pptx
VCE Unit 01 (2).pptxVCE Unit 01 (2).pptx
VCE Unit 01 (2).pptx
 
Basic terminologies & asymptotic notations
Basic terminologies & asymptotic notationsBasic terminologies & asymptotic notations
Basic terminologies & asymptotic notations
 
IRJET- A Data Mining with Big Data Disease Prediction
IRJET-  	  A Data Mining with Big Data Disease PredictionIRJET-  	  A Data Mining with Big Data Disease Prediction
IRJET- A Data Mining with Big Data Disease Prediction
 
Design & Analysis of Algorithm course .pptx
Design & Analysis of Algorithm course .pptxDesign & Analysis of Algorithm course .pptx
Design & Analysis of Algorithm course .pptx
 
eam2
eam2eam2
eam2
 
Data Analytics and Simulation in Parallel with MATLAB*
Data Analytics and Simulation in Parallel with MATLAB*Data Analytics and Simulation in Parallel with MATLAB*
Data Analytics and Simulation in Parallel with MATLAB*
 
20 bayes learning
20 bayes learning20 bayes learning
20 bayes learning
 
ML basic & clustering
ML basic & clusteringML basic & clustering
ML basic & clustering
 
LCU14-410: How to build an Energy Model for your SoC
LCU14-410: How to build an Energy Model for your SoCLCU14-410: How to build an Energy Model for your SoC
LCU14-410: How to build an Energy Model for your SoC
 
Data structures notes for college students btech.pptx
Data structures notes for college students btech.pptxData structures notes for college students btech.pptx
Data structures notes for college students btech.pptx
 
Eye deep
Eye deepEye deep
Eye deep
 

More from butest

EL MODELO DE NEGOCIO DE YOUTUBE
EL MODELO DE NEGOCIO DE YOUTUBEEL MODELO DE NEGOCIO DE YOUTUBE
EL MODELO DE NEGOCIO DE YOUTUBEbutest
 
1. MPEG I.B.P frame之不同
1. MPEG I.B.P frame之不同1. MPEG I.B.P frame之不同
1. MPEG I.B.P frame之不同butest
 
LESSONS FROM THE MICHAEL JACKSON TRIAL
LESSONS FROM THE MICHAEL JACKSON TRIALLESSONS FROM THE MICHAEL JACKSON TRIAL
LESSONS FROM THE MICHAEL JACKSON TRIALbutest
 
Timeline: The Life of Michael Jackson
Timeline: The Life of Michael JacksonTimeline: The Life of Michael Jackson
Timeline: The Life of Michael Jacksonbutest
 
Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...
Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...
Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...butest
 
LESSONS FROM THE MICHAEL JACKSON TRIAL
LESSONS FROM THE MICHAEL JACKSON TRIALLESSONS FROM THE MICHAEL JACKSON TRIAL
LESSONS FROM THE MICHAEL JACKSON TRIALbutest
 
Com 380, Summer II
Com 380, Summer IICom 380, Summer II
Com 380, Summer IIbutest
 
The MYnstrel Free Press Volume 2: Economic Struggles, Meet Jazz
The MYnstrel Free Press Volume 2: Economic Struggles, Meet JazzThe MYnstrel Free Press Volume 2: Economic Struggles, Meet Jazz
The MYnstrel Free Press Volume 2: Economic Struggles, Meet Jazzbutest
 
MICHAEL JACKSON.doc
MICHAEL JACKSON.docMICHAEL JACKSON.doc
MICHAEL JACKSON.docbutest
 
Social Networks: Twitter Facebook SL - Slide 1
Social Networks: Twitter Facebook SL - Slide 1Social Networks: Twitter Facebook SL - Slide 1
Social Networks: Twitter Facebook SL - Slide 1butest
 
Facebook
Facebook Facebook
Facebook butest
 
Executive Summary Hare Chevrolet is a General Motors dealership ...
Executive Summary Hare Chevrolet is a General Motors dealership ...Executive Summary Hare Chevrolet is a General Motors dealership ...
Executive Summary Hare Chevrolet is a General Motors dealership ...butest
 
Welcome to the Dougherty County Public Library's Facebook and ...
Welcome to the Dougherty County Public Library's Facebook and ...Welcome to the Dougherty County Public Library's Facebook and ...
Welcome to the Dougherty County Public Library's Facebook and ...butest
 
NEWS ANNOUNCEMENT
NEWS ANNOUNCEMENTNEWS ANNOUNCEMENT
NEWS ANNOUNCEMENTbutest
 
C-2100 Ultra Zoom.doc
C-2100 Ultra Zoom.docC-2100 Ultra Zoom.doc
C-2100 Ultra Zoom.docbutest
 
MAC Printing on ITS Printers.doc.doc
MAC Printing on ITS Printers.doc.docMAC Printing on ITS Printers.doc.doc
MAC Printing on ITS Printers.doc.docbutest
 
Mac OS X Guide.doc
Mac OS X Guide.docMac OS X Guide.doc
Mac OS X Guide.docbutest
 
WEB DESIGN!
WEB DESIGN!WEB DESIGN!
WEB DESIGN!butest
 

More from butest (20)

EL MODELO DE NEGOCIO DE YOUTUBE
EL MODELO DE NEGOCIO DE YOUTUBEEL MODELO DE NEGOCIO DE YOUTUBE
EL MODELO DE NEGOCIO DE YOUTUBE
 
1. MPEG I.B.P frame之不同
1. MPEG I.B.P frame之不同1. MPEG I.B.P frame之不同
1. MPEG I.B.P frame之不同
 
LESSONS FROM THE MICHAEL JACKSON TRIAL
LESSONS FROM THE MICHAEL JACKSON TRIALLESSONS FROM THE MICHAEL JACKSON TRIAL
LESSONS FROM THE MICHAEL JACKSON TRIAL
 
Timeline: The Life of Michael Jackson
Timeline: The Life of Michael JacksonTimeline: The Life of Michael Jackson
Timeline: The Life of Michael Jackson
 
Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...
Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...
Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...
 
LESSONS FROM THE MICHAEL JACKSON TRIAL
LESSONS FROM THE MICHAEL JACKSON TRIALLESSONS FROM THE MICHAEL JACKSON TRIAL
LESSONS FROM THE MICHAEL JACKSON TRIAL
 
Com 380, Summer II
Com 380, Summer IICom 380, Summer II
Com 380, Summer II
 
PPT
PPTPPT
PPT
 
The MYnstrel Free Press Volume 2: Economic Struggles, Meet Jazz
The MYnstrel Free Press Volume 2: Economic Struggles, Meet JazzThe MYnstrel Free Press Volume 2: Economic Struggles, Meet Jazz
The MYnstrel Free Press Volume 2: Economic Struggles, Meet Jazz
 
MICHAEL JACKSON.doc
MICHAEL JACKSON.docMICHAEL JACKSON.doc
MICHAEL JACKSON.doc
 
Social Networks: Twitter Facebook SL - Slide 1
Social Networks: Twitter Facebook SL - Slide 1Social Networks: Twitter Facebook SL - Slide 1
Social Networks: Twitter Facebook SL - Slide 1
 
Facebook
Facebook Facebook
Facebook
 
Executive Summary Hare Chevrolet is a General Motors dealership ...
Executive Summary Hare Chevrolet is a General Motors dealership ...Executive Summary Hare Chevrolet is a General Motors dealership ...
Executive Summary Hare Chevrolet is a General Motors dealership ...
 
Welcome to the Dougherty County Public Library's Facebook and ...
Welcome to the Dougherty County Public Library's Facebook and ...Welcome to the Dougherty County Public Library's Facebook and ...
Welcome to the Dougherty County Public Library's Facebook and ...
 
NEWS ANNOUNCEMENT
NEWS ANNOUNCEMENTNEWS ANNOUNCEMENT
NEWS ANNOUNCEMENT
 
C-2100 Ultra Zoom.doc
C-2100 Ultra Zoom.docC-2100 Ultra Zoom.doc
C-2100 Ultra Zoom.doc
 
MAC Printing on ITS Printers.doc.doc
MAC Printing on ITS Printers.doc.docMAC Printing on ITS Printers.doc.doc
MAC Printing on ITS Printers.doc.doc
 
Mac OS X Guide.doc
Mac OS X Guide.docMac OS X Guide.doc
Mac OS X Guide.doc
 
hier
hierhier
hier
 
WEB DESIGN!
WEB DESIGN!WEB DESIGN!
WEB DESIGN!
 

Learning

  • 1. Learning • Machine learning is an area of AI concerned with the automatic learning of knowledge • some ways that machine learning can be used in expert systems 1. increase efficiency of inference engine and knowledge base processing 2. testing the knowledge base 3. use learning principles to acquire knowledge itself 4. ??? • Most learning techniques exploit heuristics: problem-specific information which makes the search for a solution more efficient • Without heuristics, typical learning problems either take too long to execute effectively, or produce results which are too large & general to be useful
  • 2. Learning 1. Increase inference engine efficiency • 20-80 principle: 20% of rules in KB account for 80% of diagnoses • these 20% rules should take precedence in order to make execution faster • otherwise, roughly half of the KB needs to be looked at for every diagnosis, which is a waste of time for most (80%) problems • However, it is also possible that the set of rules most often used can vary according to who, where, and how the expert system is used • One way to fix this: keep a record of the number of times a high-level rule was successful in making a diagnosis eg. record(rule12, 102). record(rule6, 25). etc • Save this information in a file, and reload it every session. • Use these rule stats to determine the order in which diagnoses are to be executed
  • 3. Learning 1. ordering rules: p.118 Schnupp p.118 schnupp
  • 4. Learning • Another possibility is to ask some preliminary questions to determine general high-level information, and then order the high-level inference accordingly p.112-113 Schnupp
  • 5. Learning 2. Knowledge acquisition (i) Learning rules from examples • user inputs typical examples ( decision table ) for a given rule domain; or, can process a database to automatically generate production rules • system constructs a rule or set of rules ( decision tree ) for this example set • can then generate production rules from this tree • trivial to make comprehensive tree but more involved to make a minimal one • inductive inference : learning technique which constructs a general rule from specific examples (compare with mathematical induction) • popular algorithm: Quinlan's ID3, used in shells such as VP-expert, ExpertEase, RuleMaster, and others
  • 6. Learning • Decision table : table of attribute values, with one or more conclusions - each row is an example or true instance of attribute value - conclusion •  Convenient for classification & identification problems • Could create production rules directly from table: one rule per row • induction : tries to generalize information in table, disregarding superfluous information, and yielding an efficient smaller decision tree - results in "smarter" system - good example of machine learning : computer tries to generalize and abstract from examples •  Given a table, can look at conclusions, and see if particular attributes have any effect on them. If not, then disregard those attributes when deriving that conclusion. • There exist one or more "minimal" sets of tests for a table; however, finding this minimal set can be intractable in general
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 16.
  • 24.
  • 25.
  • 26.
  • 27. Learning comments • Inductive inference is a convenient way of obtaining productions automatically from databases or user examples. • Good for classification & diagnosis problems • Assumes that domain is deterministic: that particular premises lead to only one conclusion, not multiple ones • Need to have: good data, no noise, no clashes - assumes that the entire universe of interest is encapsulated in example set or database - clashes probably mean you need to identify more attributes • ID3 doesn't assure the minimal tree, but its entropy measure is a heuristic that often generates a small tree • Note that a minimal rule is not necessarily desireable: when you discard attributes, you discard information which might be relevant, especially later when the system is being upgraded • Not desireable to use this technique on huge tables with many attributes. Better approach is to modularise data hierarchically.