introduction to artificial intelligence jerry b. weinberg, associate professor department of...

11
Introduction to Introduction to Artificial Intelligence Artificial Intelligence Jerry B. Weinberg, Associate Professor Department of Computer Science

Upload: kerry-cooper

Post on 13-Dec-2015

244 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Introduction to Artificial Intelligence Jerry B. Weinberg, Associate Professor Department of Computer Science

Introduction to Artificial Introduction to Artificial IntelligenceIntelligence

Jerry B. Weinberg, Associate Professor

Department of Computer Science

Page 2: Introduction to Artificial Intelligence Jerry B. Weinberg, Associate Professor Department of Computer Science

What is a Computer?

• Takes input– Keyboard, mouse, camera, microphones

• Transforms it through a set of instructions called a “program” (software)– Central Processing Unit (CPU)

• Creates output– Monitor, speakers

Page 3: Introduction to Artificial Intelligence Jerry B. Weinberg, Associate Professor Department of Computer Science

What is a Computer?• ALL programs are made up of only 3 kinds of instructions!

1. Sequential InstructionsProgram to make chocolate mild

First put milk in a glassnext add two tablespoons of Nestle Quickstirdrink

2. Conditional InstructionIf (you are out of milk)

then go to the store and buy a gallon of milk

3. RepetitionWhile you are still thirsty

Make chocolate milk

Page 4: Introduction to Artificial Intelligence Jerry B. Weinberg, Associate Professor Department of Computer Science

Artificial Intelligence

• Getting computers to do things that humans do• Our Brains are process information like computers

– Input: eyes, ears, skin, tongue, nose – Transformation: the brain is our CPU– Output: hands, feet, mouth

Page 5: Introduction to Artificial Intelligence Jerry B. Weinberg, Associate Professor Department of Computer Science

Robots are Computers with a Body• A mobile robot is a computer with wheels

(or legs or treads or other)

Page 6: Introduction to Artificial Intelligence Jerry B. Weinberg, Associate Professor Department of Computer Science

Human Intelligence versus

Insect Intelligence

• Thinking versus Reacting– People think, insects react

Page 7: Introduction to Artificial Intelligence Jerry B. Weinberg, Associate Professor Department of Computer Science

Sensing: Feel

Page 8: Introduction to Artificial Intelligence Jerry B. Weinberg, Associate Professor Department of Computer Science

Sensing: sight

Page 9: Introduction to Artificial Intelligence Jerry B. Weinberg, Associate Professor Department of Computer Science

Sensing: sight

Page 10: Introduction to Artificial Intelligence Jerry B. Weinberg, Associate Professor Department of Computer Science

Meet TazThe Tour Guide

Robot

Page 11: Introduction to Artificial Intelligence Jerry B. Weinberg, Associate Professor Department of Computer Science

How does Taz figure out where it is?

• Has a map in its memory.

• Measures how far it travels to get a rough idea of where it is at on the map.

• Uses its laser and sonar readings to recognize places on its map to get an exact location