Rule Systems. CMPS 146, Fall Josh McCoy

Similar documents
CSC 550: Introduction to Artificial Intelligence. Fall 2004

A Historical Example One of the most famous problems in graph theory is the bridges of Konigsberg. The Real Koningsberg

universe: How does a human mind work? Can Some accept that machines can do things that

[McDermott.J 80] [Grinberg 80] [Director& Parker& Siewiorek& Thomas Engineering Design in General-

Knowledge-based expert systems : a brief bibliography


Lecture 1 Introduction to knowledge-base intelligent systems. Dark Ages to knowledge-based systems Summary

AND ENGINEERING SYSTEMS

Overview. Pre AI developments. Birth of AI, early successes. Overwhelming optimism underwhelming results

Intro to Artificial Intelligence Lecture 1. Ahmed Sallam { }

AI in Business Enterprises

KNOWLEDGE-BASED CONTROL AND ENGINEERING SYSTEMS

Overview of Expert Systems

Lecture 1 What is AI?

This tutorial is prepared for the students at beginner level who aspire to learn Artificial Intelligence.

CSE 473 Artificial Intelligence (AI) Outline

: Principles of Automated Reasoning and Decision Making Midterm

EPD ENGINEERING PRODUCT DEVELOPMENT

SIMULATION SYSTEMS FOR COGNITIVE PSYCHOLOGY

Unit 7: Early AI hits a brick wall

Rule-Based Expert Systems

Verification of Autonomy Software

CS360: AI & Robotics. TTh 9:25 am - 10:40 am. Shereen Khoja 8/29/03 CS360 AI & Robotics 1

What is AI? AI is the reproduction of human reasoning and intelligent behavior by computational methods. an attempt of. Intelligent behavior Computer

The Intelligent Computer. Winston, Chapter 1

Automatically Generating Puzzle Problems with Varying Complexity

ICHEME SYMPOSIUM SERIES NO. 124 A FEASIBILITY STUDY INTO THE USE OF EXPERT SYSTEMS FOR EXPLOSION RELIEF VENT DESIGN

Ar#ficial)Intelligence!!

Unit 12: Artificial Intelligence CS 101, Fall 2018

The Transformative Power of Technology

Conversion Masters in IT (MIT) AI as Representation and Search. (Representation and Search Strategies) Lecture 002. Sandro Spina

DESIGN & CREATIVE TECHNOLOGIES FINAL EXAM TIMETABLE SEMESTER

Spring 06 Assignment 2: Constraint Satisfaction Problems

Journal Title ISSN 5. MIS QUARTERLY BRIEFINGS IN BIOINFORMATICS

MINE 432 Industrial Automation and Robotics

Theorem Proving and Model Checking

Neuro-Fuzzy and Soft Computing: Fuzzy Sets. Chapter 1 of Neuro-Fuzzy and Soft Computing by Jang, Sun and Mizutani

COMP9414: Artificial Intelligence Problem Solving and Search

Math 1324 Finite Mathematics Sections 8.2 and 8.3 Conditional Probability, Independent Events, and Bayes Theorem

The Impact of Artificial Intelligence. By: Steven Williamson

IED Detailed Outline. Unit 1 Design Process Time Days: 16 days. An engineering design process involves a characteristic set of practices and steps.

Wissensverarbeitung. - Introduction -

16-17 Fall Undergraduate Final Exams Schedule

How Preferred Networks has Defined Their Values: The Promise and Challenge of Deep Learning in Domains of Physical Control

Artificial Intelligence: The Technology of Expert Systems

Tutorial: Constraint-Based Local Search

Introduction to AI. Chapter 1. TB Artificial Intelligence 1/ 23

Monte Carlo Tree Search

Introduction & Statement of the Problem

15-388/688 - Practical Data Science: Visualization and Data Exploration. J. Zico Kolter Carnegie Mellon University Spring 2018

INTRODUCTION. a complex system, that using new information technologies (software & hardware) combined

Avinashilingam Institute for Home Science and Higher Education for Women Coimbatore

Interpolation Error in Waveform Table Lookup

ayteachers.com/store/ Worksheetjunkie

6.034 Quiz 1 October 13, 2005

Spring 06 Assignment 2: Constraint Satisfaction Problems

AUTOMATIC PROGRAMMING

Introduction. Artificial Intelligence. Topic 1. What is AI? Contributions to AI History of AI Modern AI. Reading: Russel and Norvig, Chapter 1

UNIT 13A AI: Games & Search Strategies. Announcements

Fundamentals of Industrial Control

Paresh Virparia. Department of Computer Science & Applications, Sardar Patel University. India.

The Semantic Web Story 2004

6. Rule based expert systems. The production system

Tic-tac-toe. Lars-Henrik Eriksson. Functional Programming 1. Original presentation by Tjark Weber. Lars-Henrik Eriksson (UU) Tic-tac-toe 1 / 23

Background. Game Theory and Nim. The Game of Nim. Game is Finite 1/27/2011

MEASURING PRIVACY RISK IN ONLINE SOCIAL NETWORKS. Justin Becker, Hao Chen UC Davis May 2009

Intelligent Agents. Introduction. Ute Schmid Practice: Emanuel Kitzelmann. Cognitive Systems, Applied Computer Science, University of Bamberg

SAKARYA UNIVERSITY INDUSTRIAL ENGINEERING. Artificial Intelligence. HW5: Brief History of Artificial Intelligence

UNIT 13A AI: Games & Search Strategies

Graduate in Food Engineering. Program Educational Objectives and Student Outcomes

CS 188: Artificial Intelligence Spring 2007

ADVERSARIAL SEARCH. Chapter 5

Nandha Engineering College (Autonomous) Erode Examination -Sep 2018 Department Wise Time Table

Teacher Workbooks. Mathematics Series Multiplication Starter Pack Volume Teachnology Publishing Company A Division of Teachnology, Inc.

AUTOMATED MALARIA PARASITE DETECTION BASED ON IMAGE PROCESSING PROJECT REFERENCE NO.: 38S1511

COMPUTATONAL INTELLIGENCE

Vision Defect Identification System (VDIS) using Knowledge Base and Image Processing Framework

History and Philosophical Underpinnings

Quantitative Reasoning: It s Not Just for Scientists & Economists Anymore

ARTIFICIAL INTELLIGENCE

Artificial Intelligence CS365. Amitabha Mukerjee

CSC 110 Lab 4 Algorithms using Functions. Names:

CMPUT 657: Heuristic Search

Adverserial Search Chapter 5 minmax algorithm alpha-beta pruning TDDC17. Problems. Why Board Games?

S u r v e y i n g f o r M i n i n g E n g i n e e r i n g ( 1 1 B ) 30S/30E/30M

A Tic Tac Toe Learning Machine Involving the Automatic Generation and Application of Heuristics

Adversary Search. Ref: Chapter 5

SIUC. College of Engineering

by Teresa Evans Copyright 2005 Teresa Evans. All rights reserved.

2 person perfect information

Artificial Intelligence

Computer Science as a Discipline

Math Games Ideas. For School or Home Education. by Teresa Evans. Copyright 2005 Teresa Evans. All rights reserved.

Appendix B: Example Research-Activity Description

COMP219: Artificial Intelligence. Lecture 2: AI Problems and Applications

A computer model of chess memory 1

Testing Digital Systems II. Problem: Fault Diagnosis

CS5331: Concepts in Artificial Intelligence & Machine Learning systems. Rattikorn Hewett

The Nature of Informatics

For our EC331 project we successfully designed and implemented a PIC based Tic-Tac-Toe game using the PIC16874.

Transcription:

Rule Systems Josh McCoy

Readings Reading Rules Systems: 427-459

What does a Rules System Look Like?

What does a Rules System Look Like?

What does a Rules System Look Like? Coriosolite staters (coins) http://pasttimesandpresnttensions.blogspot.com/2013/10/an-example-of-transdisciplinarity_3.html

Dendral First expert system Project began at Stanford in mid 1960's, and is still being used. Domain: Organic chemistry - mass spectrometry Task: identify molecular structure of unknown compounds from mass spectra data Input: Histogram giving mass number/intensity pairs Output: Description of structure of the compound Architecture: plan-generate-test with constrained heuristic search Tools: production rules implemented in Lisp Results: "Discovery" of knowledge engineering. Many published results. Brian Ross - http://www.cosc.brocku.ca/oferings/4p79/ expressiveintelligencestudio

MACSYMA Developed at MIT since 1968 onwards Domain: high-performance symbolic math (algebra, calculus, differential equations,...) Task: carry out complex mathematical derivations Input: formulae and commands (interactive) Output: Solutions to tough problems Method: Brute force (expert techniques are encoded as algorithm) Architecture: programmed in Lisp (300,000 lines of code) Results: Widely used, powerful system. Newest version: Maxima - Free! Open source. - works on Windows, linux, MacOS - maxima.sourceforge.net Brian Ross - http://www.cosc.brocku.ca/oferings/4p79/

INTERNIST/CADUCEUS Developed at U of Pittsburgh in early 1970's thru mid 80 s Domain: diagnostic aid for all of internal medicine Task: medical diagnosis given interactive input Input: Answers to interactive queries Output: ordered set of diagnoses Architecture: forward chaining with "scores" for diseases Tools: programmed in Lisp Results: ambitious project; inspired other systems Brian Ross - http://www.cosc.brocku.ca/oferings/4p79/

Prospector Developed at SRI international in late 1970's Domain: exploratory geology Task: evaluate geological sites Input: geological survey data Output: maps and site evaluations Architecture: rule-like semantic net with uncertainty Tools: programmed in LISP, and is a descendant of MYCIN Results: In one blind test, the program identified a previously undiscovered site, thus showing commercial viability of expert systems. Brian Ross - http://www.cosc.brocku.ca/oferings/4p79/

Puf Developed at Stanford in 1979 Domain: Diagnosis of obstructive airway diseases using MYCIN's inference engine and a new knowledge base Task: Take data from instruments and dialog, and diagnose type and severity of disease Input: instruments, queries Output: Written report for physician to review and annotate Architecture: uncertainty rule-based, exhaustive backward chaining with Tools: EMYCIN (Empty MYCIN) Results: Reports correct 86% of the time. A 55-rule system is in daily use, running in Basic! Brian Ross - http://www.cosc.brocku.ca/oferings/4p79/

XCON Originally called R1, developed at Carnegie Mellon and DEC in late 70's Domain: configure computer hardware Task: configure VAX systems by projecting the need for subassemblies given a high-level description of the system Input: Vax system description Output: list of parts, accessories, and a plan for assembly Architecture: forward-chained, rule-based, with almost no backtracking Tools: OPS5, a production system tool Results: Used by DEC and performed better than previous experts (since fired) - by 1986, processed total of 80,000 orders with 95-98% accuracy - saved DEC $25 million a year Brian Ross - http://www.cosc.brocku.ca/oferings/4p79/

Winter Cometh http://gameofthrones.wikia.com/wiki/the_wall?fle=the_wall.jpg

Meanwhile, in games... Simple Rules, Fast Execution Captain s health Johnson s health Sale s health is Whisker s health Radio is held by is 51 is 38 42 is 15 Whisker

Meanwahile, in games... Shared database of facts Captain s health Johnson s health Sale s health is Whisker s health Radio is held by is 51 is 38 42 is 15 Whisker

Meanwahile, in games... Little to no inference. Always forward chaining. Emphasis on speed. Overall, K.I.S.S. http://www.teamqualitypro.com/software-metrics/dont-go-overboard-keep-it-simple-stupid/

Meanwahile, in games... Little to no inference. Always forward chaining. Emphasis on speed. Overall, K.I.S.S. http://www.kissonline.com/

Rule Arbitration First Applicable Least Recently Used Random Rule Most Specifc Condition Dynamic Priority how important am I now?

Unifcation Friends(Doug, x) and HighRomance(x, Buzz) then Jealous(Doug, Buzz) Rule is checked against set of all possible character bindings. Rule is true for all bindings that match.

DIY: Author Rules Tic-Tac-Toe Database: (row col me them nothing) For each row Rule example: (2 2 them) (1 2 nothing) then (1 2 me)

DIY: Author Rules Orc vs Elf Orc - Health: 120, max energy: 9 Block: 1 energy, take5 damage if attacked Chop: 2 energy, deal 10 Damage Smash Chest 6 energy, deal 40 damage Elf- Health: 100, max energy 12 Parry: 1 energy, take5 damage if attacked Slice: 2 energy, deal 10 damage Blade Dance: 6 energy, deal 40 damage +2 energy at end of turn Start with max energy.