You are on page 1of 24

Q:1: What is an Expert System?

Discuss some of its


applications.?
Ans.1: An expert system is a computer program that simulates the thought
process of a human expert to solve complex decision problems in a specific
domain. OR An expert system is software that uses a knowledge base of
human expertise for problem solving, or clarify uncertainties where normally
one or more human experts would need to be consulted. Expert systems are
most common in a specific problem domain, and are a traditional application
and/or subfield of artificial intelligence (AI). An expert system operates as
an interactive system that responds to questions, asks for clarification, makes
recommendations, and generally aids the decision-making process. Expert
systems provide expert advice and guidance in a wide variety of activities,
from computer diagnosis to delicate medical surgery. Various definitions of
expert systems have been offered by several authors. A general definition
that is representative of the intended functions of expert systems is:
“An expert system is an interactive computer-based decision tool that
uses both facts and heuristics to solve difficult decision problems based
on knowledge acquired from an expert”. Past applications range from
MYCIN, used in the medical field to diagnose infectious blood diseases, to
XCON, used to configure computer systems. These expert systems have
proven to be quite successful. Most applications of expert systems will fall
into one of the following categories:
• Interpreting and identifying
1
• Predicting
• Diagnosing
• Designing
• Planning
• Monitoring
• Debugging and testing
• Instructing and training
• Controlling
They operate under mathematical and Boolean operators in their execution
and arrive at one and only one static solution for a given set of data. The best
application candidates for expert systems are those dealing with expert
heuristics for solving problems. Successful expert systems will be those that
combine facts and heuristics and thus merge human knowledge with
computer power in solving problems.

Advantages :-

 Increase the probability, frequency, and consistency of making good


 decisions
 Help distribute human expertise
 Facilitate real-time, low-cost expert-level decisions by the non expert
 Enhance the utilization of most of the available data

2
 Permit objectivity by weighing evidence without bias and without
regard for the user’s personal and emotional reactions
 Permit dynamism through modularity of structure
 Free up the mind and time of the human expert to enable him or her
 to concentrate on more creative activities
 Encourage investigations into the subtle areas of a problem

Disadvantages :-

 The Garbage In, Garbage Out (GIGO) phenomenon: A system that


uses expert-system technology provides no guarantee about the quality
of the rules on which it operates. All self-designated "experts" are not
necessarily so, and one notable challenge in expert system design is in
getting a system to recognize the limits to its knowledge.
 An expert system or rule-based approach is not optimal for all
problems, and considerable knowledge is required so as to not
misapply the systems.
 Ease of rule creation and rule modification can be double-edged. A
system can be sabotaged by a non-knowledgeable user who can easily
add worthless rules or rules that conflict with existing ones. Reasons
for the failure of many systems include the absence of (or neglect to
employ diligently) facilities for system audit, detection of possible
conflict, and rule lifecycle management (e.g. version control, or
3
thorough testing before deployment). The problems to be addressed
here are as much technological as organizational.

Applications of Expert systems:

 Expert systems are designed to facilitate tasks in the fields


of accounting, medicine, process control, financial
service, production, human resources, among others.
 An example and a good demonstration of the limitations of an expert
system is the Windows operating system troubleshooting software
located in the "help" section in the taskbar menu. Obtaining technical
operating system support is often difficult for individuals not closely
involved with the development of the operating system. Microsoft has
designed their expert system to provide solutions, advice, and
suggestions to common errors encountered while using their operating
systems.

Expert System in Education


In education field, many of the expert system’s application are embedded
inside the Intelligent Tutoring System (ITS) by using techniques from
adaptive hypertext and hypermedia. Most of the system usually will assist
student in their learning by using adaptation techniques to personalize with
the environment, prior knowledge of student and student’s ability to learn. 

4
In term of technology used, expert system in education has expanded very
consistently from microcomputer to web based (Woodin D.E, 2001) and  
agent-based expert system (Vivacqua A., and Lieberman H., 2000). By using
web-based expert system, it can provide an excellent alterative to private
tutoring at anytime from anyplace (Markham H.C, 2001) where Internet is
provided. Also, agent based expert system surely will help users by finding
materials from the web based on the user’s profile. Supposedly, agent expert
system should have capability to diagnose the users and giving the results
according to the problems.
Besides technology used, expert system also had a tremendous changes in
the applying of methods and techniques. Starting from a simple rule based
system; currently expert system techniques had adapted a fuzzy logic
(Michael Starek, Mukesh Tomer, Krishna Bhaskar, and Mario Garcia ,2002)
and hybrid based technique (Jim Prentzas, Ioannis Hatzilygeroudis, C.
Koutsojannis , 2001).

Expert System for Engineering


This expert system using fuzzy logic method as an engine to enable this
system operates adaptively. This expert system was developed to help first
year engineering student gain deep understanding of fundamentals to be able
to follow the more advanced topics in the engineering fields. This ITS will
help adaptively adjust the training for each particular student on the base on

5
his/her pace of learning. ITS will monitor the student’s progress and have the
ability to make decision about the next step in training.

Expert Systems in Environmental Management


The most successful application of Artificial Intelligence (AI) so far is the
development of Decision Support System (DSS), particularly expert system,
which is a computer program that act as a ‘consultant’ or ‘advisor’ to
decision makers (Wash, 1999). Expert system has been a new dimension of
human’s view of life where everything seems to be easy and more useful by
employing expert system. Thus, the application of expert systems technology
in the domain of environmental management is particularly appropriate in
order to assist human in their attempt to preserve and disseminate valuable
expertise efficiently and at reasonable costs. Nowadays, there have been
numbers of expert system application on environmental management domain
including those which are still in the development process as well as some
newly potential proposed system.

Expert systems in Medicine


It also seems that very early on, scientists and doctors alike were captivated
by the potential such a technology might have in medicine (Ledley and
Lusted, 1959). With intelligent computers able to store and process vast
stores of knowledge, the hope was that they would become a perfect'doctors,
assisting or surpassing clinicians with tasks like diagnosis. In reviewing this
new field in 1984, Clancey and Shortleaf provided the following definition:
6
'Medical artificial intelligence is primarily concerned with the construction
of AI programs that perform diagnosis and make therapy recommendations.
Unlike medical applications based on other programming methods, such as
purely statistical and probabilistic methods, medical AI programs are based
on symbolic models of disease entities and their relationship to patient
factors and clinical manifestations.'
Much of the difficulty has been the poor way in which they have fitted into
clinical practice, either solving problems that were not perceived to be an
issue, or imposing changes in the way clinicians worked. What is now being
realized is that when they fill an appropriately role, intelligent programs does
indeed offer significant benefits. One of the most important tasks now facing
developers of AI-based systems is to characterize accurately those aspects of
medical practice that are best suited to the introduction of artificial
intelligence systems.
Expert or knowledge-based systems are the commonest type of AIM
(Artificial Intelligence in Medicine) system in routine clinical use. They
contain medical knowledge, usually about a very specifically defined task,
and are able to reason with data from individual patients to come up with
reasoned conclusions. Although there are many variations, the knowledge
within an expert system is typically represented in the form of a set of rules

7
Agricultural Expert systems
Rice-Crop Doctor
National Institute of Agricultural Extension Management (MANAGE) has
developed an expert system to diagnose pests and diseases for rice crop and
suggest preventive/curative measures. The rice crop doctor illustrates the use
of expert-systems broadly in the area of agriculture and more specifically in
the area of rice production through development of a prototype, taking into
consideration a few major pests and diseases and some deficiency problems
limiting rice yield.

The following diseases and pests have been included in the system for
identification and suggesting preventive and curative measures. The diseases
included are rice blast, brown spots, sheath blight, rice and zinc deficiency
disease. The pests included are stem borers, rice gall midge, brown plant
hopper, rice leaf folder, green leaf hopper and Gundhi bug.

Farm Advisory System


Punjab Agricultural University, Ludhiana, has developed the Farm Advisory
System to support agri-business management. The conversation between the
system and the user is arranged in such a way that the system asks all the
questions from user one by one which it needs to give recommendations on
the topic of farm Management.

8
AGREX
Center for Informatics Research and Advancement, Kerala has prepared an
Expert System called AGREX to help the Agricultural field personnel give
timely and correct advice to the farmers. These Expert Systems find
extensive use in the areas of fertilizer application, crop protection, irrigation
scheduling, and diagnosis of diseases in paddy and post harvest technology
of fruits and vegetables.
Expert System For Mineral Identification
This expert system developed to be used for support the teaching of mineral
properties at college level and hence to promote effective and meaningful
learning of scientific observation in earth science. This system used by the
college students, who may or may not have n-depth computer skills. An
expert system building tool which can be easily maintained by people from
non-computer science background. EXSYS (EXSYS inc. 1994) was used to
build this expert system. EXSYS is a commercial expert system building tool
that has been in the market for several years. It is easy to use, easy to learn
and easy to maintain. EXSYS can explain why and how it reaches a
conclusion.
Expert Systems in Environmental Management
The most successful application of Artificial Intelligence (AI) so far is the
development of Decision Support System (DSS), particularly expert system,
which is a computer program that act as a ‘consultant’ or ‘advisor’ to
decision makers (Wash, 1999). Expert system has been a new dimension of
9
human’s view of life where everything seems to be easy and more useful by
employing expert system. Thus, the application of expert systems technology
in the domain of environmental management is particularly appropriate in
order to assist human in their attempt to preserve and disseminate valuable
expertise efficiently and at reasonable costs. Nowadays, there have been
numbers of expert system application on environmental management domain
including those which are still in the development process as well as some
newly potential proposed system.

Q2. What is the relation between Expert systems and


artificial intelligence?

Ans 2. The expert system is a major application of artificial intelligence


today. Also known as knowledge-based systems, expert systems act as
intelligent assistants to human experts or serve as a resource to people who
may not have access to an expert. The major difference between an expert
system and a simple database containing information on a particular subject
is that the database can only give the user discrete facts about the subject,
whereas an expert system uses reasoning to draw conclusions from stored
information. The purpose of this AI application is not to replace our human
experts, but to make their knowledge and experience more widely available.
An expert system has three parts: knowledge base, inference engine,
and user interface. The knowledge base contains both declarative (factual)
10
and procedural (rules-of-usage) knowledge in a very narrow field. The
inference engine runs the system by determining which procedural
knowledge to access in order to obtain the appropriate declarative
knowledge, then draws conclusions and decides when an applicable solution
is found.An interface is usually defined as the point where the machine and
the human "touch." An interface is usually a keyboard, mouse, or similar
devices. In an expert system, there are actually two different user interfaces:
One is for the designer of the system (who is generally experienced with
computers) the other is for the user (generally a computer novice). Because
most users of an expert system will not be computer experts, it is important
that system be easy for them to use. All user interfaces are bi-directional;
that is, are able to receive information from the user and respond to the user
with its recommendations. The designer's user interface must also be capable
of adding new information to the knowledge base.

11
Q3.: What are the steps in the development of an Expert
System? Explain in detail.
Ans.3: Steps to Develop an Expert System:
Identify: Decide on Topic – i.e. Universe of Discourse (Area of Discussion)
 Define Topic + Limits of Topic
 Negotiate approval for topic with teacher
Create a Specification
 Identification
 Why is the Expert System needed ?
 What is the problem you are solving by developing this Expert
System?
 Do not discuss the actual ES. It is the solution, not the problem.

Specify
 Define the solution
 Who will use it?
 How it will work?
 Where it will be used?
 When it will be used?
 How it will be made available?
 What hardware will be required?
 Set clear objectives for the finished project
Design
12
 Build the Decision Tree in ES-Tree Builder
 Use short terms for attributes, values and conclusions; details can be
implemented later
 Export tree to .esb format for use in ES-Builder
 Enter Rules into Decision Table in ES-Builder. Exporting does not
over-write rules, so it is safe to export multiple times from ES-Tree
Builder.
 N.B. Do not delete any attributes in ES-Builder until all work is
completed in ES-Tree Builder and exported.
Document 
 Combine all Identification and Specification documentation into a
single file. (e.g. specs.doc)

Implement The System


Implement as much internal documentation in the data panel in ES-
TreeBuilder as possible including:
 details about the Universe of Discourse, creator and conclusion type
 long definition of attributes
 long definition of conclusions
 attribute notes and images
 conclusion notes and images.

Export completed tree with data


 Remove any surplus attribute by:

13
 Combining all possible values from like attributes into the one to be
retained on the attributes page
 Dragging the surplus attribute column to last in the decision table then
 Going back to the attributes page and deleting the surplus attribute.

Complete decision table resetting rules for combined attributes.


Check rules are set correctly:
 Sub-groups of conclusions with the same value for an attribute are
treated separately, but all must be subjected to the next attribute that any of
the sub-group is tested for, i.e. part of the sub-group can not be “na” for an
attribute that is being used to test other members of that sub-group.
 Once a conclusion becomes unique by virtue of being separated from
all other conclusions it must have “na” selected for every attribute that
follows.
 Attributes can easily be re-ordered by dragging and dropping the
appropriate column header.

Testing
 Testing Report
 Have at least 4 people test the completed expert system
 create User Feedback Sheets
 leave room for both positive and negative criticism
 Summarize testing in at least one paragraph
14
 Combine Testing Report into Identification and Specification
Document
Evaluation
 Measure success against stated objectives from design phase
 Comment on success on each individual objective
 Comment on overall success
 Comment on significant difficulties encountered in project
 Combine Evaluation into Identification and Specification Document
Submission
 Add any references and bibliographical detail required to specification
document.
 Save specification document into publishing folder in HTML format as
“specs.htm”
 Save complete folder to location specified by teacher.
 Hand in task and criteria sheets with of Statement of Authorship
completed.

Q.4 : Discuss how AI technique helps in building an


automated system?

Ans.4: Present-day computers have made possible the most advanced forms
of automation: operations that are designed to replicate human thought
processes. The enormous capability of a computer makes it possible for an
15
automated machine to analyze many more options, compare options with
each other, consider possible outcomes for various options, and perform
basic reasoning and problem-solving steps not contained within the
machine's programmed memory. At this point, the automated machine can
be said to be approaching the types of mental functions normally associated
with human beings, that is, to have artificial intelligence. An automated
machine is able to perform tasks that could be dangerous or difficult for
humans. The impact of automation on individuals and societies has been
profound. On one level, many otherwise dangerous, unpleasant, or time-
consuming tasks are now being performed by machines. The transformation
of the communications industry is one example of the way in which
automation has made life better for the average person. Today, millions of
telephone calls that would once have had to go through human operators are
now handled by automatic switching machines. Automated systems also
make it much easier for people to work in nontraditional settings. They may
be able to stay home, for example, and do their jobs by communicating with
other individuals and machines by means of highly automated
communications systems. However, automation has also had some negative
effects on employment. When one machine can do the work of ten workers,
most or all of those people will be out of a job. In many cases, those workers
will have to be retrained—often learning newer and higher skills—before
they can be reemployed.

16
Q.5: Explain the different components of an expert
system.
Asn.5: MAJOR COMPONENTS OF EXPERT SYSTEMS:
The user interface : The user interface is the means of communication
between a user and the expert systems problem-solving processes. A good
expert system is not very useful unless it has an effective interface. It has to
be able to accept the queries or instructions in a form that the user enters and
translate them into working instructions for the rest of the system. It also has
to be able to translate the answers, produced by the system, into a form that
the user can understand. Careful attention should be given to the screen
design in order to make the expert system appear ‘friendly’ to the user.
The Knowledge Base : The knowledge base stores all the facts and rules
about a particular problem domain. It makes these available to the inference
engine in a form that it can use. The facts may be in the form of background
information built into the system or facts that are input by the user during a
consultation. The rules include both the production rules that apply to the
domain of the expert system and the heuristics or rules-of-thumb that are
provided by the domain expert in order to make the system find solutions
more efficiently by taking short cuts.
The Shell or Inference Engine : The inference engine is the program that
locates the appropriate knowledge in the knowledge base, and infers new
knowledge by applying logical processing and problem-solving strategies.    

17
Working Memory : Working memory contains the data that is received
from the user during the expert system session. Values in working memory
are used to evaluate antecedents in the knowledge base. Consequents from
rules in the knowledge base may create new values in working memory,
update old values, or remove existing values.

18
Q.6: What are the different areas of Artificial Intelligence?
Explain.
Ans.6 : There are no set areas of AI when it is looked at from what the AI
system does. This is because many of the systems do many different things.
For example, a robot many include areas of Natural Language Processing,
Pattern Recognition and Machine Learning that help it to do its job.
AI can be spilt into seven main sections.
 Pattern Recognition – Recognizing patters in given data.
 Robotics – Allowing mechanical devices to navigate and manipulate
their environment.

19
 Natural Language Processing – Communicating with humans
through natural text and speech.
 Artificial Life - Modeling and mimicking living systems.
 Machine Learning – Analyzing data and treads to help with a task
latter.
 Automatic Programming – The creation of programs from a
programmer’s specification.
 Intelligent computer-aided instruction – Customizing the tutoring of a
student to fit the students learning style.

Pattern Recognition:

Pattern recognition involves determining the characteristics in specific


samples and sorting them into classes; a process called classification. This is
usually done with Machine Learning techniques, allowing the system to
adapt to the data given to it. It can be applied to detecting single words in
speech, recognizing voices, sorting scanned objects by type and filtering out
unwanted pictures (among many others).

Robotics:

The main aspect of robotics today is mobility. For example how can a
mechanical device be controlled to move its body parts in a planned fashion,
or navigate around a room? This can be done by learning the task in a virtual
simulation, and then applying it to the real robot. If specific conditions of

20
training are respected, the problem has a high probability of working in real
life, but this is no guarantee.

Natural Language Processing:

This is the task of extracting meaning from text, also known as


computational linguistics. Once this meaning is processed, it can also
potentially be interpreted and understood, or at least the basics! One of the
first approach was symbolic, assigning semantic meaning to each word
(verb, noun, adjective). The basic structure of valid sentences would have to
be defined manually, and a search would be performed to match the template
with the current sentence. A lot of time needed to be spent resolving
ambiguous sentences, and getting the person and tenses of the verbs to
match. If the programmer spends enough time creating the sentence
templates, the results would be fairly encouraging. But this monotonous task
needs to be repeated for new sentence constructs and new languages all
together.

Artificial Life:

This is a very popular aspect of Artificial Intelligence, which involves


modeling and mimicking living systems. This includes ant hills, wasp nests,
larger forests, towns and cities. To date, very complex and interesting
systems have been created by a multitude of very simple entities. For
example many ants programmed by very small programs would potentially
create an entire system with signs of emergent intelligence.
21
Machine learning: It is the subfield of AI that studies the automated
acquisition of domain-specific knowledge. The goal of these systems is to
improve their performance as the result of experience. Studies in this field
include problem classification and decomposition, principals of intelligence,
reasoning, and natural language processing. Machine learning can be looked
at as a framework for doing AI research and development. Five main areas
of machine learning are: analytic learning methods; neural network
(connectionist) learning methods; genetic algorithms and classifier systems;
empirical methods for inducing rules and decision trees; and case-based
approaches to learning
Automatic Programming: Computer programming is the process of
constructing executable code from fragmentary information. ... When
computer programming is done by a machine, the process is called automatic
programming. AI researchers are interested in studying automatic
programming for two reasons: First, it would be highly useful to have a
powerful automatic programming systems that could receive casual and
imprecise specifications for a desired target program and then correctly
generate that program; second, automatic programming is widely believed to
be a necessary component of any intelligent system and is therefore a topic
for fundamental research in its own right.
Intelligent computer-aided instruction: Educational devices incorporating
artificial intelligence (AI) would “understand” what, whom and how they
were teaching and could therefore tailor content and method to the needs of

22
an individual learner without being limited to a repertoire of pre specified
responses (as are conventional computer assisted instruction systems).

23
SUBMITTED TO SUBMITTED BY
Er.Sonia Manhas Mandeep

(HOD I.T) 80503113027

24

You might also like