Click or drag to resize
Accord.NET (logo)

CentroidDefuzzifierDefuzzify Method

Centroid method to obtain the numerical representation of a fuzzy output. The numerical value will be the center of the shape formed by the several fuzzy labels with their constraints.

Namespace:  Accord.Fuzzy
Assembly:  Accord.Fuzzy (in Accord.Fuzzy.dll) Version: 3.8.0
Syntax
public float Defuzzify(
	FuzzyOutput fuzzyOutput,
	INorm normOperator
)
Request Example View Source

Parameters

fuzzyOutput
Type: Accord.FuzzyFuzzyOutput
A FuzzyOutput containing the output of several rules of a Fuzzy Inference System.
normOperator
Type: Accord.FuzzyINorm
A INorm operator to be used when constraining the label to the firing strength.

Return Value

Type: Single
The numerical representation of the fuzzy output.

Implements

IDefuzzifierDefuzzify(FuzzyOutput, INorm)
Exceptions
ExceptionCondition
ExceptionThe numerical output is unavaliable. All memberships are zero.
See Also