Flex.EngineAdapter.Mamdani (FLex v0.2.2)

View Source

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.

Summary

Functions

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

Functions

centroid_method(fuzzy_var)

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

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

inference_engine(fuzzy_antecedent, list, consequent)