44
Unit-1 EXPERT SYSTEM

Expert system (unit 1 & 2)

Embed Size (px)

Citation preview

Page 1: Expert system (unit 1 & 2)

Unit-1

EXPERT SYSTEM

Page 2: Expert system (unit 1 & 2)
Page 3: Expert system (unit 1 & 2)
Page 4: Expert system (unit 1 & 2)
Page 5: Expert system (unit 1 & 2)
Page 6: Expert system (unit 1 & 2)
Page 7: Expert system (unit 1 & 2)
Page 8: Expert system (unit 1 & 2)

Comparison of Human Vs Expert system

Page 9: Expert system (unit 1 & 2)

Contd..

Page 10: Expert system (unit 1 & 2)
Page 11: Expert system (unit 1 & 2)
Page 12: Expert system (unit 1 & 2)
Page 13: Expert system (unit 1 & 2)
Page 14: Expert system (unit 1 & 2)

Structure of Expert System

Page 15: Expert system (unit 1 & 2)
Page 16: Expert system (unit 1 & 2)

Expert system Differ From conventional Program

Page 17: Expert system (unit 1 & 2)
Page 18: Expert system (unit 1 & 2)

Basic Activities for Expert Systems

• T• 1. The interpretation of data• Such as sonar data or geophysical measurements• 2. PREDICTION :-• inferring likely consequences of given situations• 3. Diagnosis of malfunctions• Such as equipment faults or human diseases• 4. Design :- Configuring objects under constraints.

• .

Page 19: Expert system (unit 1 & 2)

• 5. Monitoring:- comparing observations to expected outcomes.

• 6.Planning: designing Actions• 7. Debugging: prescribing remedies for

malfunctions• 8. Repair :- Executing plans to administer

prescribed remedies• 9. Instruction : diagnosing ,debugging & reparing.• 10. Control:- Governing overall system behavior

Page 20: Expert system (unit 1 & 2)

Features of prospector

Page 21: Expert system (unit 1 & 2)

PROSPECTOR: Operational details

• PROSPECTOR performs a consultation to

determine such things as • • which model best fits the data • where the

most favourable drilling sites are located • • what additional data would be most helpful in

reaching firmer conclusions • • what is the basis for these conclusions and

recommendations

Page 22: Expert system (unit 1 & 2)

Unit-2

EXPERT SYSTEM

Page 23: Expert system (unit 1 & 2)

knowledge representation in expert systems

• Semantic NetsThe semantic net technique describes the state of the world through a collection of nodes that represent objects, object properties, concepts, events, and arcs of links for a discussion of the graph data structure. For example, shows the bank accounts as a semantic net. Like an object-oriented class structure, the objects at the bottom of the top-down hierarchy inherit properties from higher-levels but also possess unique properties. For example, an individual checking account inherits such properties as an account number and an account type, but such properties as overdraft protection, minimum balance, and linkages to other accounts can change from account to account.

Page 24: Expert system (unit 1 & 2)

• With a semantic net, important associations and relationships can be described explicitly, and the inheritance hierarchy is easy to understand and revise. Consequently, it is easier to add new situations to a semantic net than to a set of slots and frames. Also, the relevant facts can be found within the hierarchy, so it is not necessary to search through a large database to find specific information. Establishing an inheritance hierarchy is a difficult task, however, and determining the unique (non-inherited) properties for each low-level node calls for (subjective and/or objective) judgment.

Page 25: Expert system (unit 1 & 2)
Page 26: Expert system (unit 1 & 2)

Frames and slots • A frame is a complex data structure representing a

stereotyped situation, such as an object, an activity, or a person. Slots are frame-like structures for representing stereotyped sequences of events or values. For example, in a frame that describes a bank account, the slots can be used to represent the account number, the account type, and the account balance. Generally, a frame is composed of a concept, one or more slots, one or more values, and one or more attached procedures

Page 27: Expert system (unit 1 & 2)

• Fig shows a set of frames that represent information about bank accounts. A bank representative opens the account file for a customer by soliciting, entering, and verifying all the required information. The associated expert system then automatically triggers an attached procedure that asks the representative to select a transaction type (for example, add a new customer, update customer information, delete a customer, and so on). The expert system then responds by triggering the appropriate procedure

Page 28: Expert system (unit 1 & 2)
Page 29: Expert system (unit 1 & 2)

Forward vs.Backward Reasoning

• Forward Reasoning• given a set of basic facts, we try to derive a• conclusion from these facts.• Backward Reasoning• try to find supportive evidence (i.e. facts) for

a• hypothesis.

Page 30: Expert system (unit 1 & 2)

• Forward Reasoning Backward Reasoning

• planning, control diagnosis

• data-driven goal-driven (hypothesis)

• bottom-up reasoning top-down reasoning

• find possible conclusions find facts that support a given hypothesis• supported by given facts•• similar to breadth-first search similar to depth-first search

• antecedents (LHS) control consequents (RHS) control Evaluation• Evaluation•

Page 31: Expert system (unit 1 & 2)

TYPES OF TOOLS AVAILABLE FOR EXPERT SYSTEM BUILDING

Expert SystemProblem oriented

Symbol manipulation

Skeletal

General purpose

Knowledge acquisition

Design

Programming

Explanation

Prog. Lang

Knowledge Engg. Lang

System building tool

Support Facilities

Page 32: Expert system (unit 1 & 2)

Stages in the development of Expert system Tools

EXPERIMENTAL SYSTEM

Research System Commercial System

Page 33: Expert system (unit 1 & 2)

Programming Methods supported by Expert system Tools

• Rule Based METHOD• use if-then rules to perform fwd & Bckward

Chaining • TOOL: EMYCIN

• Frame based method• Use frame hierarchies for inheritance & procedural

attachment.• Tool: SRL

Page 34: Expert system (unit 1 & 2)

• PROCEDURE ORIENTED METHOD• Uses nested subroutines to organize and

control program executionTool:-LISP

OBJECT ORIENTED METHODUsess items called objects that communicate

with one another via messages.Tool: SMALL TALK

Page 35: Expert system (unit 1 & 2)

• LOGIC BASED METHOD• Uses predicate calculus to structure the program

and guide execution• Tool:- PROLOG

• Access-oriented• Uses probes that trigger new computations when

data are changed or read• Tool:- LOOPS

Page 36: Expert system (unit 1 & 2)

Phases of Expert System

• Identification phase• The first step in the identification phase,

Identify problem, is similar to the problem definition phase in the traditional systems development life cycle. The objective is to identify, characterize, and define the problems the system will be expected to solve and then partition the problem into appropriate sub-tasks.

Page 37: Expert system (unit 1 & 2)
Page 38: Expert system (unit 1 & 2)

• Once the problem is defined, the resources necessary for acquiring knowledge, implementing the system, and testing the system are identified. Typical resources include knowledge, time, computing facilities, and money. Because expert systems are expensive and creating one takes considerable time, a feasibility study is often conducted before work progresses beyond this point.

• In addition to identifying resources, the expert system analysts and/or designers also identify the system’s goals and objectives. It is helpful to identify and explicitly document the goals because certain design approaches, such as heuristic search, breadth search, depth search, and reasoning are goal-driven.

Page 39: Expert system (unit 1 & 2)

Conceptualization phase• The central task of the conceptualization phase is to

diagram the system’s key concepts and relations to define a conceptual base for a prototype system. Key objectives include separating the inference engine from the problem domain, factoring (analyzing) the problem into meta-problems, identifying the system’s key concepts and relations, and testing those concepts and relations by challenging them (with specific examples of problem-solving activities) to ensure that they cover every general case. Many of the tools and techniques described in Part II are used in this phase.

Page 40: Expert system (unit 1 & 2)

Formalization Phase

• The formalization phase involves mapping key concepts, sub-problems, and information flow characteristics isolated during conceptualization into more formal representations based on various knowledge engineering and problem solving tools and knowledge representation frameworks . The key objectives are to identify the solution space (a domain with a collection of all possible solutions), the hypothesis space (the hypothetical solution space), the underlying model, and the characteristics of the data.

Page 41: Expert system (unit 1 & 2)

System design phase

• During the system design phase (sometimes called the logical design phase) the analyst and/or designer specifies how the system will meet the requirements identified during the previous three phases. Typically, the reports and other outputs the systems must produce are defined first. This phase is similar to the design stage in the traditional systems development life cycle

Page 42: Expert system (unit 1 & 2)

System development phase

• A prototype expert system is created during the system development (or physical design) stage. This stage is similar to the development stage in the traditional system development life cycle.

Page 43: Expert system (unit 1 & 2)

Testing and evaluation phase

• During this phase, the prototype system is evaluated. This phase parallels the testing stage in the traditional system development life cycle.

• Prototype revision phase• An expert system evolves over time, calling for

almost constant revision, a trait expert systems share with most prototypes. Based on the results of the testing/evaluation phase, concepts and relations are refined, the solution space, the model, and the data characteristics are reformalized, and the system is redesigned

Page 44: Expert system (unit 1 & 2)

EXPERT SYSTEMS BUILDING TOOLS: DEFINITIONS

• expert system tool, or shell, is a software development environment containing the basic components of expert systems. Associated with a shell is a prescribed method for building applications by configuring and instantiating these components. The core components of expert systems are the knowledge base and the reasoning engine.