Review Topics Test 1. Background Topics Definitions of Artificial Intelligence & Turing Test Physical symbol system hypothesis vs connectionist approaches.

Slides:



Advertisements
Similar presentations
First Order Logic Logic is a mathematical attempt to formalize the way we think. First-order predicate calculus was created in an attempt to mechanize.
Advertisements

CSC411Artificial Intelligence 1 Chapter 3 Structures and Strategies For Space State Search Contents Graph Theory Strategies for Space State Search Using.
Knowledge Representation. Essential to artificial intelligence are methods of representing knowledge. A number of methods have been developed, including:
An Introduction to Artificial Intelligence. Introduction Getting machines to “think”. Imitation game and the Turing test. Chinese room test. Key processes.
Inference Methods Propositional and Predicate Calculus.
Chapter 8: Advanced Pattern Matching Expert Systems: Principles and Programming, Fourth Edition.
Knowledge Representation
CSE (c) S. Tanimoto, 2008 Introduction 1 CSE 415 Introduction to Artificial Intelligence Winter 2008 Instructor: Steve Tanimoto
Chapter 11: Artificial Intelligence
Artificial Intelligence Dr. Paul Wagner Department of Computer Science University of Wisconsin – Eau Claire.
Artificial Intelligence Fall 2008 Frank Hadlock. Definitions of AI The study of representation and search through which intelligent activity can be enacted.
Invitation to Computer Science 5th Edition
Chapter 14: Artificial Intelligence Invitation to Computer Science, C++ Version, Third Edition.
What is Artificial Intelligence? AI is the effort to develop systems that can behave/act like humans. Turing Test The problem = unrestricted domains –human.
Artificial Intelligence: Definition “... the branch of computer science that is concerned with the automation of intelligent behavior.” (Luger, 2009) “The.
LeongHW, SoC, NUS (UIT2201: AI) Page 1 © Leong Hon Wai, Artificial Intelligence  Reading Materials:  Ch 14 of [SG]  Also Section Logic.
计算机科学概述 Introduction to Computer Science 陆嘉恒 中国人民大学 信息学院
Notes for Chapter 12 Logic Programming The AI War Basic Concepts of Logic Programming Prolog Review questions.
Chapter 3: Methods of Inference
Knowledge Based Systems II Fall 2009 Frank Hadlock.
Artificial Intelligence 4. Knowledge Representation Course V231 Department of Computing Imperial College, London © Simon Colton.
An Introduction to Artificial Intelligence and Knowledge Engineering N. Kasabov, Foundations of Neural Networks, Fuzzy Systems, and Knowledge Engineering,
110/19/2015CS360 AI & Robotics AI Application Areas  Neural Networks and Genetic Algorithms  These model the structure of neurons in the brain  Humans.
Early Work Masterman: 100 primitive concepts, 15,000 concepts Wilks: Natural Language system using semantic networks Shapiro: Propositional calculus based.
Artificial Intelligence Tarik Booker. What we will cover… History Artificial Intelligence as Representation and Search Languages used in Artificial Intelligence.
Logical Agents Logic Propositional Logic Summary
CS 415 – A.I. Slide Set 5. Chapter 3 Structures and Strategies for State Space Search – Predicate Calculus: provides a means of describing objects and.
Artificial Intelligence: Introduction Department of Computer Science & Engineering Indian Institute of Technology Kharagpur.
Artificial Intelligence as Representation and Search.
1 CS 385 Fall 2006 Chapter 1 AI: Early History and Applications.
The AI War LISP and Prolog Basic Concepts of Logic Programming
Automated Reasoning Early AI explored how to automated several reasoning tasks – these were solved by what we might call weak problem solving methods as.
Artificial Intelligence and Knowledge Based Systems Fall 2009 Frank Hadlock.
Automated Reasoning Early AI explored how to automate several reasoning tasks – these were solved by what we might call weak problem solving methods as.
WEEK INTRODUCTION IT440 ARTIFICIAL INTELLIGENCE.
Machine Learning A Quick look Sources: Artificial Intelligence – Russell & Norvig Artifical Intelligence - Luger By: Héctor Muñoz-Avila.
Introduction to Prolog. Outline What is Prolog? Prolog basics Prolog Demo Syntax: –Atoms and Variables –Complex Terms –Facts & Queries –Rules Examples.
KNOWLEDGE BASED SYSTEMS
Knowledge Representation
Knowledge Representation Fall 2013 COMP3710 Artificial Intelligence Computing Science Thompson Rivers University.
LeongHW, SoC, NUS (UIT2201: AI) Page 1 © Leong Hon Wai, Artificial Intelligence  Reading Materials:  Ch 14 of [SG]  Also Section Logic.
Mostly adopted from Jason Morris notes (Morris Technical Solutions)
First-Order Logic Semantics Reading: Chapter 8, , FOL Syntax and Semantics read: FOL Knowledge Engineering read: FOL.
Artificial Intelligence Knowledge Representation.
COMPUTER SYSTEM FUNDAMENTAL Genetic Computer School INTRODUCTION TO ARTIFICIAL INTELLIGENCE LESSON 11.
Definition and Technologies Knowledge Representation.
March 3, 2016Introduction to Artificial Intelligence Lecture 12: Knowledge Representation & Reasoning I 1 Back to “Serious” Topics… Knowledge Representation.
Chapter 13 Artificial Intelligence. Artificial Intelligence – Figure 13.1 The Turing Test.
Introduction to Artificial Intelligence Heshaam Faili University of Tehran.
Artificial Intelligence 4. Knowledge Representation
Knowledge Representation
Knowledge Representation Techniques
Artificial Intelligence
Intelligent Systems JESS constructs.
TECHNOLOGY GUIDE FOUR Intelligent Systems.
Review of AI Professor: Liqing Zhang
Chapter 7: Introduction to CLIPS
Knowledge Representation
Artificial Intelligence
Chapter 8: Advanced Pattern Matching
Knowledge Representation and Inference
بسم الله الرحمن الرحیم آموزش نرم افزار CLIPS
Logic for Artificial Intelligence
KNOWLEDGE REPRESENTATION
TA : Mubarakah Otbi, Duaa al Ofi , Huda al Hakami
Jess Knowledge, Influence, Behavior
Back to “Serious” Topics…
Structured Knowledge Representation
Subject : Artificial Intelligence
Computer Based Tutoring
Presentation transcript:

Review Topics Test 1

Background Topics Definitions of Artificial Intelligence & Turing Test Physical symbol system hypothesis vs connectionist approaches (neural nets, fuzzy logic, genetic algorithms) Application Areas : game playing, automated reasoning, expert systems, natural language understanding, etc.

AI Topics State Space of Problem –Graph model, States, Transitions, Problem solution –State space search : Backtrack, A * algorithm

‘Operates with 3 strings ‘ s is current path ‘ ns is states reached from current path ‘ de is states which are dead ends Private Function extend() As Boolean Dim ex As Boolean = False Dim children As New Stack(Of String) If ns.Count = 0 Then lbHistory.Items.Add("Goal unreachable ") Return ex Exit Function ElseIf nextV = CInt(goal) Then lbHistory.Items.Add("Path to goal: " & showS(s)) Return ex Exit Function End If ex = True children = NextChildren() If children.Count = 0 Then 'backtrack While s.Count > 0 And nextV = s.Peek de.Push(nextV) labels(CInt(nextV)) = "D" s.Pop() 'remove first element of s ns.Pop() 'remove first element of ns nextV = ns.Peek ' 'ns.Pop() End While s.Push(nextV) labels(nextV) = "S" Else 'next level Dim nc As Stack(Of String) = NextChildren() For Each state In nc 'save children on ns ns.Push(state) labels(state) = "N" Next nextV = ns.Peek 'get next child s.Push(nextV) labels(nextV) = "S" End If Return ex End Function

Backtrack State Space Search Start = 1 Goal = 7

Backtrack State Space Search

AI Topics Automated Reasoning –Propositional Calculus –Predicate Calculus –Rules of Inference –Unification

AI Topics Expert Systems –Database model of expert knowledge –Inference Engine –CLIPS Fact List Rules which assert, modify, or retract facts –Prolog – also has facts and rules

English Every CS major must take Data Structures. Bill is a CS major. Bill must take Data Structures. Predicate Logic (  x)( CS_Major(x)  Must_Take(x,Data_Structures) ) CS_Major(Bill) Unification is substitution process of constants or variables for variables which makes predicate calculus expressions identical – e.g. Bill/x. Must_Take(Bill,Data_Structures) ( modus ponens )

Prolog CS_Major(Bill) (clause with empty body is fact) Must_Take(X,Data_Structures) :- CS_Major(X) (rule) ?- Must_Take(Bill,Data_Structures) CLIPS (deftemplate CSMajor (slot student)) (deftemplate must_take (slot student) (slot course)) (deffacts Majors (CSMajor (student Bill))) (defrule must_take (CSMajor (student ?S)) => (printout t ?S " must take Data Structures" crlf) (assert (must_take (student ?S) (course Data_Structures))) )

AI Topics Natural Language Understanding & Semantics –Syntactic models of language –Syntax directed translation Planning and Robotics –Motion planning using state space approach Neural Nets –Neuron as binary input/output device with output depending on whether weighted sum of inputs > threshold

CLIPS program to emulate a neuron (deftemplate TGate (slot input1) (slot input2) (slot weight1) (slot weight2) (slot threshold)) (deftemplate set1 (slot input1)) (deftemplate set2 (slot input2)) (deftemplate output (slot thresholdOut)) (deffacts blankInput (set1 (input1 -1)) (set2 (input2 -1)) ) (deffacts TGateKOR (TGate (input1 -1) (input2 -1) (weight1 1) (weight2 1) (threshold 1))) Defines templates for threshold gate, for setting the inputs and for control facts to keep rules from firing until inputs are specified

CLIPS program to emulate a neuron (defrule setInput1 (set1 (input1 -1)) => (bind ?i1 (read)) (assert (set1 (input1 ?i1))) ) (defrule setInput2 (set2 (input2 -1)) => (bind ?i2 (read)) (assert (set2 (input2 ?i2))) ) (defrule applyInputs ?g <- (TGate (input1 -1) (input2 -1) (weight1 1) (weight2 1) (threshold 1)) (set1 (input1 ?i1)) (set2 (input2 ?i2)) (test (<> ?i1 -1)) (test (<> ?i2 -1)) => (retract ?g) (assert (TGate (input1 ?i1) (input2 ?i2) (weight1 1) (weight2 1) (threshold 1))) ) Defines rules to set and apply inputs

CLIPS program to emulate a neuron ( (defrule TGateZeroOut (TGate (input1 ?i1) (input2 ?i2) (weight1 ?w1) (weight2 ?w2) (threshold ?t)) (test (<> ?i1 -1)) (test (<> ?i2 -1)) (test (< (+ (* ?i1 ?w1) (* ?i2 ?w2)) ?t)) => (printout t "Output Zero" crlf) (assert (output (thresholdOut 0))) ) Exercise – Write rule for OneOut Defines rule for zero output

AI Topics Genetic Algorithms –Population individuals are candidate solutions –Fitness function determines whether individuals are selected for mating –Mating produces child solutions with operations of crossover and mutation

AI Topics Knowledge Representation –Semantic Networks Network nodes, arcs –Standardization of relations Case relations –Conceptual Dependencies Four Primitive Concept Classes –Actions, Objects, Action Modifiers, Object Modifiers –12 Primitive Action Classes – Atrans, Ptrans, etc.

AI Topics Knowledge Representation –Scripts formalize a stereotyped sequence of events Entry & termination conditions, Props, Roles, Scenes –Frames formalize stereotyped entities and actions Frame ID, Relationship to other Frames, Labeled Slots