19
Artificial Intelligence Techniques Introduction to Artificial Intelligence

Artificial Intelligence Techniques Introduction to Artificial Intelligence

Embed Size (px)

Citation preview

Page 1: Artificial Intelligence Techniques Introduction to Artificial Intelligence

Artificial Intelligence Techniques

Introduction to Artificial Intelligence

Page 2: Artificial Intelligence Techniques Introduction to Artificial Intelligence

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: Artificial Intelligence Techniques Introduction to Artificial Intelligence

In the module

Search methods Evolutionary algorithm Neural networks Fuzzy Logic Planning

Page 4: Artificial Intelligence Techniques Introduction to Artificial Intelligence

Examples

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

Page 5: Artificial Intelligence Techniques Introduction to Artificial Intelligence

Assessment

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

Page 6: Artificial Intelligence Techniques Introduction to Artificial Intelligence

Multi-layered perceptron (Taken from Picton 2004)

Input layer

Hidden layer

Output layer

Page 7: Artificial Intelligence Techniques Introduction to Artificial Intelligence

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

t t + 1

mutationrecombination

reproduction

selection

Page 8: Artificial Intelligence Techniques Introduction to Artificial Intelligence

Data Structures-Linked List

Page 9: Artificial Intelligence Techniques Introduction to Artificial Intelligence

Data Structures - Stack

Page 10: Artificial Intelligence Techniques Introduction to Artificial Intelligence

Data Structures - Queue

Page 11: Artificial Intelligence Techniques Introduction to Artificial Intelligence

Summary

Introduced the module Introduced different types of AI Structures

Page 12: Artificial Intelligence Techniques Introduction to Artificial Intelligence

Task 1: Finite-state machines

Page 13: Artificial Intelligence Techniques Introduction to Artificial Intelligence

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 14: Artificial Intelligence Techniques Introduction to Artificial Intelligence

What is a state?

Page 15: Artificial Intelligence Techniques Introduction to Artificial Intelligence

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

State 2wait for the coffee to be poured

Page 16: Artificial Intelligence Techniques Introduction to Artificial Intelligence

Next-state table (Taken from Picton 2004)

next statebutton? cup? finished?

presentstate

no yes no yes no yes

0 0 11 1 22 2 0

0 0 0 0

1 1 1 12 2 2 2

Page 17: Artificial Intelligence Techniques Introduction to Artificial Intelligence

Where are they used?

Designing systems Games

Page 18: Artificial Intelligence Techniques Introduction to Artificial Intelligence

Your designing a character for a maze-based game.

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

Page 19: Artificial Intelligence Techniques Introduction to Artificial Intelligence

Further reading and references

http://en.wikipedia.org/wiki/Finite_state_machine

Picton PD (2004) CSY3011 Artificial Neural Networks, University College Northampton