Rules and Expert Systems

Slides:



Advertisements
Similar presentations
1 Rule Based Systems Introduction to Production System Architecture.
Advertisements

Rulebase Expert System and Uncertainty. Rule-based ES Rules as a knowledge representation technique Type of rules :- relation, recommendation, directive,
CS 484 – Artificial Intelligence1 Announcements Choose Research Topic by today Project 1 is due Thursday, October 11 Midterm is Thursday, October 18 Book.
Forward Chaining and Backward Chaining. Inference Engine cycles via a match-fire procedure Knowledge Base Database Fact:A isx MatchFire Fact:B isy Rule:
Inferences The Reasoning Power of Expert Systems.
B. Ross Cosc 4f79 1 Forward chaining backward chaining systems: take high-level goal, and prove it by reducing it to a null goal - to reduce it to null,
Reasoning System.  Reasoning with rules  Forward chaining  Backward chaining  Rule examples  Fuzzy rule systems  Planning.
Intelligent systems Lecture 6 Rules, Semantic nets.
Knowledge Engineering.  Process of acquiring knowledge from experts and building knowledge base  Narrow perspective  Knowledge acquisition, representation,
Rule Based Systems Michael J. Watts
Artificial Intelligence Lecture No. 16
Chapter 12: Expert Systems Design Examples
Rule Based Systems Alford Academy Business Education and Computing
Intelligent Systems and Soft Computing
:Word Morphing ★★☆☆☆ 題組: Problem Set Archive with Online Judge 題號: 10508:word morphing 解題者:楊家豪 解題日期: 2006 年 5 月 21 日 題意: 第一行給你兩個正整數, 第一個代表下面會出現幾個字串,
Lecture 8 Median and Order Statistics. Median and Order Statistics2 Order Statistics 問題敘述 在 n 個元素中,找出其中第 i 小的元素。 i = 1 ,即為找最小值。 i = n ,即為找最大值。 i = 或 ,即為找中位數。
 Negnevitsky, Pearson Education, Lecture 2 Rule-based expert systems n Introduction, or what is knowledge? n Rules as a knowledge representation.
Chapter 10 Hypothesis Tests with Two Independent Samples.
平均值檢定 假設 檢定 One Sample 平均值 是否為 u. One Sample—1 工廠甲過去向 A 公司購買原料, 平均交貨日約為 4.94 日, 標準差 現在 A 公司改組, 甲工廠繼續向 A 公司 購買, 隨機抽取 8 次採購, 平均日數為 4.29 日, 請問 A 公.
1 5.0 Expert Systems Outline 5.1 Introduction 5.2 Rules for Knowledge Representation 5.3 Types of rules 5.4 Rule-based systems 5.5 Reasoning approaches.
Lecture 04 Rule Representation
Artificial Intelligence CAP492
Designing A KBS Rulebase Expert System Uncertainty Management
1 Pertemuan 6 RULE-BASED SYSTEMS Matakuliah: H0383/Sistem Berbasis Pengetahuan Tahun: 2005 Versi: 1/0.
1 Chapter 9 Rules and Expert Systems. 2 Chapter 9 Contents (1) l Rules for Knowledge Representation l Rule Based Production Systems l Forward Chaining.
Rules and Expert Systems
Production Rules Rule-Based Systems. 2 Production Rules Specify what you should do or what you could conclude in different situations. Specify what you.
1 100: The 3n+1 Problem ★★★☆☆ 題組: VOLUME CII 題號: 10721: Problem C-Chopsticks 陳冠男 解題者:陳冠男、侯沛彣 解題日期: 2006 年 4 月 23 日 給定一個正整數 n (n>1) ,當 n 為奇數時令 n  3n+1.
2006 American Model United Nations Chicago 國立政治大學青年國際會議社.
EXPERT SYSTEMS Part I.
CPSC 433 Artificial Intelligence CPSC 433 : Artificial Intelligence Tutorials T01 & T02 Andrew “M” Kuipers note: please include.
多媒體技術與應用 實習作業 Part II. 實習作業 利用 Corel Paint Shop Pro X2 完成作業。 作業一:利用影像處理的技巧,讓這張影像變 的更清晰。
ES: Expert Systems n Knowledge Base (facts, rules) n Inference Engine (software) n User Interface.
著作權所有 © 旗標出版股份有限公司 第 14 章 製作信封、標籤. 本章提要 製作單一信封 製作單一郵寄標籤.
幼兒行為觀察與記錄 第八章 事件取樣法.
Artificial Intelligence CSC 361
CH 14-可靠度工程之數學基礎 探討重點 失效時間之機率分配 指數模式之可靠度工程.
© Negnevitsky, Pearson Education, Lecture 2 Introduction, or what is knowledge? Introduction, or what is knowledge? Rules as a knowledge representation.
Artificial Intelligence Lecture No. 15 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Rule-Based Expert Systems
School of Computer Science and Technology, Tianjin University
Chapter 9: Rules and Expert Systems Lora Streeter.
 Architecture and Description Of Module Architecture and Description Of Module  KNOWLEDGE BASE KNOWLEDGE BASE  PRODUCTION RULES PRODUCTION RULES 
1 A preliminary study on unknown word problem in Chinese word segmentation Authors: Ming -Yu Lin Tung – Hui Chiang Keh-Yih Su Speaker: Jbc.
Expert System Note: Some slides and/or pictures are adapted from Lecture slides / Books of Dr Zafar Alvi. Text Book - Aritificial Intelligence Illuminated.
COM362 Knowledge Engineering Inferencing 1 Inferencing: Forward and Backward Chaining John MacIntyre
1 Fuzzy Reasoning. 2 Expert System (Forward Chaining Case) l Forward chaining is a reasoning model that works from a set of facts and rules towards a.
1 Chapter 9 Rules and Expert Systems Expert System (Rule Based Inference) Bayesian Network Fuzzy Theorem Probability (statistics) Uncertainty (cybernetics)
KNOWLEDGE BASED SYSTEMS
Inferencing in rule-based systems: forward and backward chaining.
Chapter 4: Inference Techniques
Chapter 9. Rules and Expert Systems Fall 2013 Comp3710 Artificial Intelligence Computing Science Thompson Rivers University.
1 Intelligent Systems and Control Rule-based expert systems n Introduction, or what is knowledge? n Rules as a knowledge representation technique n The.
第二冊第七課 中國新年是春節 第一週.
Forward and Backward Chaining
Some Thoughts to Consider 5 Take a look at some of the sophisticated toys being offered in stores, in catalogs, or in Sunday newspaper ads. Which ones.
! !美洲華語 李雅莉老師製作 TextVocabularyidiomStoryChallenge $100 $200 $300 $400 $500 $600 $100 $200 $300 $400 $500 $600 $100 $200 $300 $400 $500 $600 $100 $200.
Artificial Intelligence: Applications
EXPERT SYSTEMS BY MEHWISH MANZER (63) MEER SADAF NAEEM (58) DUR-E-MALIKA (55)
By Muhammad Safdar MCS [E-Section].  There are times in life when you are faced with challenging decisions to make. You have rules to follow and general.
Lecture 20. Recap The main components of an ES are –Knowledge Base (LTM) –Working Memory (STM) –Inference Engine (Reasoning)
其他重组 造句文化
Advanced AI Session 2 Rule Based Expert System
Intelligent Systems and Soft Computing
Chapter 9. Rules and Expert Systems
Rule-based expert systems
Knowledge-Based Systems Chapter 17.
CS62S: Expert Systems Based on:
CPSC 433 : Artificial Intelligence Tutorials T01 & T02
Chapter 9. Rules and Expert Systems
Presentation transcript:

Rules and Expert Systems

Rule Based Production Systems A production system is a system that uses knowledge in the form of rules to provide diagnoses or advice on the basis of input data. The system consists of a database of rules (knowledge base), a database of facts, and an inference engine which reasons about the facts using the rules.

Expert Systems An expert system uses expert knowledge derived from human experts to diagnose illnesses, provide recommendations and solve other problems.

Forward Chaining Forward chaining is a reasoning model that works from a set of facts and rules towards a set of conclusions, diagnoses or recommendations. When a fact matches the antecedent of a rule, the rule fires, and the conclusion of the rule is added to the database of facts.

Example (Forward Chaining) Man(W)  Dislikes(Snoopy, W) Close_to(Z,DormG)  Meets(Snoopy, Z) TMan(John) TClose_to(John, DormG) {Z/John} {W/John} TDislikes(Snoopy, John) (1) (2) TMeets(Snoopy, John) (3) Dog(X) ^ Meets(X,Y)^Dislikes(X,Y)  Barks_at(X,Y) TDog(Snoopy) (4) Meets(Snoopy,Y)^Dislikes(Snoopy,Y)  Barks_at(Snoopy,Y) {Y/John} (5) Meets(Snoopy,John)  Barks_at(Snoopy,John) ? Barks_at(Snoopy,John) False TBarks_at(Snoopy,John)

Backward Chaining In cases where a particular conclusion is to be proved, backward chaining can be more appropriate. Works back from a conclusion towards the original facts. When a conclusion matches the conclusion of a rule in the database, the antecedents of the rule are compared with facts in the database.

Example (Backward Chaining) Barks_at(Snoopy,John) False Dog(X) ^ Meets(X,Y)^Dislikes(X,Y)  Barks_at(X,Y) {X/Snoopy, Y/John} Dog(Snoopy) ^ Meets(Snoopy,John)^Dislikes(Snoopy,John)  F T  Dog(Snoopy) Meets(Snoopy,John)^Dislikes(Snoopy,John)  False Close_to(Z,DormG)  Meets(Snoopy, Z) {Z/John} Close_to(John,DormG)^Dislikes(Snoopy,John)  False True  Close_to(John, DormG) Dislikes(Snoopy,John)  False Man(W)  Dislikes(Snoopy, W) {W/John} Man(John)  False True  Man(John) True  False

Conflict Resolution 牴觸的規則 Sometimes more than one rule will fire at once, and a conflict resolution strategy must be used to decide which conclusions to use. One strategy is to give rules priorities and to use the conclusion that has the highest priority. Other strategies include applying the rule with the (a) longest antecedent, or applying the rule that was (b) most recently added to the database. (1) 天氣好,睡得好,工作不忙 去打球; vs.“吃飽飯不打球” (2) 男生,穿拖鞋,靠近女生宿舍小花吠; vs.“吃飯中不吠人” Priority?

Meta Rules The rules that determine the conflict resolution strategy are called meta rules. Meta rules define knowledge about how the system will work. For example, meta rules might define that (c) knowledge from Expert A is to be trusted more than knowledge from Expert B. Meta rules are treated by the system like normal rules, but are given higher priority.

Knowledge Engineering A knowledge engineer takes knowledge from experts and inputs it into the expert system. (擷取) A knowledge engineer will usually choose which expert system shell to use. (實現) The knowledge engineer is also responsible for entering meta-rules. (整合) Expert System (Rule Based Production System) 只是後來所謂「知識工程」的一個小部份