NUMERICAL EXAMPLE APPENDIX A in “A neuro-fuzzy modeling tool to estimate fluvial nutrient loads in watersheds under time-varying human impact” Rafael Marcé.

Slides:



Advertisements
Similar presentations
Fuzzy Sets and Fuzzy Logic
Advertisements

Fuzzy Inference Systems. Review Fuzzy Models If then.
Fuzzy Inference Systems
 Negnevitsky, Pearson Education, Lecture 5 Fuzzy expert systems: Fuzzy inference n Mamdani fuzzy inference n Sugeno fuzzy inference n Case study.
AI – CS364 Fuzzy Logic Fuzzy Logic 3 03 rd October 2006 Dr Bogdan L. Vrusias
Fuzzy Inference and Defuzzification
F UZZY L OGIC Ranga Rodrigo March 30, 2014 Most of the sides are from the Matlab tutorial. 1.
Fuzzy Expert System. Basic Notions 1.Fuzzy Sets 2.Fuzzy representation in computer 3.Linguistic variables and hedges 4.Operations of fuzzy sets 5.Fuzzy.
Chapter 4: Linear Models for Classification
The Simple Linear Regression Model: Specification and Estimation
G. Cowan Lectures on Statistical Data Analysis 1 Statistical Data Analysis: Lecture 10 1Probability, Bayes’ theorem, random variables, pdfs 2Functions.
08/07/041 CSE-221 Digital Logic Design (DLD) Lecture-8:
Fuzzy rule-based system derived from similarity to prototypes Włodzisław Duch Department of Informatics, Nicolaus Copernicus University, Poland School.
Fuzzy Expert System.
Neuro-Fuzzy Control Adriano Joaquim de Oliveira Cruz NCE/UFRJ
Ming-Feng Yeh General Fuzzy Systems A fuzzy system is a static nonlinear mapping between its inputs and outputs (i.e., it is not a dynamic system).
Dan Simon Cleveland State University
Short Term Load Forecasting with Expert Fuzzy-Logic System
Fuzzy Rule-based Models *Neuro-fuzzy and Soft Computing - J.Jang, C. Sun, and, E. Mizutani, Prentice Hall 1997.
Rule-Based Fuzzy Model. In rule-based fuzzy systems, the relationships between variables are represented by means of fuzzy if–then rules of the following.
Indian Institute of Technology Bombay GIS-based mineral resource potential mapping - Modelling approaches  Exploration datasets with homogenous coverage.
What are Neuro-Fuzzy Systems A neuro-fuzzy system is a fuzzy system that uses a learning algorithm derived from or inspired by neural network theory to.
Hybrid intelligent systems:
Neuro-fuzzy Systems Xinbo Gao School of Electronic Engineering Xidian University 2004,10.
CPSC 386 Artificial Intelligence Ellen Walker Hiram College
Hybrid intelligent systems:
KE22 FINAL YEAR PROJECT PHASE 2 Modeling and Simulation of Milling Forces SIMTech Project Ryan Soon, Henry Woo, Yong Boon April 9, 2011 Confidential –
Slides are based on Negnevitsky, Pearson Education, Lecture 12 Hybrid intelligent systems: Evolutionary neural networks and fuzzy evolutionary systems.
Lecture 5 Fuzzy expert systems: Fuzzy inference Mamdani fuzzy inference Mamdani fuzzy inference Sugeno fuzzy inference Sugeno fuzzy inference Case study.
© Negnevitsky, Pearson Education, Lecture 11 Neural expert systems and neuro-fuzzy systems Introduction Introduction Neural expert systems Neural.
Fuzzy expert systems Chapter #9.
FUZZY CLUSTERING AND ANFIS 2009/  Underfitting : M51 demolm2  Overfitting: M51: demolm3  ANFIS  ANFIS GUI  Example1 (training data: clusterdemo.dat)
Fuzzy Inference (Expert) System
Neuro-Fyzzy Methods for Modeling and Identification Part 2 : Examples Presented by: Ali Maleki.
Fuzzy Systems Michael J. Watts
ANFIS (Adaptive Network Fuzzy Inference system)
Fuzzy Inference Systems. Fuzzy inference (reasoning) is the actual process of mapping from a given input to an output using fuzzy logic. The process involves.
NASSP Masters 5003F - Computational Astronomy Lecture 6 Objective functions for model fitting: –Sum of squared residuals (=> the ‘method of least.
Prof. dr Zikrija Avdagić, dipl.ing.el. ANFIS Editor GUI ANFIS Editor GUI.
“Principles of Soft Computing, 2 nd Edition” by S.N. Sivanandam & SN Deepa Copyright  2011 Wiley India Pvt. Ltd. All rights reserved. CHAPTER 12 FUZZY.
MUNICIPALITIES CLASSIFICATION BASED ON FUZZY RULES
Fuzzy Inference Systems
Fuzzy Expert System Fuzzy Inference دكترمحسن كاهاني
Homework 5 Min Max “Temperature is low” AND “Temperature is middle”
Chapter 4: Fuzzy Inference Systems Introduction (4.1) Mamdani Fuzzy models (4.2) Sugeno Fuzzy Models (4.3) Tsukamoto Fuzzy models (4.4) Other Considerations.
1 Introduction to Statistics − Day 4 Glen Cowan Lecture 1 Probability Random variables, probability densities, etc. Lecture 2 Brief catalogue of probability.
Karnaugh Maps (K-Maps)
Computational Intelligence: Methods and Applications Lecture 29 Approximation theory, RBF and SFN networks Włodzisław Duch Dept. of Informatics, UMK Google:
PMS RI 2010/2011 Prof. dr Zikrija Avdagić, dipl.ing.el. ANFIS Editor GUI ANFIS Editor GUI.
Key Ideas In Content Math 412 January 14, The Content Standards Number and Operations Algebra Geometry Measurement Data Analysis and Probability.
Introduction of Fuzzy Inference Systems By Kuentai Chen.
VIDYA PRATISHTHAN’S COLLEGE OF ENGINEERING, BARAMATI.
Chapter 7. Classification and Prediction
Chapter 9 Fuzzy Inference
Fuzzy Systems Michael J. Watts
Question: Is it warm in here?
Fuzzy Inference Systems
Fuzzy expert systems Fuzzy inference Mamdani fuzzy inference
Homework 8 Min Max “Temperature is low” AND “Temperature is middle”
Fuzzy logic Introduction 3 Fuzzy Inference Aleksandar Rakić
Dr. Unnikrishnan P.C. Professor, EEE
Dr. Unnikrishnan P.C. Professor, EEE
Karnaugh Maps (K-Maps)
Chap 3: Fuzzy Rules and Fuzzy Reasoning
FUZZIFICATION AND DEFUZZIFICATION
Homework 9 Min Max “Temperature is low” AND “Temperature is middle”
Lecture 5 Fuzzy expert systems: Fuzzy inference
Dr. Unnikrishnan P.C. Professor, EEE
Hybrid intelligent systems:
Fuzzy Inference Systems
Presentation transcript:

NUMERICAL EXAMPLE APPENDIX A in “A neuro-fuzzy modeling tool to estimate fluvial nutrient loads in watersheds under time-varying human impact” Rafael Marcé 1*, Marta Comerma 1, Juan Carlos García 2, and Joan Armengol 1 1 Department of Ecology, University of Barcelona, Diagonal 645, Barcelona, Spain 2 Aigües Ter Llobregat, Sant Martí de l'Erm 30, Sant Joan Despí, Spain * April 2004

What is fuzzy logic? 0 1 Binary logic SPRING SUMMERWINTERFALL Time (day of the year) SPRING SUMMERWINTERFALL In binary logic the function that relates the value of a variable with the probability of a judged statement are a ‘rectangular’ one. Taking the seasons as an example... Probability 0 1 Fuzzy logic Time (day of the year) SPRING SUMMERWINTERFALL In fuzzy logic the function can take any shape. The gaussian curve is a common choice... Probability March 7 th Winter = 1 The result will always be ‘one’ for a season and ‘zero’ for the rest March 7 th Winter = 0.8 Spring = 0.2 In fuzzy logic, the truth of any statement becomes a matter of degree.

Fuzzy reasoning with ANFIS Given an available field database, we define an input-output problem. In this case, the nutrient concentration in a river (output) predicted from daily flow and time (inputs). The first step is to solve the structure identification. We apply the trial-and-error procedure explained in the text with different number of MFs in each input. Suppose that the results were as follows: MFs in input FLOW MFs in input TIME Residual Mean Square Error This option is considered the optimum trade-off between number of MFs and fit.

Fuzzy reasoning with ANFIS Then, the structure identification is automatically solved generating a set of 6 if-and-then rules, i.e. a rule for each possible combination of input MFs. For each rule, an output MF (in this case a constant, because we work with zero-order Sugeno-type FIS) is also generated. Rule 1 If FLOW is LOW and TIME is EARLY ON then CONCENTRATION is C 1 Rule 2 If FLOW is LOW and TIME is LATER ON then CONCENTRATION is C 2 Rule 3 If FLOW is MODERATE and TIME is EARLY ON then CONCENTRATION is C 3 Rule 4 If FLOW is MODERATE and TIME is LATER ON then CONCENTRATION is C 4 Rule 5 If FLOW is HIGH and TIME is EARLY ON then CONCENTRATION is C 5 Rule 6 If FLOW is HIGH and TIME is LATER ON then CONCENTRATION is C 6 The next step is to draw the MFs in each input space, an also to assign a value for each output constant. This is the parameter estimation step, which is solved by the Hybrid Learning Algorithm using the available database. Suppose that the algorithm gives the following results: Just for convenience, we rename the different input MFs with intuitive linguistic labels, such High or Early on. HIGH 0 1 Flow MODERATELOW 010 Probability 0 1 Time EARLY ONLATER ON 010 Probability C 1 = C 2 = C 3 = C 4 = C 5 = 6.59 C 6 = Remember that a gaussian curve can be defined with two parameters. We give a graphical representation for clarity.

Now the Fuzzy Inference System is finished. The following slide is a numerical example showing how an output is calculated from an input.

Rule 1 If FLOW is LOW and TIME is EARLY ON then CONCENTRATION is C 1 Rule 2 If FLOW is LOW and TIME is LATER ON then CONCENTRATION is C 2 Rule 3 If FLOW is MODERATE and TIME is EARLY ON then CONCENTRATION is C 3 Rule 4 If FLOW is MODERATE and TIME is LATER ON then CONCENTRATION is C 4 Rule 5 If FLOW is HIGH and TIME is EARLY ON then CONCENTRATION is C Probability Rule 6 If FLOW is HIGH and TIME is LATER ON then CONCENTRATION is C Logical operations p = 0 p= 0.1 p = 0 p= 0.4 p = OUTPUT CONCENTRATION VALUE 82.5 INPUT VALUE for FLOW p = 0 p = 0.4 p = 0.1 p = 0.4 p = 0.75 p = 0.4 INPUT VALUE for TIME X = Given an input, the first step to solve the FIS is the fuzzyfication of inputs, i.e. to obtain the probability of each linguistic value in each rule. The six rules governing the Fuzzy Inference System are represented with a graphical representation of the MFs that apply in each rule. The last step is the defuzzyfication procedure, when the consequents are aggregated (weighted mean) to obtain a crisp output The third step is to calculate the consequent of each rule depending on their weight (or probability) MIN = AND The second step is to combine the probabilities on the premise part to get the weight (or probability) of each rule. It is demonstrable that applying the and logical operator is equivalent to solve for the minimum value of the intersection of the MFs