27
A Quick Introduction to Fuzzy Logic Decision Fuzzy Logic Decision Support Modeling Tim Sheehan Ecologic Modeler Conservation Biology Institute

A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

A Quick Introduction toFuzzy Logic Decision

Support Modeling

A Quick Introduction toFuzzy Logic Decision

Support ModelingTim Sheehan

Ecologic ModelerConservation Biology Institute

Page 2: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

What is it? Tree-based, structured method of evaluating data

inputs to produce a single decision-guiding output.

Page 3: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

What does it do? Combines data of multiple types.

Produces a single evaluation metric.

Exposes dominant contributors to the single evaluationmetric.

Combines data of multiple types.

Produces a single evaluation metric.

Exposes dominant contributors to the single evaluationmetric.

Page 4: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

Tree Based ModelMultiple factors combined for a final value

High ReservePotential

CombiningOperator

PublicOwnership

LowDisturbance

High HabitatValue

CombiningOperator

Page 5: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

How to Combine DifferingTypes of Data?

A common range of values or “space” is needed tocombine different types of data.

e.g. Low Disturbance might take into account: Oil wells (point density) Roads (linear density) Invasive species extent (percent coverage)

If only we had a way to do this!

A common range of values or “space” is needed tocombine different types of data.

e.g. Low Disturbance might take into account: Oil wells (point density) Roads (linear density) Invasive species extent (percent coverage)

If only we had a way to do this!

Page 6: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

Fuzzy Logic Modelingto the Rescue

Provides a way of normalizing different types of datainto a common range of values (“fuzzy space”).

Provides a set of operators for combining values indifferent ways to reflect desired results.

It’s not hard.

Provides a way of normalizing different types of datainto a common range of values (“fuzzy space”).

Provides a set of operators for combining values indifferent ways to reflect desired results.

It’s not hard.

Page 7: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

Converting Values into “FuzzySpace”

Consider this common polling technique based onpropositions:

Mark the answer that most strongly reflects your feelingabout each statement:

Fuzzy Logic Modeling is exciting.

Consider this common polling technique based onpropositions:

Mark the answer that most strongly reflects your feelingabout each statement:

Fuzzy Logic Modeling is exciting.

1 2 3 4 5StronglyDisagree

Disagree Neutral Agree StronglyAgree

Page 8: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

Converting Values into “FuzzySpace”

Consider this common polling technique based onpropositions:

Mark the answer that most strongly reflects your feelingabout each statement:

Fuzzy Logic Modeling is exciting.

Consider this common polling technique based onpropositions:

Mark the answer that most strongly reflects your feelingabout each statement:

Fuzzy Logic Modeling is exciting.

1 2 3 4 5StronglyDisagree

Disagree Neutral Agree StronglyAgree

Page 9: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

For Fuzzy Logic Change the endpoint definitions to FALSE and TRUE.

Change the associated values to a continuum rangingfrom -1 to +1.

What value reflects the Trueness or Falseness of theproposition:

Fuzzy Logic Modeling is exciting.

Change the endpoint definitions to FALSE and TRUE.

Change the associated values to a continuum rangingfrom -1 to +1.

What value reflects the Trueness or Falseness of theproposition:

Fuzzy Logic Modeling is exciting.

-1 0 +1CompletelyFalse

NeitherTrue nor

False

CompletelyTrue

Page 10: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

For Fuzzy Logic Change the endpoint definitions to FALSE and TRUE.

Change the associated values to a continuum rangingfrom -1 to +1.

What value reflects the Trueness or Falseness of theproposition:

Fuzzy Logic Modeling is exciting.

Change the endpoint definitions to FALSE and TRUE.

Change the associated values to a continuum rangingfrom -1 to +1.

What value reflects the Trueness or Falseness of theproposition:

Fuzzy Logic Modeling is exciting.

-1 0 +1CompletelyFalse

NeitherTrue nor

False

CompletelyTrue

Page 11: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

From Real (or Raw) Valuesto Fuzzy Space

Most common method:

1. Pick a FALSE threshold, and a TRUE threshold

2. Values beyond thresholds convert to FULLY FALSE (-1) or FULLY TRUE (+1)

3. Values between FULLY FALSE and FULLY TRUE aredetermined using linear interpolation

Most common method:

1. Pick a FALSE threshold, and a TRUE threshold

2. Values beyond thresholds convert to FULLY FALSE (-1) or FULLY TRUE (+1)

3. Values between FULLY FALSE and FULLY TRUE aredetermined using linear interpolation

Page 12: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

Example: Low Oil WellDensity

Proposition: Mapped polygon has low oil well density

TRUE threshold: 2 oil wells per mi2

FALSE threshold: 14 oil wells per mi2

Proposition: Mapped polygon has low oil well density

TRUE threshold: 2 oil wells per mi2

FALSE threshold: 14 oil wells per mi2

Page 13: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

Low Oil Well DensityReal space to fuzzy space conversion

Page 14: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

Low Oil Well DensityReal space to fuzzy space conversion

“Raw” values of 2and lower convert toa fuzzy value offully TRUE (+1)

1“Raw” values of 2and lower convert toa fuzzy value offully TRUE (+1)

0 2

Page 15: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

Low Oil Well DensityReal space to fuzzy space conversion

Raw values of2 to 8 convert topartially TRUEfuzzy values(0 to +1)

1Raw values of2 to 8 convert topartially TRUEfuzzy values(0 to +1)0

2 8

Page 16: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

Low Oil Well DensityReal space to fuzzy space conversion

Raw value of 8Converts to afuzzy value ofneither TRUE norFALSE (0)

Raw value of 8Converts to afuzzy value ofneither TRUE norFALSE (0)0

8

Page 17: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

Low Oil Well DensityReal space to fuzzy space conversion

Raw values of8 to 14 convert topartially FALSEfuzzy values(0 to -1)

Raw values of8 to 14 convert topartially FALSEfuzzy values(0 to -1)

-1

0

148

Page 18: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

Low Oil Well DensityReal space to fuzzy space conversion

Raw values of14 and higherconvert toa fuzzy value offully FALSE (-1)

Raw values of14 and higherconvert toa fuzzy value offully FALSE (-1)

-114 16

Page 19: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

Fuzzy Logic Operators Take fuzzy value(s) as input

Produce a single fuzzy value as output

Provide flexibility in how variables are combined

Page 20: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

NOT Operator Single input.

Returns the negative of the current value.

TRUEness and FALSEness are swapped.

Useful for working with the opposite of the originalproposition.

e.g. “Has high vegetation coverage” to “Has lowvegetation coverage.”

Single input.

Returns the negative of the current value.

TRUEness and FALSEness are swapped.

Useful for working with the opposite of the originalproposition.

e.g. “Has high vegetation coverage” to “Has lowvegetation coverage.”

Page 21: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

UNION Operator Two or more inputs.

Returns the mean of the inputs.

Useful for spatially overlapping conditions in which allcontribute further to a result.

e.g. “High agricultural development” and “High oil andgas development” contributing to “High non-residentialdevelopment.”

Two or more inputs.

Returns the mean of the inputs.

Useful for spatially overlapping conditions in which allcontribute further to a result.

e.g. “High agricultural development” and “High oil andgas development” contributing to “High non-residentialdevelopment.”

Page 22: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

WEIGHTED UNION Operator Two or more inputs.

Returns the weighted mean of the inputs.

Useful for spatially overlapping conditions in whichconditions contribute differentially to a result.

e.g. “Low agricultural development” and “Lowabandoned mineral development” contributing to “Highrestoration potential.”

Two or more inputs.

Returns the weighted mean of the inputs.

Useful for spatially overlapping conditions in whichconditions contribute differentially to a result.

e.g. “Low agricultural development” and “Lowabandoned mineral development” contributing to “Highrestoration potential.”

Page 23: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

OR Operator Two or more inputs.

Returns the TRUEest of the inputs.

Useful when one of the input conditions is sufficient forthe output condition.

E.g. “High in desert tortoise habitat” and “High inCalifornia condor habitat” contributing to “High inendangered species habitat.”

Two or more inputs.

Returns the TRUEest of the inputs.

Useful when one of the input conditions is sufficient forthe output condition.

E.g. “High in desert tortoise habitat” and “High inCalifornia condor habitat” contributing to “High inendangered species habitat.”

Page 24: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

ORNEG (negative OR)Operator

Two or more inputs.

Returns the FALSEest of the inputs values.

Useful when all of the input conditions are necessaryfor the output condition.

e.g. “Low annual precipitation” and “High distance fromroads” contributing to “Highly suitable westerndiamondback rattlesnake habitat.”

Two or more inputs.

Returns the FALSEest of the inputs values.

Useful when all of the input conditions are necessaryfor the output condition.

e.g. “Low annual precipitation” and “High distance fromroads” contributing to “Highly suitable westerndiamondback rattlesnake habitat.”

Page 25: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

AND operator Two or more operators

In some fuzzy logic systems, equivalent to ORNEG, inothers (e.g. EMDS), returns a value weighted stronglytowards the FALSEST of the input values.

Useful when all of the input conditions are necessaryfor the output condition.

e.g. “Low annual precipitation” and “High distance fromroads” contributing to “Highly suitable diamondbackrattlesnake habitat.”

Two or more operators

In some fuzzy logic systems, equivalent to ORNEG, inothers (e.g. EMDS), returns a value weighted stronglytowards the FALSEST of the input values.

Useful when all of the input conditions are necessaryfor the output condition.

e.g. “Low annual precipitation” and “High distance fromroads” contributing to “Highly suitable diamondbackrattlesnake habitat.”

Page 26: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

SELECTED UNION Three or more inputs.

A hybrid of the AND and OR operators.

User specifies: How many of the inputs to consider. Whether the considered inputs are TRUEest or FALSEest

Operator takes the mean (UNION) of the selectedinputs.

Three or more inputs.

A hybrid of the AND and OR operators.

User specifies: How many of the inputs to consider. Whether the considered inputs are TRUEest or FALSEest

Operator takes the mean (UNION) of the selectedinputs.

Page 27: A Quick Introduction to Fuzzy Logic Decision Support Modeling · AND operator Two or more operators In some fuzzy logic systems, equivalent to ORNEG, in others (e.g. EMDS), returns

SELECTED UNION (cont’d)

Useful when a limited number of many input conditionscontribute to the output condition.

e.g. “Low agricultural development,” “Low road density,”“Low mining density,” and “Low urban development,”and “Low logging density” contributing to “High runoffwater quality.”

Useful when a limited number of many input conditionscontribute to the output condition.

e.g. “Low agricultural development,” “Low road density,”“Low mining density,” and “Low urban development,”and “Low logging density” contributing to “High runoffwater quality.”