MIS UNIT 5b

Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

1/13/2022

UNIT-V

Artificial Intelligence (AI),


Applications of Artificial Intelligence:
Expert systems

Overview of Artificial Intelligence


• Artificial intelligence (AI)
– the ability of computer systems to mimic or
duplicate the functions of the human
brain/human intelligence.
• Artificial intelligence systems
– The people, procedures, hardware, software, data,
and knowledge needed to develop computer
systems and machines that demonstrate the
characteristics of intelligence
1/13/2022

Overview of Artificial Intelligence


• Intelligent behaviour
– Learn from experience
– Apply knowledge acquired from experience
– Handle complex situations
– Solve problems when important information is missing
– Determine what is important
– React quickly and correctly to a new situation
– Understand visual images
– Process and manipulate symbols
– Be creative and imaginative
– Use heuristics

Major Branches of AI
– Perceptive system
• A system that approximates the way a human sees, hears, and
feels objects
– Vision system
• Capture, store, and manipulate visual images and pictures
– Robotics
• Mechanical and computer devices that perform tedious tasks with
high precision
– Expert system
• Stores knowledge and makes inferences
1/13/2022

Major Branches of AI
– Learning system
• Computer changes how it functions or reacts to situations based
on feedback
– Natural language processing
• Computers understand and react to statements and commands
made in a “natural” language, such as English
– Neural network
• Computer system that can act like or simulate the functioning of
the human brain

Artificial
intelligence

Vision Learning
systems systems

Robotics
Expert systems

Neural networks
Natural language
processing
1/13/2022

Artificial Intelligence

The branch of computer science concerned with making computers


behave like humans. The term was coined in 1956 by John McCarthy
at the Massachusetts Institute of Technology. Artificial intelligence
includes
– games playing: programming computers to play games such as
chess and checkers
– expert systems : programming computers to make decisions in real-life
situations (for example, some expert systems help doctors diagnose
diseases based on symptoms)
– natural language : programming computers to understand natural
human languages

Artificial Intelligence

– neural networks : Systems that simulate intelligence by attempting


to reproduce the types of physical connections that occur in animal
brains
– robotics : programming computers to see and hear and react to
other sensory stimuli

Currently, no computers exhibit full artificial intelligence (that is, are


able to simulate human behavior). The greatest advances have
occurred in the field of games playing. The best computer chess
programs are now capable of beating humans. In May, 1997, an IBM
super-computer called Deep Blue defeated world chess champion
1/13/2022

Artificial Intelligence
Gary Kasparov in a chess match.

In the area of robotics, computers are now widely used in assembly


plants, but they are capable only of very limited tasks. Robots have
great difficulty identifying objects based on appearance or feel, and
they still move and handle objects clumsily.

Natural-language processing offers the greatest potential rewards


because it would allow people to interact with computers without
needing any specialized knowledge. You could simply walk up to a

Artificial Intelligence

computer and talk to it. Unfortunately, programming computers to


understand natural languages has proved to be more difficult than
originally thought. Some rudimentary translation systems that
translate from one human language to another are in existence, but
they are not nearly as good as human translators. There are also
voice recognition systems that can convert spoken sounds into
written words, but they do not understand what they are writing;
they simply take dictation. Even these systems are quite limited --
you must speak slowly and distinctly.
1/13/2022

Artificial Intelligence

In the early 1980s, expert systems were believed to represent the


future of artificial intelligence and of computers in general. To date,
however, they have not lived up to expectations. Many expert
systems help human experts in such fields as medicine and
engineering, but they are very expensive to produce and are helpful
only in special situations.

Today, the hottest area of artificial intelligence is neural networks,


which are proving successful in a number of disciplines such as voice
recognition and natural-language processing.

Artificial Intelligence

There are several programming languages that are known as AI


languages because they are used almost exclusively for AI
applications. The two most common are LISP and Prolog.
1/13/2022

What is an expert system?


• “An expert system is a computer system that
emulates, or acts in all respects, with the decision-
making capabilities of a human expert.”
• An expert system is a computer program that uses
artificial intelligence (AI) technologies to simulate the
judgment and behavior of a human that
has expert knowledge and experience in a
particular field.

Expert System Main Components

• Knowledge base – obtainable from books,


magazines, knowledgeable persons, etc.

• Inference engine – draws conclusions from the


knowledge base

14
1/13/2022

Figure 1.2 Basic Functions


of Expert Systems

15

Advantages of Expert Systems

• Increased availability
• Reduced cost
• Reduced danger
• Performance
• Multiple expertise
• Increased reliability
1/13/2022

Advantages Continued

• Explanation

• Fast response

• Steady, unemotional, and complete responses at


all times

• Intelligent tutor

• Intelligent database

Representing the Knowledge

The knowledge of an expert system can be


represented in a number of ways, including IF-
THEN rules:

IF you are hungry THEN eat

Expert Systems: Principles and


18
Programming, Fourth Edition
1/13/2022

Knowledge Engineering

The process of building an expert system:

1. The knowledge engineer establishes a dialog


with the human expert to elicit knowledge.
2. The knowledge engineer codes the knowledge
explicitly in the knowledge base.
3. The expert evaluates the expert system and
gives a critique to the knowledge engineer.

Expert Systems: Principles and


19
Programming, Fourth Edition

Development of an Expert System


1/13/2022

The Role of AI

• An algorithm is an ideal solution guaranteed to


yield a solution in a finite amount of time.
• When an algorithm is not available or is
insufficient, we rely on artificial intelligence (AI).
• Expert system relies on inference – we accept a
“reasonable solution.”

Uncertainty

• Both human experts and expert systems must be


able to deal with uncertainty.
• It is easier to program expert systems with
shallow knowledge than with deep knowledge.
• Shallow knowledge – based on empirical and
heuristic knowledge.
• Deep knowledge – based on basic structure,
function, and behavior of objects.

Expert Systems: Principles and


22
Programming, Fourth Edition
1/13/2022

Limitations of Expert Systems

• Typical expert systems cannot generalize through


analogy to reason about new situations in the way
people can.

• A knowledge acquisition bottleneck results from


the time-consuming and labor intensive task of
building an expert system.

Early Expert Systems

• DENDRAL – used in chemical mass


spectroscopy to identify chemical constituents
• MYCIN – medical diagnosis of illness
• DIPMETER – geological data analysis for oil
• PROSPECTOR – geological data analysis for
minerals
• XCON/R1 – configuring computer systems
1/13/2022

Table 1.3 Broad Classes


of Expert Systems

Problems with Algorithmic Solutions

• Conventional computer programs generally solve


problems having algorithmic solutions.

• Algorithmic languages include C, Java, and C#.

• Classic AI languages include LISP and PROLOG.


1/13/2022

Elements of an Expert System

• User interface – mechanism by which user and


system communicate.
• Exploration facility – explains reasoning of
expert system to user.
• Working memory – global database of facts used
by rules.
• Inference engine – makes inferences deciding
which rules are satisfied and prioritizing.

Elements Continued

• Agenda – a prioritized list of rules created by the


inference engine, whose patterns are satisfied by
facts or objects in working memory.
• Knowledge acquisition facility – automatic way
for the user to enter knowledge in the system
bypassing the explicit coding by knowledge
engineer.
1/13/2022

Production Rules

• Knowledge base is also called production


memory.

• Production rules can be expressed in IF-THEN


pseudocode format.

• In rule-based systems, the inference engine


determines which rule antecedents are satisfied
by the facts.

Figure 1.6 Structure of a


Rule-Based Expert System

30
1/13/2022

General Methods of Inferencing

• Forward chaining – reasoning from facts to the


conclusions resulting from those facts – best for
prognosis, monitoring, and control.

• Backward chaining – reasoning in reverse from a


hypothesis, a potential conclusion to be proved to
the facts that support the hypothesis – best for
diagnosis problems.

Production Systems

• Rule-based expert systems – most popular type


today.
• Knowledge is represented as multiple rules that
specify what should/not be concluded from
different situations.
• Forward chaining – start w/facts and use rules do
draw conclusions/take actions.
• Backward chaining – start w/hypothesis and look
for rules that allow hypothesis to be proven true.

You might also like