Docsity

Lecture Notes on Artificial Intelligence | CAP 5635, Study notes of Computer Science

Partial preview of the text

Download Lecture Notes on Artificial Intelligence | CAP 5635 and more Study notes Computer Science in PDF only on Docsity!

CAP 5635

and

CAP 4621

Artificial

Intelligence

Lecture Notes

© 1999, Douglas D. Dankel II

Ask questions

Do outside reading

Critically examine what is discussed

This course will examine the field of artificial Intelligence

The approach used:

What is Intelligence?

“The faculty of understanding: capacity to know or apprehend: intellect, reason”

“The available ability as measured by intelligence tests or by other social criteria to use one’s existing knowledge to meet new situations and to solve new problems, to learn, to foresee problems, to use symbols or relationships, to think abstractly: ability to perceive one’s environment, to deal with it symbolically, to deal with it effectively, to adjust to it, to work towards a goal: the degree of one’s alertness, awareness, or acuity: ability to use with awareness the mechanism of reasoning whether conceived as a unified intellectual factor or as the aggregate of many intellectual factors or abilities, as intuitive or as analytic, as organismic, biological, physiological, psychological, or social in origin and nature”

Webster’s 3rd New International Dictionary, Unabridged, 1976

This continues to hold no matter what people are involved

then

If A can distinguish with a significance of only 50% which is the machine - and -

Questions raised:

Some Anticipated Objections

Thinking is a function of the soul. Only humans have souls, so machines and animals cannot think.

Machines must not only perform a task -- they must also know that it has. It must have emotions.

Machines cannot originate actions. They can only do whatever we know how to order them to do.

Sure you can get a machine to do “Y” but you can never get it to be kind, to fall in love, to tell right from wrong, to enjoy apple pie, to do something really new, ...

Theological

Consciousness

Lady Lovelace’s Objection

Various Disabilities

The study and attempt to understand the principles of intelligence

An attempt to extend the problem solving capabilities of computers

What is Artificial Intelligence?

Psychology Philosophy Linguistics Education

Mathematics Logic Information Theory Software Engineering Operation Research Decision Theory

Two Standard Approaches

Design computer programs, using engineering techniques, to solve problems. These are not required to perform, internally, as we would in solving the same task

Design computer programs to imitate the way the human mind would solve the problem

Engineering

Psychology

Course Outline

Problem Solving

What is a problem? Problem solving steps Proper Attitudes

A. I. Languages

Lisp Prolog

Problem Representations

State-Space Problem-Reduction

Course Outline (cont.)

Search

Blind Heuristic

Knowledge Representation

Logic Production Systems Semantic Networks Frames Scripts

Application Areas

Vision Natural Language Learning

Problem Solving

“Any situation in which a gap is perceived to exist between what is and what should be”

Frequently this gap is dynamic with either the starting state or the ending state changing

What is a problem?

Problems Differ in Degree of Structure

1. Well-structured - - 2. Semi-structured - - 3. Ill-structured - - -

We can also view a problem using a model

A model is an abstract representation of reality

Present State

Goal State

We can also view a problem using a model

A model is an abstract representation of reality

Present State

Goal State

Preconditions to solving a problem

  1. There must be an awareness of the existence of a gap
  2. There must be a perceived need to solve the problem
  3. There must be some way to measure the size of the gap
  4. The skills and resources needed to solve the problem must be present or at least easily obtainable

Problem Solving Steps

3. Select the “best”

  • Reduce the pool of ideas to one or two that will likely solve the problem
  • Does the plan cover all of the data?
  • Can the plan be implemented?
  • Is it effective?
  • Is it efficient?

4. Implement the plan

  • Carry out the plan one step at a time
  • Can you see that the step is correct?
  • Can you prove that it is correct?
  • Can you check the results?
  • Can you derive the results differently?
  • Can you use the results or the method for some other problem?

5. Evaluate the plan (look back)

Develop good attitudes

  1. Create a good solution rather than just obtaining any solution
  2. Do not assume that one approach is the best approach
  3. Don’t rush to a judgment -- try to get the whole picture before developing any solution ideas
  4. Form a good initial representation of the problem -- this is a crucial step!!
  5. Ask the appropriate questions
  6. Explore all possible alternatives

Why do we want to solve complex problems?

  1. To test psychological theories of human performance (Parry)
  2. To represent and explore computer models of human reasoning (SAM and PAM)
  3. To enable people to understand computer reasoning (Mycin)
  4. To determine what knowledge we can glean from people (GPS and Cognitive Psychology)