电子文档交易市场
安卓APP | ios版本
电子文档交易市场
安卓APP | ios版本

人工智能的幻灯片ch8-fol

31页
  • 卖家[上传人]:F****n
  • 文档编号:88139325
  • 上传时间:2019-04-19
  • 文档格式:PPT
  • 文档大小:291.50KB
  • / 31 举报 版权申诉 马上下载
  • 文本预览
  • 下载提示
  • 常见问题
    • 1、X. First order logic (FOL),Autumn 2012 Instructor: Wang Xiaolong Harbin Institute of Technology, Shenzhen Graduate School Intelligent Computation Research Center (HITSGS ICRC),Outline,Why FOL? Syntax and semantics of FOL Using FOL Wumpus world in FOL Knowledge engineering in FOL,Pros and cons of propositional logic,Propositional logic is declarative Propositional logic allows partial/disjunctive/negated information (unlike most data structures and databases) Propositional logic is compositional:

      2、 meaning of B1,1 P1,2 is derived from meaning of B1,1 and of P1,2 Meaning in propositional logic is context-independent (unlike natural language, where meaning depends on context) Propositional logic has very limited expressive power (unlike natural language) E.g., cannot say “pits cause breezes in adjacent squares“ except by writing one sentence for each square,First-order logic,Whereas propositional logic assumes the world contains facts First-order logic (like natural language) assumes a car

      3、contains Objects: people, houses, numbers, colors, baseball games, wars, Relations: red, round, prime, brother of, bigger than, part of, comes between, Functions: father of, best friend, one more than, plus, ,Examples:,“One plus two equals three” Objects: Relations: Properties: Functions: “Squares neighboring the Wumpus are smelly” Objects: Relations: Properties: Functions:,Examples:,“One plus two equals three” Objects: one, two, three, one plus two Relations: equals Properties: - Functions: plu

      4、s (“one plus two” is the name of the object obtained by applying function plus to one and two; three is another name for this object) “Squares neighboring the Wumpus are smelly” Objects: Wumpus, square Relations: neighboring Properties: smelly Functions: -,Semantics,there is a correspondence between functions, which return values predicates, which are true or false Function: father_of(Mary) = Bill Predicate: father_of(Mary, Bill),Syntax of FOL: Basic elements,Constants KingJohn, 2, HIT,. Predica

      5、tes Brother, ,. Functions Sqrt, LeftLegOf,. Variables x, y, a, b,. Connectives , , , , Equality = Quantifiers , ,Atomic sentences,Atomic sentence = predicate (term1,.,termn) or term1 = term2 Term = function (term1,.,termn) or constant or variable E.g., Brother(KingJohn,RichardTheLionheart) (Length(LeftLegOf(Richard), Length(LeftLegOf(KingJohn),Complex sentences,Complex sentences are made from atomic sentences using connectives S, S1 S2, S1 S2, S1 S2, S1 S2, E.g. Sibling(KingJohn,Richard) Sibling

      6、(Richard,KingJohn) (1,2) (1,2) (1,2) (1,2),Truth in first-order logic,Sentences are true with respect to a model and an interpretation Model contains objects (domain elements) and relations among them Interpretation specifies referents for constant symbols objects predicate symbols relations function symbols functional relations An atomic sentence predicate(term1,.,termn) is true iff the objects referred to by term1,.,termn are in the relation referred to by predicate,Models for FOL: Example,Uni

      7、versal quantification, Everyone at HIT is smart: x At(x,HIT) Smart(x) x P is true in a model m iff P is true with x being each possible object in the model Roughly speaking, equivalent to the conjunction of instantiations of P At(KingJohn, HIT) Smart(KingJohn) At(Richard, HIT) Smart(Richard) At(HIT, HIT) Smart(HIT) .,A common mistake to avoid,Typically, is the main connective with Common mistake: using as the main connective with : x At(x, HIT) Smart(x) means “Everyone is at HIT and everyone is

      8、smart”,Existential quantification, Someone at HIT is smart: x At(x, HIT) Smart(x) x P is true in a model m iff P is true with x being some possible object in the model Roughly speaking, equivalent to the disjunction of instantiations of P At(KingJohn, HIT) Smart(KingJohn) At(Richard, HIT) Smart(Richard) At(HIT, HIT) Smart(HIT) .,Another common mistake to avoid,Typically, is the main connective with Common mistake: using as the main connective with : x At(x, HIT) Smart(x) is true if there is anyo

      9、ne who is not at HIT!,Properties of quantifiers,x y is the same as y x x y is the same as y x x y is not the same as y x x y Loves(x,y) “There is a person who loves everyone in the world” y x Loves(x,y) “Everyone in the world is loved by at least one person” Quantifier duality: each can be expressed using the other x Likes(x,IceCream) x Likes(x,IceCream) x Likes(x,Broccoli) x Likes(x,Broccoli),Equality,term1 = term2 is true under a given interpretation if and only if term1 and term2 refer to the same object E.g., definition of Sibling in terms of Parent: x,y Sibling(x,y) (x = y) m,f (m = f) Parent(m,x) Parent(f,x) Parent(m,y) Parent(f,y),Using FOL,The kinship domain: Brothers are siblings x,y Brother(x,y) Sibling(x,y) Ones mother is ones female parent m,c Mother(c) = m (Female(m) Parent(m,c) “Sibling” is symmetric

      《人工智能的幻灯片ch8-fol》由会员F****n分享,可在线阅读,更多相关《人工智能的幻灯片ch8-fol》请在金锄头文库上搜索。

      点击阅读更多内容
    最新标签
    信息化课堂中的合作学习结业作业七年级语文 发车时刻表 长途客运 入党志愿书填写模板精品 庆祝建党101周年多体裁诗歌朗诵素材汇编10篇唯一微庆祝 智能家居系统本科论文 心得感悟 雁楠中学 20230513224122 2022 公安主题党日 部编版四年级第三单元综合性学习课件 机关事务中心2022年全面依法治区工作总结及来年工作安排 入党积极分子自我推荐 世界水日ppt 关于构建更高水平的全民健身公共服务体系的意见 空气单元分析 哈里德课件 2022年乡村振兴驻村工作计划 空气教材分析 五年级下册科学教材分析 退役军人事务局季度工作总结 集装箱房合同 2021年财务报表 2022年继续教育公需课 2022年公需课 2022年日历每月一张 名词性从句在写作中的应用 局域网技术与局域网组建 施工网格 薪资体系 运维实施方案 硫酸安全技术 柔韧训练 既有居住建筑节能改造技术规程 建筑工地疫情防控 大型工程技术风险 磷酸二氢钾 2022年小学三年级语文下册教学总结例文 少儿美术-小花 2022年环保倡议书模板六篇 2022年监理辞职报告精选 2022年畅想未来记叙文精品 企业信息化建设与管理课程实验指导书范本 草房子读后感-第1篇 小数乘整数教学PPT课件人教版五年级数学上册 2022年教师个人工作计划范本-工作计划 国学小名士经典诵读电视大赛观后感诵读经典传承美德 医疗质量管理制度 2 2022年小学体育教师学期工作总结
    关于金锄头网 - 版权申诉 - 免责声明 - 诚邀英才 - 联系我们
    手机版 | 川公网安备 51140202000112号 | 经营许可证(蜀ICP备13022795号)
    ©2008-2016 by Sichuan Goldhoe Inc. All Rights Reserved.