Expert system  create a simple expert system

Expert system (ES)


Artificial Intelligence is a piece of software that simulates the behavior and judgment of a human or an organization that has experts in a particular domain is known as an expert system.

Difference between AI and Expert System


ES does by acquiring relevant knowledge from its knowledge base and interpreting it according to the user’s problem. The data in the knowledge base is added by humans that are expert in a particular domain and this software is used by a non-expert user to acquire some information. It is widely used in many areas such as medical diagnosis, accounting, coding, games etc.
An expert system is an AI software that uses knowledge stored in a knowledge base to solve problems that would usually require a human expert thus preserving a human expert’s knowledge in its knowledge base. They can advise users as well as provide explanations to them about how they reached a particular conclusion or advice.

Components of an expert system:

Knowledge base: The knowledge base represents facts and rules. It consists of knowledge in a particular domain as well as rules to solve a problem, procedures and intrinsic data relevant to the domain.

Inference engine: The function of the inference engine is to fetch the relevant knowledge from the knowledge base, interpret it and to find a solution relevant to the user’s problem. The inference engine acquires the rules from its knowledge base and applies them to the known facts to infer new facts. Inference engines can also include an explanation and debugging abilities.

User interface: This module makes it possible for a non-expert user to interact with the expert system and find a solution to the problem.

Knowledge acquisition and learning module: The function of this component is to allow the expert system to acquire more and more knowledge from various sources and store it in the knowledge base.

Explanation module: This module helps the expert system to give the user an explanation about how the expert system reached a particular conclusion.

Characteristics of an expert system:

  • Human experts are perishable but an expert system is permanent.
  • It helps to distribute the expertise of a human.
  • One expert system may contain knowledge from more than one human experts thus making the solutions more efficient.
  • It decreases the cost of consulting an expert for various domains such as medical diagnosis.
  • They use a knowledge base and inference engine.
  • Expert systems can solve complex problems by deducing new facts through existing facts of knowledge, represented mostly as if-then rules rather than through conventional procedural code.
  • Expert systems were among the first truly successful forms of artificial intelligence (AI) software.


  • Don’t have human-like decision making power.
  • Can’t possess human capabilities.
  • Can’t produce correct result from less amount of knowledge.
  • Requires excessive training.


  • Low accessibility cost.
  • Fast response.
  • Not affected by emotions unlike humans.
  • Low error rate.
  • Capable of explaining how they reached a solution.


  • Expert system have no emotions.
  • Common sense is the main issue of the expert system.
  • It is developed for a specific domain.
  • It needs to be updated manually. It does not learn itself.
  • Not capable to explain the logic behind the decision.

Example of simple expert system



  1. Define what is Expert system.
  2. Components of an expert system. Explain the purpose for each components.
  3. Give two characteristics of expert system.
  4. Explain two advantages of expert system.
  5. Explain two disadvantages of expert system.



Ex. 1

Ex. 2

Категория: Expert systems | Добавил: bzfar77 (10.09.2020)
Просмотров: 171 | Теги: expert system, database, algorithm, if-then rules, Inference engine, Knowledge base | Рейтинг: 5.0/1
Всего комментариев: 0