Chapter 2-The Representation of Knowledge.ppt
《Chapter 2-The Representation of Knowledge.ppt》由会员分享,可在线阅读,更多相关《Chapter 2-The Representation of Knowledge.ppt(69页珍藏版)》请在麦多课文档分享上搜索。
1、Chapter 2: The Representation of Knowledge,Expert Systems: Principles and Programming, Fourth Edition,Expert Systems: Principles and Programming, Fourth Edition,2,What is the study of logic?,Logic is the study of making inferences given a set of facts, we attempt to reach a true conclusion. An examp
2、le of informal logic is a courtroom setting where lawyers make a series of inferences hoping to convince a jury / judge . Formal logic (symbolic logic) is a more rigorous approach to proving a conclusion to be true / false.,Expert Systems: Principles and Programming, Fourth Edition,3,Why is Logic Im
3、portant,We use logic in our everyday lives “should I buy this car”, “should I seek medical attention”. People are not very good at reasoning because they often fail to separate word meanings with the reasoning process itself. Semantics refers to the meanings we give to symbols.,Expert Systems: Princ
4、iples and Programming, Fourth Edition,4,The Goal of Expert Systems,We need to be able to separate the actual meanings of words with the reasoning process itself. We need to make inferences w/o relying on semantics. We need to reach valid conclusions based on facts only.,Expert Systems: Principles an
5、d Programming, Fourth Edition,5,Knowledge vs. Expert Systems,Knowledge representation is key to the success of expert systems. Expert systems are designed for knowledge representation based on rules of logic called inferences. Knowledge affects the development, efficiency, speed, and maintenance of
6、the system.,Expert Systems: Principles and Programming, Fourth Edition,6,Arguments in Logic,An argument refers to the formal way facts and rules of inferences are used to reach valid conclusions.The process of reaching valid conclusions is referred to as logical reasoning.,Expert Systems: Principles
7、 and Programming, Fourth Edition,7,How is Knowledge Used?,Knowledge has many meanings data, facts, information. How do we use knowledge to reach conclusions or solve problems? Heuristics refers to using experience to solve problems using precedents. Expert systems may have hundreds / thousands of mi
8、cro-precedents to refer to.,Expert Systems: Principles and Programming, Fourth Edition,8,Epistemology,Epistemology is the formal study of knowledge .Concerned with nature, structure, and origins of knowledge.,Expert Systems: Principles and Programming, Fourth Edition,9,Categories of Epistemology,Exp
9、ert Systems: Principles and Programming, Fourth Edition,10,A Priori Knowledge,“That which precedes”Independent of the sensesUniversally trueCannot be denied without contradiction,Expert Systems: Principles and Programming, Fourth Edition,11,A Posteriori Knowledge,“That which follows”Derived from the
10、 sensesNow always reliableDeniable on the basis of new knowledge w/o the necessity of contradiction,Expert Systems: Principles and Programming, Fourth Edition,12,Procedural Knowledge,Knowing how to do something:Fix a watch Install a window Brush your teeth Ride a bicycle,Expert Systems: Principles a
11、nd Programming, Fourth Edition,13,Declarative Knowledge,Knowledge that something is true or falseUsually associated with declarative statementsE.g., “Dont touch that hot wire.”,Expert Systems: Principles and Programming, Fourth Edition,14,Tacit Knowledge,Unconscious knowledgeCannot be expressed by l
12、anguageE.g., knowing how to walk, breath, etc.,Expert Systems: Principles and Programming, Fourth Edition,15,Knowledge in Rule-Based Systems,Knowledge is part of a hierarchy.Knowledge refers to rules that are activated by facts or other rules.Activated rules produce new facts or conclusions.Conclusi
13、ons are the end-product of inferences when done according to formal rules.,Expert Systems: Principles and Programming, Fourth Edition,16,Expert Systems vs. Humans,Expert systems infer reaching conclusions as the end product of a chain of steps called inferencing when done according to formal rules.H
14、umans reason,Expert Systems: Principles and Programming, Fourth Edition,17,Expert Systems vs. ANS,ANS does not make inferences but searches for underlying patterns.Expert systems Draw inferences using facts Separate data from noise Transform data into information Transform information into knowledge
15、,Expert Systems: Principles and Programming, Fourth Edition,18,Metaknowledge,Metaknowledge is knowledge about knowledge and expertise.Most successful expert systems are restricted to as small a domain as possible.In an expert system, an ontology is the metaknowledge that describes everything known a
16、bout the problem domain. Wisdom is the metaknowledge of determining the best goals of life and how to obtain them.,Expert Systems: Principles and Programming, Fourth Edition,19,Figure 2.2 The Pyramid of Knowledge,Expert Systems: Principles and Programming, Fourth Edition,20,Productions,A number of k
17、nowledge-representation techniques have been devised:Rules Semantic nets Frames Scripts Logic Conceptual graphs,Expert Systems: Principles and Programming, Fourth Edition,21,Figure 2.3 Parse Tree of a Sentence,Expert Systems: Principles and Programming, Fourth Edition,22,Semantic Nets,A classic repr
18、esentation technique for propositional information Propositions a form of declarative knowledge, stating facts (true/false) Propositions are called “atoms” cannot be further subdivided. Semantic nets consist of nodes (objects, concepts, situations) and arcs (relationships between them).,Expert Syste
19、ms: Principles and Programming, Fourth Edition,23,Common Types of Links,IS-A relates an instance or individual to a generic classA-KIND-OF relates generic nodes to generic nodes,Expert Systems: Principles and Programming, Fourth Edition,24,Figure 2.4 Two Types of Nets,Expert Systems: Principles and
20、Programming, Fourth Edition,25,Figure 2.6: General Organization of a PROLOG System,Expert Systems: Principles and Programming, Fourth Edition,26,PROLOG and Semantic Nets,In PROLOG, predicate expressions consist of the predicate name, followed by zero or more arguments enclosed in parentheses, separa
21、ted by commas.Example: mother(becky,heather) means that becky is the mother of heather,Expert Systems: Principles and Programming, Fourth Edition,27,PROLOG Continued,Programs consist of facts and rules in the general form of goals. General form: p:- p1, p2, , pNp is called the rules head and the pi
22、represents the subgoals Example: spouse(x,y) :- wife(x,y)x is the spouse of y if x is the wife of y,Expert Systems: Principles and Programming, Fourth Edition,28,Object-Attribute-Value Triple,One problem with semantic nets is lack of standard definitions for link names (IS-A, AKO, etc.).The OAV trip
23、let can be used to characterize all the knowledge in a semantic net.,Expert Systems: Principles and Programming, Fourth Edition,29,Problems with Semantic Nets,To represent definitive knowledge, the link and node names must be rigorously defined.A solution to this is extensible markup language (XML)
24、and ontologies.Problems also include combinatorial explosion of searching nodes, inability to define knowledge the way logic can, and heuristic inadequacy.,Expert Systems: Principles and Programming, Fourth Edition,30,Schemata,Knowledge Structure an ordered collection of knowledge not just data. Sem
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- CHAPTER2THEREPRESENTATIONOFKNOWLEDGEPPT
