26
Introduction to Artificial Intelligence

Introduction to Artificial Intelligence. Artificial Intelligence AI is often divided into two basic ‘camps’ Rule-based systems (RBS) Biological

Embed Size (px)

Citation preview

Page 1: Introduction to Artificial Intelligence. Artificial Intelligence  AI is often divided into two basic ‘camps’  Rule-based systems (RBS)  Biological

Introduction to Artificial Intelligence

Page 2: Introduction to Artificial Intelligence. Artificial Intelligence  AI is often divided into two basic ‘camps’  Rule-based systems (RBS)  Biological

Artificial Intelligence

AI is often divided into two basic ‘camps’ Rule-based systems (RBS) Biological inspired, such as Artificial

neural networks (ANN) There are also search methods which

some people include. Increasingly hybridisation.

Page 3: Introduction to Artificial Intelligence. Artificial Intelligence  AI is often divided into two basic ‘camps’  Rule-based systems (RBS)  Biological

In the module

Evolutionary algorithm Neural networks Fuzzy Logic Expert Systems and Knowledge

Processing Searching Internet and AI

Page 4: Introduction to Artificial Intelligence. Artificial Intelligence  AI is often divided into two basic ‘camps’  Rule-based systems (RBS)  Biological

Examples

Focus of the applications is the early part of the module is on: Games Robotics Engineering and medicine

Page 5: Introduction to Artificial Intelligence. Artificial Intelligence  AI is often divided into two basic ‘camps’  Rule-based systems (RBS)  Biological

Assessment

Two assignments mini-projects Applying AI to tasks Early part in Java

Page 6: Introduction to Artificial Intelligence. Artificial Intelligence  AI is often divided into two basic ‘camps’  Rule-based systems (RBS)  Biological

Example Areas

Page 7: Introduction to Artificial Intelligence. Artificial Intelligence  AI is often divided into two basic ‘camps’  Rule-based systems (RBS)  Biological

Multi-layered perceptron (Taken from Picton 2004)

Input layer

Hidden layer

Output layer

Page 8: Introduction to Artificial Intelligence. Artificial Intelligence  AI is often divided into two basic ‘camps’  Rule-based systems (RBS)  Biological

The Ingredients( Taken from: EvoNet Flying Circus www2.cs.uh.edu/~ceick/ai/EC1.ppt )

t t + 1

mutationrecombination

reproduction

selection

Page 9: Introduction to Artificial Intelligence. Artificial Intelligence  AI is often divided into two basic ‘camps’  Rule-based systems (RBS)  Biological

Depth-First SearchTaken from Jones (2005)

Page 10: Introduction to Artificial Intelligence. Artificial Intelligence  AI is often divided into two basic ‘camps’  Rule-based systems (RBS)  Biological

Breadth-First SearchTaken from Jones (2005)

Page 11: Introduction to Artificial Intelligence. Artificial Intelligence  AI is often divided into two basic ‘camps’  Rule-based systems (RBS)  Biological

Knowledge Processing

Introduce types of reasoning Deterministic

Propositional logic Predicate logic

Dynamic-non-monotonic Non-deterministic

Page 12: Introduction to Artificial Intelligence. Artificial Intelligence  AI is often divided into two basic ‘camps’  Rule-based systems (RBS)  Biological

Using an Expert System

Taken from Johnson and Picton (1995)

Page 13: Introduction to Artificial Intelligence. Artificial Intelligence  AI is often divided into two basic ‘camps’  Rule-based systems (RBS)  Biological

Internet and ‘AI’

Week A – AI on internet, basic introduction to semantic web, agents.

Week B – Microformats Week C – Collective Intelligence and

searching 1 Week D – Collective Intelligence and

searching 2

Page 14: Introduction to Artificial Intelligence. Artificial Intelligence  AI is often divided into two basic ‘camps’  Rule-based systems (RBS)  Biological

Basic structures

Page 15: Introduction to Artificial Intelligence. Artificial Intelligence  AI is often divided into two basic ‘camps’  Rule-based systems (RBS)  Biological

Data Structures-Linked List

Page 16: Introduction to Artificial Intelligence. Artificial Intelligence  AI is often divided into two basic ‘camps’  Rule-based systems (RBS)  Biological

Data Structures - Stack

Page 17: Introduction to Artificial Intelligence. Artificial Intelligence  AI is often divided into two basic ‘camps’  Rule-based systems (RBS)  Biological

Data Structures - Queue

Page 18: Introduction to Artificial Intelligence. Artificial Intelligence  AI is often divided into two basic ‘camps’  Rule-based systems (RBS)  Biological

Summary

Introduced the module Introduced different types of AI Structures

Page 19: Introduction to Artificial Intelligence. Artificial Intelligence  AI is often divided into two basic ‘camps’  Rule-based systems (RBS)  Biological
Page 20: Introduction to Artificial Intelligence. Artificial Intelligence  AI is often divided into two basic ‘camps’  Rule-based systems (RBS)  Biological

Outcomes

By the end of the session you should: Understand what a state diagram is. Understand the principles of a finite state

machine Describe a simple system using a state

diagram Applications using state diagrams

Page 21: Introduction to Artificial Intelligence. Artificial Intelligence  AI is often divided into two basic ‘camps’  Rule-based systems (RBS)  Biological

What is a state?

Page 22: Introduction to Artificial Intelligence. Artificial Intelligence  AI is often divided into two basic ‘camps’  Rule-based systems (RBS)  Biological

State diagram (Taken from Picton 2004)

Button?

Cup?

End?

yes

no

yes

yes

State 0wait for thebutton to bepressed

State 1wait for a cup tobe placed

Page 23: Introduction to Artificial Intelligence. Artificial Intelligence  AI is often divided into two basic ‘camps’  Rule-based systems (RBS)  Biological

Next-state table (Taken from Picton 2004)

Page 24: Introduction to Artificial Intelligence. Artificial Intelligence  AI is often divided into two basic ‘camps’  Rule-based systems (RBS)  Biological

Where are they used?

Designing systems Games

Page 25: Introduction to Artificial Intelligence. Artificial Intelligence  AI is often divided into two basic ‘camps’  Rule-based systems (RBS)  Biological

Your designing a character for a maze-based game.

You must design a state diagram and table for the character.

Page 26: Introduction to Artificial Intelligence. Artificial Intelligence  AI is often divided into two basic ‘camps’  Rule-based systems (RBS)  Biological

Further reading and references http://en.wikipedia.org/wiki/Finite_sta

te_machine Picton PD (2004) CSY3011 Artificial

Neural Networks, University College Northampton