Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Approximate Reasoning with Fuzzy Rules | Approximate Reasoning and Rule-Based Systems
Fuzzy Logic and Approximate Reasoning

bookApproximate Reasoning with Fuzzy Rules

Approximate reasoning is a powerful feature of fuzzy logic that allows you to draw conclusions even when input information is incomplete, vague, or not strictly true or false. In everyday life, you often make decisions based on imprecise data — such as judging if someone is tall or if the temperature is warm. Fuzzy rules capture this human-like reasoning by expressing knowledge in the form of if–then statements that use linguistic variables and fuzzy sets. For instance, a fuzzy rule might state: If temperature is high and humidity is low, then fan speed should be fast. Here, high, low, and fast are not precise numbers but fuzzy concepts with gradual boundaries.

When you evaluate fuzzy rules, you use the degrees of membership of your inputs to determine how strongly each rule fires. This process involves combining the fuzzy inputs using operators such as the minimum (for AND) or maximum (for OR), and then assigning an output degree that reflects the strength of the rule's conclusion. This way, fuzzy logic enables approximate reasoning by connecting vague inputs to equally flexible outputs, making it ideal for real-world control systems and decision-making where crisp logic would fail.

12345678910111213
import numpy as np # Fuzzy membership degrees for input variables # Suppose: temperature is "high" with degree 0.7, humidity is "low" with degree 0.4 temperature_high = 0.7 humidity_low = 0.4 # Fuzzy rule: IF temperature is high AND humidity is low THEN fan speed is fast # Use minimum for fuzzy AND (t-norm) rule_strength = np.minimum(temperature_high, humidity_low) print("Rule strength (degree to which rule fires):", rule_strength) # This output degree (0.4) can be used to shape the fuzzy set for "fan speed is fast"
copy
question mark

What is the main advantage of using approximate reasoning with fuzzy rules?

Select the correct answer

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 4. Capítulo 1

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

bookApproximate Reasoning with Fuzzy Rules

Deslize para mostrar o menu

Approximate reasoning is a powerful feature of fuzzy logic that allows you to draw conclusions even when input information is incomplete, vague, or not strictly true or false. In everyday life, you often make decisions based on imprecise data — such as judging if someone is tall or if the temperature is warm. Fuzzy rules capture this human-like reasoning by expressing knowledge in the form of if–then statements that use linguistic variables and fuzzy sets. For instance, a fuzzy rule might state: If temperature is high and humidity is low, then fan speed should be fast. Here, high, low, and fast are not precise numbers but fuzzy concepts with gradual boundaries.

When you evaluate fuzzy rules, you use the degrees of membership of your inputs to determine how strongly each rule fires. This process involves combining the fuzzy inputs using operators such as the minimum (for AND) or maximum (for OR), and then assigning an output degree that reflects the strength of the rule's conclusion. This way, fuzzy logic enables approximate reasoning by connecting vague inputs to equally flexible outputs, making it ideal for real-world control systems and decision-making where crisp logic would fail.

12345678910111213
import numpy as np # Fuzzy membership degrees for input variables # Suppose: temperature is "high" with degree 0.7, humidity is "low" with degree 0.4 temperature_high = 0.7 humidity_low = 0.4 # Fuzzy rule: IF temperature is high AND humidity is low THEN fan speed is fast # Use minimum for fuzzy AND (t-norm) rule_strength = np.minimum(temperature_high, humidity_low) print("Rule strength (degree to which rule fires):", rule_strength) # This output degree (0.4) can be used to shape the fuzzy set for "fan speed is fast"
copy
question mark

What is the main advantage of using approximate reasoning with fuzzy rules?

Select the correct answer

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 4. Capítulo 1
some-alt