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

bookChallenge: Fuzzy Inference System

Tarea

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.

Solución

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 4. Capítulo 4
single

single

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

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

Desliza para mostrar el menú

Tarea

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.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 4. Capítulo 4
single

single

some-alt