View Source Flex.EngineAdapter.Mamdani (FLex v0.2.1)

Mamdani fuzzy inference was first introduced as a method to create a control system by synthesizing a set of linguistic control rules obtained from experienced human operators. In a Mamdani system, the output of each rule is a fuzzy set. Since Mamdani systems have more intuitive and easier to understand rule bases, they are well-suited to expert system applications where the rules are created from human expert knowledge, such as medical diagnostics.

Link to this section Summary

Functions

Turns an consequent fuzzy variable (output) from a fuzzy value to a crisp value (centroid method).

Link to this section Functions

Link to this function

centroid_method(fuzzy_var)

View Source
@spec centroid_method(Flex.Variable.t()) :: float()

Turns an consequent fuzzy variable (output) from a fuzzy value to a crisp value (centroid method).

Link to this function

inference_engine(fuzzy_antecedent, list, consequent)

View Source