FUZZY EXPERT. Dr. Kasim M. Al-Aubidy. Philadelphia University. Computer Eng. Dept February 2002 University of Damascus-Syria

Similar documents
Computer Science. Embedded systems today. Microcontroller MCR

Knowledge based expert systems D H A N A N J A Y K A L B A N D E

MYCIN. The MYCIN Task

Rule-based Expert Systems

Learning Methods for Fuzzy Systems

Knowledge-Based - Systems

MYCIN. The embodiment of all the clichés of what expert systems are. (Newell)

Learning to Schedule Straight-Line Code

Evolutive Neural Net Fuzzy Filtering: Basic Description

Computer Organization I (Tietokoneen toiminta)

On Human Computer Interaction, HCI. Dr. Saif al Zahir Electrical and Computer Engineering Department UBC

Computerized Adaptive Psychological Testing A Personalisation Perspective

A Practical Approach to Embedded Systems Engineering Workforce Development

LEGO MINDSTORMS Education EV3 Coding Activities

Module 12. Machine Learning. Version 2 CSE IIT, Kharagpur

SAM - Sensors, Actuators and Microcontrollers in Mobile Robots

Neuro-Symbolic Approaches for Knowledge Representation in Expert Systems

Python Machine Learning

Word Segmentation of Off-line Handwritten Documents

Human Emotion Recognition From Speech

Seminar - Organic Computing

An empirical study of learning speed in backpropagation

Intel-powered Classmate PC. SMART Response* Training Foils. Version 2.0

Designing a Computer to Play Nim: A Mini-Capstone Project in Digital Design I

Lecture 1: Machine Learning Basics

Rule Chaining in Fuzzy Expert Systems

Foundations of Knowledge Representation in Cyc

Sample Problems for MATH 5001, University of Georgia

Circuit Simulators: A Revolutionary E-Learning Platform

ECE-492 SENIOR ADVANCED DESIGN PROJECT

AC : FACILITATING VERTICALLY INTEGRATED DESIGN TEAMS

A Variation-Tolerant Multi-Level Memory Architecture Encoded in Two-state Memristors

University of Toronto Physics Practicals. University of Toronto Physics Practicals. University of Toronto Physics Practicals

Specification and Evaluation of Machine Translation Toy Systems - Criteria for laboratory assignments

Experience College- and Career-Ready Assessment User Guide

Introduction to Simulation

Evolution of Symbolisation in Chimpanzees and Neural Nets

Diploma in Library and Information Science (Part-Time) - SH220

Rover Races Grades: 3-5 Prep Time: ~45 Minutes Lesson Time: ~105 minutes

Bayllocator: A proactive system to predict server utilization and dynamically allocate memory resources using Bayesian networks and ballooning

IMPROVED MANUFACTURING PROGRAM ALIGNMENT W/ PBOS

CS 100: Principles of Computing

A Reinforcement Learning Variant for Control Scheduling

GACE Computer Science Assessment Test at a Glance

EECS 571 PRINCIPLES OF REAL-TIME COMPUTING Fall 10. Instructor: Kang G. Shin, 4605 CSE, ;

Mathematics process categories

A Study of the Effectiveness of Using PER-Based Reforms in a Summer Setting

Testing A Moving Target: How Do We Test Machine Learning Systems? Peter Varhol Technology Strategy Research, USA

QuickStroke: An Incremental On-line Chinese Handwriting Recognition System

Historical maintenance relevant information roadmap for a self-learning maintenance prediction procedural approach

SOFTWARE EVALUATION TOOL

Inquiry Learning Methodologies and the Disposition to Energy Systems Problem Solving

Constructing a support system for self-learning playing the piano at the beginning stage

OPTIMIZATINON OF TRAINING SETS FOR HEBBIAN-LEARNING- BASED CLASSIFIERS

Multisensor Data Fusion: From Algorithms And Architectural Design To Applications (Devices, Circuits, And Systems)

Application of Virtual Instruments (VIs) for an enhanced learning environment

Designing a Rubric to Assess the Modelling Phase of Student Design Projects in Upper Year Engineering Courses

Australian Journal of Basic and Applied Sciences

Document number: 2013/ Programs Committee 6/2014 (July) Agenda Item 42.0 Bachelor of Engineering with Honours in Software Engineering

Assignment 1: Predicting Amazon Review Ratings

Student s Edition. Grade 6 Unit 6. Statistics. Eureka Math. Eureka Math

WASHINGTON Does your school know where you are? In class? On the bus? Paying for lunch in the cafeteria?

Module 9: Performing HIV Rapid Tests (Demo and Practice)

Clouds = Heavy Sidewalk = Wet. davinci V2.1 alpha3

ENME 605 Advanced Control Systems, Fall 2015 Department of Mechanical Engineering

A Genetic Irrational Belief System

POLA: a student modeling framework for Probabilistic On-Line Assessment of problem solving performance

"On-board training tools for long term missions" Experiment Overview. 1. Abstract:

Unit: Human Impact Differentiated (Tiered) Task How Does Human Activity Impact Soil Erosion?

COMPUTATIONAL COMPLEXITY OF LEFT-ASSOCIATIVE GRAMMAR

Training a Neural Network to Answer 8th Grade Science Questions Steven Hewitt, An Ju, Katherine Stasaski

BMBF Project ROBUKOM: Robust Communication Networks

Course Specifications

Every curriculum policy starts from this policy and expands the detail in relation to the specific requirements of each policy s field.

Modeling user preferences and norms in context-aware systems

STT 231 Test 1. Fill in the Letter of Your Choice to Each Question in the Scantron. Each question is worth 2 point.

Formulaic Language and Fluency: ESL Teaching Applications

INSTRUCTIONAL FOCUS DOCUMENT Grade 5/Science

A Neural Network GUI Tested on Text-To-Phoneme Mapping

Artificial Neural Networks

Certified Six Sigma Professionals International Certification Courses in Six Sigma Green Belt

Laboratorio di Intelligenza Artificiale e Robotica

A student diagnosing and evaluation system for laboratory-based academic exercises

Human Factors Engineering Design and Evaluation Checklist

First Grade Standards

OCR for Arabic using SIFT Descriptors With Online Failure Prediction

Hardhatting in a Geo-World

Language Acquisition Fall 2010/Winter Lexical Categories. Afra Alishahi, Heiner Drenhaus

MULTIMEDIA Motion Graphics for Multimedia

USER GUIDANCE. (2)Microphone & Headphone (to avoid howling).

PART C: ENERGIZERS & TEAM-BUILDING ACTIVITIES TO SUPPORT YOUTH-ADULT PARTNERSHIPS

NAME: East Carolina University PSYC Developmental Psychology Dr. Eppler & Dr. Ironsmith

Julia Smith. Effective Classroom Approaches to.

CS 1103 Computer Science I Honors. Fall Instructor Muller. Syllabus

Strategy and Design of ICT Services

Math Grade 3 Assessment Anchors and Eligible Content

Courses in English. Application Development Technology. Artificial Intelligence. 2017/18 Spring Semester. Database access

Microcontroller VU

AUTOMATIC DETECTION OF PROLONGED FRICATIVE PHONEMES WITH THE HIDDEN MARKOV MODELS APPROACH 1. INTRODUCTION

Transcription:

FUZZY EXPERT SYSTEMS 16-18 18 February 2002 University of Damascus-Syria Dr. Kasim M. Al-Aubidy Computer Eng. Dept. Philadelphia University

What is Expert Systems? ES are computer programs that emulate the reasoning process of a human expert or perform in an expert manner in a domain for which no human expert exists. Inference Engine Knowledge Acquisition Interface Fact DB Rule DB Knowledge Base,

The KB consists of FACTs and RULES. FACTS: are the elementary components of knowledge that guide the reasoning of the ES. RULES: are used to relate facts together to enable reasoning and derive new facts. Rules can be expressed as: IF <Condition> THEN <Conclusion> Example: IF (Temp HOT) Temp HOT= TRUE if Temp> 40 Temp HOT= FALSE if Temp <= 40 THEN (Heating OFF) Heating OFF= TRUE if the heating is switched to OFF. Heating OFF= FALSE if the heating is switched to ON. 4

Inference Engine (IE): It is a software module programmed to process the knowledge in the KB to solve problems. The IE combines facts and rules to arrive at conclusions. Consider this simple rule: This means; IF A THEN B Methods of Search: If A is TRUE, then B is TRUE 1. Forward Chaining. 2. Backward Chaining. @

Uncertain FACTS: Our world is not BLACK & WHITE. We have some degree of belief in the event. For example: IT PROBABLY Certainty Factor (CF): RAIN TODAY It is a conventional method used in ES for managing uncertain information. It is a numeric value assigned to a statement that represents the degree of belief in the statement. Example: MYCIN -1 -.8 -.6 -.4 -.2 0 +.2 +.4 +.6 +.8 +1 Definitely Probably Almost False False True B

FUZZY FACTS: Fuzzy logic provides methods for both representing and reasoning with ambiguous terms. For example; Omer is TALL Membership Short Medium Tall HEIGHT H

THREE fuzzy sets mapping the domain of height into a number called Membership value or Grade (u= 0 to 1.0). For Example: A height of 150 cm would be said to a member of MEDIUM with u=1.0, and at the same time a member of SHORT and TALL with u=0.4 In addition to creating fuzzy sets, fuzzy logic permits you to write fuzzy rules. A fuzzy rule contains fuzzy sets in both its IF and THEN parts. For example; IF Omer s Height is TALL THEN Omer s weight is HEAVY TALL & HEAVY are fuzzy sets. J

INFERENCE ENGINE Rules & Facts New Facts KNOWLEDGE BASE The rules & facts are analyzed by the IE. Inferencing begins with an examination of the KB for any rule conditions that matches existing facts. When all of the condition clauses in a rule have a corresponding fact in the KB, the IE can assert the conclusion of the corresponding rule into the KB as a new fact. Rules and facts represent WHAT the knowledge is. IE determines HOW the knowledge should be analyzed. N

Rule-Based Fuzzy System Operation: When the IF part of a rule matches the information contained in the WM, the system performs the action specified in the THEN part. When this occurs, the rule FIRES and its THEN statements are added to the WM. The new information added to the WM can also cause other rules to fire. Consider this example: R1: IF car s color is Black THEN I like the car. R2: IF I like the car THEN I will buy the car. O

Step 3 Step 5 Knowledge Base - IF Car s Color is Black THEN I like the Car. - IF I like the Car THEN I will buy the Car. Working Memory Car s Color is Black. I like the Car. I will buy the Car. Step 1 Step 2 Step 4 Q: Car s color? Answer: Black. QR

Expert Systems & Conventional Programs: In an ES, all the knowledge is kept separate from control structure of the programs. In a conventional programs, the two would be intermixed. In an ES, new knowledge can be added or unwanted knowledge taken away relatively easily. In a conventional program, if some new knowledge became available, the program would have to be rewritten. ES has mechanisms to explain its conclusions and lines of reasoning. ES= Knowledge + Inference Program= Algorithm + Data QQ

Traditional Program Handles data. Uses algorithms. Goes through repetitive processes. Based on large DBs. Expert System Handles knowledge. Uses rules or heuristics. Goes through inferential process. Based on KBs. Q,

FCS & ES: FL has been successfully incorporated in several FCSs and Ess. First FES was a rule-based fuzzy control system developed in 1974 by Mamdani & Assilian. FCSs & Ess have one thing in common: both want to model human experience, human decision making behavior. Fuzzy expert systems are strongly tied to knowledge-based techniques for gathering and processing information. Knowledge representation is in the form of rules garnered through consultation with human experts. Q4

NNs encode knowledge implicitly, adjusting internal weights so that their I/O relations remain consistent with observed training data Coupling the methods of approximate reasoning with knowledgebased techniques yields systems which model human decision making. ESs provide a ready mechanism for explanation why certain decisions are made. A major disadvantage of KBSs is their reliance upon consultation with human experts for new information. Q@

Hybrid Systems: Every ES has particular computational properties that make them suited for particular problems and not for others. These properties include; - ability to learn. - explanation of decisions NNs are good at recognizing patterns, they are not good at explaining how they reach their decisions. FLSs can reason with imprecise information, they are good at explaining their decisions, but they cannot automatically acuire the rules they use to make those decisions. Due to these limitations, two or more techniques are combined in a manner that overcomes these limitations. QB

Hybrid systems are important when considering the varied nature of application domains. Many complex domains have many different component problems, each of which may require different types of processing. NNs are used to tune membership functions of FSs that are used as decision-making systems. FL can encode expert knowledge directly using rules with linguistic labels, it usually takes a lot of time to design and tune the membership functions which quantitatively define these linguistic labels. NN learning techniques can automate this process and then reduce development time and cost while improving performance. QH

For NNs, knowledge is automatically acquired by the backpropagation algorithm, but the learning process is relatively slow and analysis of the trained network is difficult (black box). FSs are more favorable in that their behavior can be explained based on fuzzy rules and thus their performance can be adjusted by tuning the rules. In general, knowledge acquisition is difficult and also the universe of discourse of each I/p variable need to be divided into several intervals, applications of fuzzy systems are restricted to the fields where expert knowledge is available and the number of I/p variables is small. To overcome the problem of knowledge acquisition, NNs are extended to automatically extract fuzzy rules from numerical data. QJ

NN Applications in FES Design: There are three main approaches; FSs where NN learn the shape of the surface of membership functions, the rules and output membership values. A NN is applied directly to design nonlinear multidimensional membership functions. FSs that are expressed in the form of NN and are designed using a learning capability of the NN. NN become a component of the whole nero-fuzzy ES. FSs with NN which are used to tune the parameters of fuzzy controller as a design tool but not as a component of the final FS. QN

Nero-Fuzzy System One rule implementation QO

Example: Sugeno Model The NN is used to realise Fuzzy processing of typical fuzzy rules like; IF X1 is A1 AND X2 is A2 THEN y1=w1*x1 + w2*x2 +r1 IF X1 is B1 AND X2 is B2 THEN y2=v1*x1 + v2*x2 +r2 Layer Layer Layer 3; 2: 1: 4; Multiplication Normalizing Membership Output 5; (output calculating layer); layer; layer; it (Transparent layer; it calculates it integrates a ratio the layer); theoutput ofmembership itparticular transmits rule thestrength. NN. rule degress. input firing values directly to the next layer. degree to the sum of all rule degrees,(finding the matching degrees for any rule).,r

Example: Nero-Fuzzy ES for Washing Machine. (Hitachi, Japan),Q

HARDWARE IMPLEMENTATION OF FES: The IE consists of three major components; - Rule set memory (RAM or ROM). - Inference processor. - Controller (counters). All rules are executed in parallel, each rule is processed serially. Because of the very high rate of communication between the rule set storage unit and the inference processing unit, these rules are stored on a chip. In this case the control unit of the IE is simple since we do not need to load a rule set from off-chip.,,

Ai A` MIN NAX SREG MIN MIN Bi B` MIN NAX SREG Ci Rule 1: IF X is A1, Y is B1 THEN Z is C2 Rule 2: IF X is A2, Y is B2 THEN Z is C2,4

Examples: The 1 st implementation of this technology was demonstrated at AT&T Bell Laboratories. It stores 16 rules, 31 elements with 16 levels of membership. 4-bit resolution of membership function. 124 bits per rule, a single inference process takes 256 clock cycles. The IE begins to produce the result on the 133 rd cycle after the reset signal. Frequency: 20.8 MHz (48 ns cycle) Chip size: 2.99 mm * 3.84 mm. 68-pin package,@

The automated FC design station includes FES for generation and optimization of automatic fuzzy rules and membership functions. It includes; 1. The FlexFuzz HPC1600 block for control modeling. 2. Special evaluation board for chip development.,b

FC110 DIGITAL FUZZY PROCESSOR: The 1 st specialized processor from Togai InfraLogic. It is a single chip small enough for sensitive embedded applications. Its architecture suppose high communication possibilities for working together with a host computer. Variable data are stored in a 256 byte on-chip RAM. At least the low 64 bytes are shared between the host and the device. FP-3000 DIGITAL FUZZY PROCESSOR: It is a high speed fuzzy processor applied in different Omron product. WARP FUZZY PROCESSOR: Weight Associative Rule Processor from SGS-Thomson. It is a high speed fuzzy processor.,h

AL220 MICROCONTROLLER: It is high performance fuzzy microcontroller. It contains 4 analog I/ps and single o/p (8-bit resolution). Its main elements are; fuzzifier, defuzzifier, and a controller,j

Custom ASIC Chip Used as Fuzzy Coprocessor: Fuzzy Application Host Microprocessor T D M Custom ASIC FCA F R B M It is a high performance Fuzzy coprocessor with a 12-bit FCA (Fuzzy Computational Acceleration) core, 4K*12-bit Temp. Data Memory (TDM), a Fuzzy Rule Base Shared Memory (FRBM), and a Host interface logic combined in a single chip. A FRB is downloaded by the host. At the beginning of fuzzy computation, crisp I/p values are downloaded by the host into TDM. The Fuzzy core uses the rule base information to perform calculation and produce a crisp o/p values stored at TDM and are used by host.,n

H/W IMPLEMENTATION ADVANTAGES DISADVANTAGES Digital General Purpose Processors Digital Special Purpose Processors Flexibility in choice Of H/W & S/W Tools Increasing Performance Low performance Complex: it must be coupled with a Host Analog Processors High performance Low cost Used for research Low accuracy,o

THE END 4R