1 / 31

Expert Systems and Their Applications

Expert Systems and Their Applications. John Paxton Montana State University August 14, 2003. Bozeman. Definitions. A model and associated procedure that exhibits, within a specific domain, a degree of expertise in problem solving that is comparable to that of a human expert. (Ignizio)

sari
Download Presentation

Expert Systems and Their Applications

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Expert Systems and Their Applications John Paxton Montana State University August 14, 2003

  2. Bozeman

  3. Definitions • A model and associated procedure that exhibits, within a specific domain, a degree of expertise in problem solving that is comparable to that of a human expert. (Ignizio) • An expert system is a computer system which emulates the decision-making ability of a human expert. (Giarratono)

  4. Characteristics • Operates in a narrow domain • Separates knowledge from processing • Can explain how a particular conclusion is reached • Can explain why specific data is needed • Permits inexact reasoning • Can make mistakes • Changes are easy to incorporate

  5. Components • Program = Algorithm + Data Structure • Expert System = Inference Engine + Knowledge

  6. Usage (2002)

  7. Why Use an Expert System? • Helps preserve knowledge--builds up the corporate memory of the firm. • Helps if expertise is scarce, expensive, or unavailable. • Helps if under time and pressure constraints. • Helps in training new employees. • Helps improve worker productivity.

  8. Architecture KNOWLEDGE BASE USER INTERFACE INFERENCEENGINE WORKINGMEMORY

  9. Knowledge Base • Contains facts antacid (Imodium) • Contains rules if traveler (x) and stomach-pains (x) then take (y, antacid (y))

  10. Inference Engine • Rules that match working memory are identified and then fired. • This updates working memory and the knowledge base. • The process is repeated.

  11. Inference Engine • Conflict Resolution • fire all matching rules • fire the first matching rule • fire the highest priority matching rule • fire the most specific rule • fire the rule that uses the most recent data

  12. Inference Engine • Forward Chaining. Starting with the data, a conclusion is reached. cat (Mulder) cat (x)  mammal (x) • Backward Chaining. Starting with a hypothesis, it works backwards to the data.

  13. Uncertainty Sources • Weak implications • Imprecise language (e.g. “often”) • Unknown data • Combining views of different experts

  14. Uncertainty • Certainty Factors. • Dempster-Shafer Theory. • Bayesian Networks. • Fuzzy Logic.

  15. Certainty Factors IF the light is greenTHEN it is ok to cross the street cf = 0.9 + easy to compute + easy to propagate - somewhat ad hoc - all certainty factors are independent

  16. Bayesian Reasoning Based on Baye’s Theorem and standard probability theory P(H|E) = P(E|H) * P(H) / P(E)

  17. Birthday Surprise • What is the probability that 2 people in a room of 30 share a birthday? • P = 1 – 365/365 * 364/365 * … *336/365 ≈ 0.70

  18. Fuzzy Logic • Fuzzification (120 kph = 0.95 fast) • Inference (IF speed is “fast” THEN stopping distance is “short”) • Composition (0.8 “short” and 0.7 “short” = 0.7 “short”) • Defuzzification (0.7 “short” = 20 meters)

  19. People Involved • Domain Expert • Knowledge Engineer • Programmer • Project Manager • End User

  20. Building an Expert System • Problem assessment • determine the problem’s characteristics • identify the main participants • specify the project’s objectives • determine the resources needed • Data and knowledge acquisition • collect and analyze data and knowledge • make key concepts of the system design explicit

  21. Building an Expert System • Development of a prototype system • choose a tool • transform data and represent knowledge • design and implement prototype • test the prototype • Development of a complete system • prepare a detailed design for a full scale system • collect additional data and knowledge • develop the user interface • implement the complete system

  22. Building an Expert System • Evaluation and revision of a complete system (look for inconsistencies and incompleteness) • Integration and maintenance of system • make arrangements for technology transfer • establish an effective maintenance program

  23. Building a Fuzzy Expert System • Specify the problem. Define linguistic variables. • Determine the fuzzy sets. • Construct the fuzzy rules. • Encode the fuzzy sets, fuzzy rules and fuzzy inference procedures into the expert system. • Evaluate and tune the system.

  24. Expert System Shell • CLIPS is a productive development and delivery expert system tool which provides a complete environment for the construction of rule and/or object based expert systems. Created in 1985, CLIPS is now widely used throughout the government, industry, and academia.

  25. CLIPS features • Allows for many types of knowledge representation (e.g. rules and procedures) • Portable (written in C) • Extensible • Embeddable • Interactive Development • Verification and Validation support • Fully documented • Public Domain!

  26. Advantages • Natural Language representation • Uniform structure • Separates knowledge from processing • Can deal with incomplete and uncertain knowledge

  27. Disadvantages • Opaque relations between rules • Ineffective search strategy • Typically can’t learn

  28. Commercial Applications • National Semiconductor Manufacturing (Singapore) – troubleshoot recurrent equipment breakdowns • Work and Income New Zealand (a.k.a. Social Welfare Department) - deal with questions of eligibility, allowances and benefit amounts • GE Capital Global Consumer Finance - help identify risk, retain customers and target prospects

  29. Commercial Applications • Department of Industry and Fisheries, Tasmania – assist the delivery of information to farmers • Misselbrook and Weston stores – detect in-store fraud • Channel 4 TV (UK) – sequence commercial breaks • Tokyo Nissan - how to increase domestic demand

  30. Commercial Applications • Rockwell Aerospace and NASA - enables the user to quantify molecular and particulate contamination requirements for solar arrays, thermal control surfaces, or optical sensors • Meiji Mutual Life Insurance Company - select the most suitable product, along with a reason for the choice, from Meiji's range of 37 individual oriented products

  31. Questions?

More Related