Fuzzy logic vs probability

6k Views Asked by At

In reading about fuzzy logic it says that fuzzy logic is different from probability. Can some one please explain how these two differ. How can this be explained to a person with no mathematical background. Please explain the difference of fuzzy logic and probability with a example that can be understood in general.

3

There are 3 best solutions below

4
On BEST ANSWER

Let's use a simple example of your height. In probability you would define your height as a particular crisp value such as 72 inches. You might then discuss uncertainty and say that you are 90% confident that your height is 72 $\pm$0.5 inches. In probability , you assume that each person has a crisp value of height (i.e. there is a right answer to the question "How tall are you?") and we try to determine how likely we are going to be correct in making statements about these crisp values. In fuzzy logic, we would describe height using different terms such as "tall", "very tall", "moderately tall", etc. Each of these sets includes a range of heights. Tall might be from 68 to 76 inches, "very tall" might be from 73 to 80 inches, "moderately tall" might be from 67 to 72 inches. So a given person's height might be described by more than one set. If one was, for example, 74 inches he would be in the "tall" and "very tall" set. The other thing about fuzzy sets is that set membership is not binary. In classical logic, an element is either in or our of the set. In fuzzy logic membership in a set is a continuum, so one can be 40% in the "tall" set and 70% in the "very tall" set.

So to sum up, probability assumes that there is a definite numerical height that we can try to make assertions about, but there is a true value (which may not be known to us). Fuzzy logic deals with fuzzy sets which cover ranges of values and are not mutually exclusive.

3
On

Fuzzy logic and probability theory are two independent sources of indeterminacy in judging if an element $x\in A\,$ is in a set. If $\,x\,$ is precisely known and $A\,$ is clearly defined, then $\,x\in A\,$ is either true or false, following the "law of excluded middle". This is how classical logic works.

Probability theory points out one way to turn the answer into a "maybe". If the value of $\,x\,$ is not known exactly (or not known at all) but we only have a sense of what values are more likely than others, then we can describe what we know about the value of $\,x\,$ not using one particular real number, but using a distribution over the possible real numbers to tell how probable they are. An example would be throwing two fair dices. The sum $\,x\,$ of the points would be more likely to be a $7$ than to be a $2$ or $12$ simply because there are more ways to get a $7$.

Fuzzy logic offers another way to have a "maybe" answer $-$ if the set $A\,$ is fuzzy. Still using the dice example, if we consider events like "$x=7$", "$x>9$", "$x\leq 3$", "$x$ is odd", "$x$ is prime", etc., we find that the only indeterminacy is that we don't know $x$. Once $x$ is known (e.g. after you throw the two dices), whether these events happen or not are clearly defined. Now consider this event:

$$x\mbox{ is big.}$$

This time, even if the value of $\,x\,$ is given (e.g. $x=10$), whether it is considered big is not clearly defined, because the set of "big numbers" is fuzzy. $x=12$ would impress almost all of your friends in a party; $x=11$ may still impress the majority of them; $x=10$ may impress only half of them or less, and so on. So every point sum $\,x\,$ is "big" to some extent. For some $\,x\,$, the truth value is close to $1$ (e.g.$\,x=12$), and for some $\,x\,$, the truth value is close to $0$ (e.g.$\,x=2$).

0
On

On a theoretical level, it goes back to Aristotle's Law of the Excluded Middle that states a statement must be either True or False. This is one of the axioms (foundations) of probability. It is seen but the equation P(f) + P(t) = 1. This is also shown in "crisp" sets in which some object is either a member of a set or it is not.

This works well for things that can be empirically measured. But falls apart when trying to deal with non-empirical things, the best example being natural language. Here there are gray areas.

For example a grading scale often used 90-80-70-60. After tedious arguments about rounding,etc, an empirical line is drawn. Grades > 90 are A. Grades < 90 are Not A. This is pretty much how things work.

However, this falls apart when linguistic terms are used. Assume the highest category is "Superior". Empirically a 90 is "Superior" but an 89.999999 is not which is not an accurate reflection of the reality that both students are the same.

FINALLY, in fuzzy logic the two students would receive several "Possibilities". There is a 1% chance that one or both are "Poor", 25% chance that they are Average, 50% chance that they are "Above Average" and a 50% chance that one or both are "Superior".

Notice that the possibilities do not add up to 100%. MAYBE (a term not allowed in probability) one or both are Superior and MAYBE one or both are Above Average. There is a very small POSSIBILITY that one or both are poor and it is POSSIBLE that they are Average

Then there's some mathematical jujitsu to "Defuzzify" the score to a single number if needed.