版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
1、Chapter 5 Knowledge Representation,Xiu-jun GONG (Ph. D) School of Computer Science and Technology, Tianjin University ,Outline,Knowledge C is a proposition O = “Its October” ; O is a proposition If O then C ;if its October then its cold outside,Predicate Logic,Same connectives as propositional logic
2、 Propositions have structure: Predicate/Function + arguments. R, 2 ; Terms. Terms are not individuals, not propositions Red(R), (Red R) ; A proposition, written in two ways (southOf UnicornCafe UniHall) ;a proposition (+ 2 2) ; Term, since the function + ranges over numbers Quantifiers enable genera
3、l axioms to be written (forall ?x (iff (Triangle ?x) (and (polygon ?x) (numberOfSides ?x 3),Easy to inference,Logic as a KR language,advantages With a semantics Expressiveness Disadvantages Inefficient Undecidability Unable to express procedural knowledge Unable to do default reasoning No abduction,
4、Production System (1),Production rules are one of the most popular and widely used knowledge representation languages Production rule system consists of three components working memory contains the information that the system has gained about the problem thus far. rule base contains information that
5、 applies to all the problems that the system may be asked to solve. interpreter solves the control problem, i.e., decide which rule to execute on each selection-execute cycle. Used both for KR and Problem solving system,Production System (2),Advantages: Naturalness of expression Modularity Restricte
6、d syntax Ability to Represent Uncertain Knowledge Disadvantages Inefficient Less expressive,Semantic Nets,Intuition base: An important feature of human memory is the high number of connections or associations between the different pieces of information contained in it. There are two types of primiti
7、ve Nodes correspond to objects, or classes of objects, in the world Links are unidirectional connections between nodes and correspond to relationships between these objects,Semantic Nets,Major problem with semantic nets is that although the name of this knowledge representation language is semantic
8、nets, there is not, ironically, clear semantics of the various network representations. For the above example, it can be interpreted as the representation of a specific bird named Tweety, or it can be interpreted as a representation of some relationship between Tweety, birds and animals.,Common used
9、 links,IS-A PART-OF MODIFILES: on, down, up, bottom, moveto, Link types are set up for specific domain knowledge,Examples of Semantic Net (1),Represent a table,Analysis of Semantic Net,For a particular Domain, you make up a set of link-types create a set of nodes connect them together ascribe meanin
10、g Write Programs to manipulate the knowledge Lisp CL,Examples of Semantic Net (2),My car is tan and Johns car is green,Inference in a Semantic Net (1),Inheritance the is-a and instance-of representation provide a mechanism to implement this. Inheritance also provides a means of dealing with default
11、reasoning,A,C,A,B,C,IS-A,IS-A,IS-A,clyde,bird,bird,fly,clyde,fly,IS-A,can,can,Inference in a Semantic Net (2),Intersection search The notion that spreading activation out of two nodes and finding their intersection finds relationships among objects. Many advantages including entity-based organizatio
12、n and fast parallel implementation. However very structured questions need highly structured networks,Inference in a Semantic Net (3),car,car1,tan,car2,green,I,john,I,car1,what?,car,is-a,is-a,is-a,owner,owner,owner,color,color,color,What color is the car1?,tan,Frame representation,Frame: a knowledge
13、 representation technique which attempts to organize concepts into a form which exploits interrelatioships and common beliefs frame-based KR is analogous to object-oriented programming; the difference is the entities encoded A frame is similar to a record data structure or database record: Frame has
14、 slot names and slot fillers, and usually arranged in a hierarchy,Structure of frame (1),Frame name slot: value , value, . . . slot: facet: value, value, facet: value, value, ,Frame: printer superset: office-machine subset: laser-printer, ink-jet-printer energy-source: wall-outlet maker: Epson date:
15、 1-April-2003,Structure of frame (2),Frames often allowed slots to contain procedures. “if-needed” procedures, run when value needed if-added” procedures, run when a value is added (to update rest of data, or inform user).,Class and instance frames,(frame) instance: representing” lowest-level” objec
16、t; a single object or entity (frame) class: describes different frames (either instances or classes) every instance has an “is-a” link, pointing to its class possibly more than one “is-a”,Example of frames (1),Frame Name:,Properties:,Bird,Colour,Wings,Flies,Unknown,2,True,Frame Name:,Class:,Properti
17、es:,Tweety,Bird,Colour,Wings,Flies,Yellow,1,False,Class frame,Instance frame,Example of frames (2),Capability of frame representation,Advantages Domain knowledge model reflected directly Support default reasoning Efficient Support procedural knowledge Disadvantages Lack of semantics Expressive limit
18、ations,Scripts for KR,Rather similar to frames: uses inheritance and slots; describes stereotypical knowledge, (i.e. if the system isnt told some detail of whats going on, it assumes the default information is true), but concerned with events. Somewhat out of the mainstream of expert systems work. More a development of natural-language-processing research.,Definition of scripts,A script is a remembered precedent, consisting of tightly coupled, expectation-suggesting primitive-action and state-change frames Winston, 1992 A script is a structured representation describing a
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 四川省城市更新工作指引(圖文解讀)
- 醫(yī)患關(guān)系與顧客關(guān)系
- 江蘇餐廳安全生產(chǎn)講解
- 蘭溪公務(wù)員考試試題及答案
- 人教版(2026)八年級下冊英語Unit 4 Section B 1a-4c寒假預(yù)習(xí)講義(含練習(xí)題及答案)
- 駕校文字考試題及答案
- 規(guī)則采樣考試題及答案
- 飛機(jī)訓(xùn)練考試題及答案
- 地理地圖考試題及答案
- 四川省遂寧市射洪縣九年級2024-2025學(xué)年(上)期末化學(xué)試卷(含答案)
- 2025-2030中國器官芯片行業(yè)市場發(fā)展趨勢與前景展望戰(zhàn)略研究報告
- 醫(yī)院醫(yī)療保險費用審核制度
- 村衛(wèi)生室醫(yī)療質(zhì)量相關(guān)管理制度
- 非遺傳承人激勵機(jī)制探索-深度研究
- 中小學(xué)校園中匹克球推廣策略與實踐研究
- 2024年世界職業(yè)院校技能大賽高職組“體育活動設(shè)計與實施組”賽項考試題庫(含答案)
- 高中地理選擇性必修一(湘教版)期末檢測卷02(原卷版)
- 滬教版九年級化學(xué)上冊(上海版)全套講義
- 三角函數(shù)圖像變化課件
- 《內(nèi)存條知識培訓(xùn)》課件
評論
0/150
提交評論