Professional Documents
Culture Documents
Hệ chuyên
chuyên gia
gia
Expert
Expert Systems
Systems
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 1
Chương 4.
XÂY DỰNG
HỆ CHUYÊN GIA ỨNG DỤNG
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 2
4.0 Development life cycle
1. Project initialization
2. System analysis and design
3. Rapid prototyping
4. System development
5. Implementation
6. Postimplementation
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 3
4.1 Project Initialization
Problem definition
Need assessment
Evaluation of alternative solutions
Verification of an expert systems approach
Consideration of managerial issues
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 4
4.2 System analysis and design
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 5
4.3 Rapid prototyping
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 6
4.4 System development
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 7
4.5 Implementation
Acceptance by user
Installation, demonstration, deployment
Orientation, training
Security
Documentation
Integration, field testing
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 8
4.6 Postimplementation
Operation
Maintenance and upgrades
Periodic evaluation
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 9
4.1 Project Initialization
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 10
4.1 Project Initialization
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 11
4.1 Project Initialization
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 12
4.1 Project Initialization
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 13
4.1 Project Initialization
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 14
4.1 Project Initialization
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 15
4.1 Project Initialization
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 16
4.1 Project Initialization
• Appropriateness of the ES
• Natural of the problem: The problem should have a
symbolic structure and heuristics should be available
for its solution. It is desirable that the task be
decomposable
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 17
4.1 Project Initialization
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 18
4.1 Project Initialization
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 19
4.2 System analysis and Design
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 20
4.2 System analysis and Design
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 21
4.2 System analysis and Design
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 22
4.2 System analysis and Design
Selecting an expert (Ideal Attributes of an expert)
• Experts can see what others cannot
• Exert know how to concentrate on what is important
• Ability to simplify complexities (expert can make sense out of
chaos)
• Strong communication skills (expert know how to demonstrate
their expertise to other)
• Experts know when and when not to follow decision rules
• Experts are not afraid to stand behind their decisions
• Expert know which problem are significant and which are not
• Experts believe in themselves and their abilities
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 23
4.2 System analysis and Design
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 24
4.2 System analysis and Design
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 25
4.2 System analysis and Design
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 26
4.2 System analysis and Design
Software classification: Technology levels
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 27
4.2 System analysis and Design
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 28
4.2 System analysis and Design
Shells and environments
• Expert systems can be built much faster.
• The programming skill required is much lower.
• All factors together contribute to a cost reduction.
• 2 types of shells: general and domain specific.
• Shells do have limitations and disadvantages.
• Environments are more specialized than languages. They can
increase the productivity of system builders.
• Environments require more programming skills than shells, they
are more flexible.
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 29
4.2 System analysis and Design
Feasibility study
• Economic (financial) feasibility:
• Cost of system development
• Cost of maintenance
• Anticipated pay off
• Cash flow analysis
• Risk analysis
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 30
4.2 System analysis and Design
Feasibility study
• Technical feasibility:
• Interface requirements
• Networking issues
• Availability of knowledge and data
• Security of confidential knowledge
• Knowledge representation scheme
• Hardware/ software availability and compatibility
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 31
4.2 System analysis and Design
Feasibility study
• Operational feasibility and impacts:
• Availability of human and other resources
• Priority as compared to other projects
• Need assessment
• Organizational and implementation issues
• Management and user support
• Availability of experts and knowledge engineers
• Legal and other constraints
• Corporate culture
• User environment
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 32
4.2 System analysis and Design
Cost – Benefit analysis
Cost (tools, languages, shells; expert; knowledge
engineer, progammer; the time needed for employees to
test, debug, maintain the program; outside consultants)
• A small system (<100 rules): several weeks and require
2-3 people Æ $10,000-$50,000
• A large system (especially for one on a mainframe): Æ
$100,000 – millions dollars
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 33
4.2 System analysis and Design
Cost – Benefit analysis
Evaluating the Benefits (more difficult for assessment)
• Some benefits are intangible.
• Often a benefit cannot be precisely related to a single cause.
• Results of a certain action may occur over a long period of time and
are difficult to predict.
• A valuation of benefits includes the assessment of both quantity and
quality.
• The multiplicity of consequences can pose a major problem for
quantification
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 34
4.3 Rapid prototyping and a
demonstration prototype
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 35
4.3 Rapid prototyping and a
demonstration prototype
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 36
4.3 Rapid prototyping and a
demonstration prototype
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 40
4.3 Rapid prototyping and a
demonstration prototype
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 41
4.4 System development
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 42
4.5 Implementation
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 43
4.6 Postimplementation
Operation
Maintenance
Upgrading
Evaluation
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 44
Hệ
Hệ chuyên
chuyên gia
gia
Expert
Expert Systems
Systems
© 2006 Hồ Cẩm Hà-ĐHSPHN Chương 4: Xây dựng hệ chuyên gia ứng dụng 45