WeightedDefuzzifier
WeightedDefuzzifier
¶
Bases: Defuzzifier
Abstract class for defuzzifiers that compute a weighted function on the fuzzy set.
related
Attributes¶
Classes¶
Type
¶
Functions¶
__init__
¶
__repr__
¶
__repr__() -> str
Return the code to construct the defuzzifier in Python.
Returns:
Type | Description |
---|---|
str
|
code to construct the defuzzifier in Python. |
configure
¶
configure(parameters: str) -> None
Configure the defuzzifier with the parameters.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
parameters |
str
|
list of space-separated parameter values |
required |
defuzzify
abstractmethod
¶
Implement the defuzzification of the term.
Warning
From version 8, the aggregation operator is used to aggregate multiple activations of the same term.
In previous versions, the implication and aggregation operators are not used for weighted defuzzification.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
term |
Term
|
term to defuzzify |
required |
minimum |
float
|
irrelevant |
nan
|
maximum |
float
|
irrelevant |
nan
|
Returns:
Type | Description |
---|---|
Scalar
|
defuzzified value |