defuzzifier {frbs} | R Documentation |
Defuzzifier to transform from linguistic terms to crisp values
Description
Defuzzification is a transformation that extracts the crisp values from the linguistic terms.
Usage
defuzzifier(data, rule = NULL, range.output = NULL,
names.varoutput = NULL, varout.mf = NULL, miu.rule,
type.defuz = NULL, type.model = "TSK", func.tsk = NULL)
Arguments
data |
a matrix ( |
rule |
a list or matrix of fuzzy IF-THEN rules, as discussed in |
range.output |
a matrix ( |
names.varoutput |
a list for giving names to the linguistic terms. See |
varout.mf |
a matrix constructing the membership function of the output variable.
See |
miu.rule |
the results of the inference module. See |
type.defuz |
the type of defuzzification to be used as follows.
|
type.model |
the type of the model that will be used in the simulation.
Here, |
func.tsk |
a matrix used to build the linear equation for the consequent part
if we are using Takagi Sugeno Kang. See also |
Details
In this function, there exist two kinds of models which are based on the Mamdani and
Takagi Sugeno Kang model.
For the Mamdani model there are five methods for defuzzifying a linguistic term A
of a universe
of discourse Z
.
They are as follows:
weighted average method (
WAM
).first of maxima (
FIRST.MAX
).last of maxima (
LAST.MAX
)mean of maxima (
MEAN.MAX
).modified center of gravity (
COG
).
Value
A matrix of crisp values
See Also
fuzzifier
, rulebase
, and inference