Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: Fuzzy Inference System | Approximate Reasoning and Rule-Based Systems
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Fuzzy Logic and Approximate Reasoning

bookChallenge: Fuzzy Inference System

Tâche

Swipe to start coding

You are building a mini fuzzy inference system that determines fan speed based on temperature and humidity.

Your goal is to:

  • fuzzify crisp inputs;
  • evaluate fuzzy rules using logical operators;
  • aggregate rule outputs;
  • compute a final crisp value using centroid defuzzification.

Instructions

  1. Use the provided membership functions for:

    • temperature;
    • humidity;
    • fan speed.
  2. Fuzzify the given inputs:

    • temperature = 28;
    • humidity = 65.
  3. Evaluate the following fuzzy rules:

    • Rule 1: IF temperature is Hot OR humidity is Humid THEN fan speed is High;
    • Rule 2: IF temperature is Cool AND humidity is Dry THEN fan speed is Low.
  4. Aggregate the rule outputs over the range 0 to 80.

  5. Compute the final fan speed using centroid defuzzification.

  6. Store the result in the variable fan_speed.

Solution

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 4. Chapitre 4
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

Suggested prompts:

Can you explain this in simpler terms?

What are the main benefits or drawbacks?

Can you give me a real-world example?

close

bookChallenge: Fuzzy Inference System

Glissez pour afficher le menu

Tâche

Swipe to start coding

You are building a mini fuzzy inference system that determines fan speed based on temperature and humidity.

Your goal is to:

  • fuzzify crisp inputs;
  • evaluate fuzzy rules using logical operators;
  • aggregate rule outputs;
  • compute a final crisp value using centroid defuzzification.

Instructions

  1. Use the provided membership functions for:

    • temperature;
    • humidity;
    • fan speed.
  2. Fuzzify the given inputs:

    • temperature = 28;
    • humidity = 65.
  3. Evaluate the following fuzzy rules:

    • Rule 1: IF temperature is Hot OR humidity is Humid THEN fan speed is High;
    • Rule 2: IF temperature is Cool AND humidity is Dry THEN fan speed is Low.
  4. Aggregate the rule outputs over the range 0 to 80.

  5. Compute the final fan speed using centroid defuzzification.

  6. Store the result in the variable fan_speed.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 4. Chapitre 4
single

single

some-alt