- 10
- 0
- 约4.39千字
- 约 4页
- 2019-10-23 发布于天津
- 举报
动物识别专家系统简介
动物识别专家系统是经典的专家系统实验模型,它用产生式规则来表示知识,共15条规则,可以识别七种动物。这些规则既少又简单,可以改造他们,也可以加进新的规则,还可以用来识别其他东西的新规则来取代这些规则。
2.1、建立动物识别专家系统的规则库,并用与/或图来描述这个规则库。
规则库由15条规则组成,编写一段程序,把15条规则组成一个表直接赋值给规则库rules,规则名分别是;rule1,rule2,┉,rule15。
( rules
((rule1
(if (animal has hair)) 若动物有毛发(F1)
(then (animal is mammal))) 则动物是哺乳动物(M1)
((rule2
(if (animal gives milk)) 若动物有奶(F2)
(then (animal is mammal))) 则动物是哺乳动物(M1)
((rule3
(if (animal has feathers)) 若动物有羽毛(F9)
(then (animal is bird))) 则动物是鸟(M4)
((rule4
(if (animal flies)) 若动物会飞(F10)
(animal lays eggs)) 且生蛋(F11)
(then (animal is bird))) 则动物是鸟(M4)
((rule5
(if (animal eats meat)) 若动物吃肉类(F3)
(then (animal is carnivore))) 则动物是食肉动物(M2)
((rule6
(if (animal Raspointed teeth)) 若动物有犀利牙齿(F4)
(animal has claws) 且有爪(F5)
(animal has forword eyes)) 且眼向前方(F6)
(then (animal is carnivore))) 则动物是食肉动物(M2)
((rule7
(if (animal has mammal)) 若动物是哺乳动物(M1)
(animal has hoofs)) 且有蹄(F7)
(then (animal is ungulate))) 则动物是有蹄类动物(M3)
((rule8
(if (animal has mammal)) 若动物是哺乳动物(M1)
(animal chews cud)) 且反刍(F8)
(then (animal is ungulate))) 则动物是有蹄类动物(M3)
((rule9
(if (animal is mammal)) 若动物是哺乳动物(M1)
(animal is carnivore) 且是食肉动物(M2)
(animal has tawny color) 且有黄褐色(F12)
(animal has dark sports)) 且有暗斑点(F13)
(then (animal is cheetah))) 则动物是豹(H1)
((rule10
(if (animal is mammal)) 若动物是哺乳动物(M1)
(animal is carnivore) 且是食肉动物(M2)
(animal has tawny color) 且有黄褐色(F12)
(animal has black stripes) 且有黑色条纹(F15)
(then (animal is tiger))) 则动物是虎(H2)
((rule11
(if (animal is ungulate)) 若动物是有蹄类动物(M3)
(animal has long neck) 且有长脖子(F16)
(animal has long legs)
您可能关注的文档
- 凤凰殡仪馆及殡仪服务业务使用权对外租赁要求.doc
- 出版专业技术人员职业资格登记注册.doc
- 函数与三角练习讲评.ppt
- 创建并管理表1数据类型2表.ppt
- 初一英语预习学案第15课时.doc
- 初中历史教学中如何利用图片来加强过程与方法的训练.doc
- 初升高数学知识对接与学习方法的探究.doc
- 前台销售相关设备的配置方法.doc
- 加工贸易企业合同备案审批表.doc
- 加强党性修养增强创新发展能力.doc
- 三年级下册语文1-8单元默写通关训练(含答案)(2).docx
- 2026年及未来5年市场数据中国金属钒市场发展规划及投资战略可行性预测报告.docx
- 2026年及未来5年市场数据中国金属工艺品行业全景调研及投资可行性报告.docx
- 2026年及未来5年市场数据中国金属家具市场分析及投资战略研究预测可行性报告.docx
- 2026年及未来5年市场数据中国金属膜电阻器行业市场需求预测与投资战略规划分析报告.docx
- 2026年及未来5年市场数据中国金银花行业市场发展战略分析及投资前景专项预测报告.docx
- 2026年及未来5年市场数据中国金银花行业市场研究及投资战略预测报告.docx
- 2026年及未来5年市场数据中国抗氧化剂市场专项调查分析及投资前景预测报告.docx
- 2026年及未来5年市场数据中国救护车市场运行格局及投资战略研究报告.docx
- 2026年及未来5年市场数据中国精细化工行业发展前景预测及投资分析报告.docx
原创力文档

文档评论(0)