I am implementing a fuzzy-logic system with the following rules.
inputs:
- temperature [0, 10]
- humidity [0, 10]
rules:
- IF temperature IS very_high THEN danger IS high
- IF humidity IS normal THEN danger IS low
- ...
Now, if the input of the system activates these rules (ex: temperature=9 and humidity=2), I will get an output similar to:
- -
- - - -
- - - -
- - - -
-----------------------------
Danger: low medium high
The COG will give me an output value within the medium range.
My problem is, we know (just by looking at the plot) the danger is high and I don't want to "attenuate" the output value because of the low danger "triangle".
Should I use other deffuzification method? or other activation/accumulation method? I think I might get what I want using weights for each rules, but is this the best way of doing it?