Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære 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

Opgave

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.

Løsning

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 4. Kapitel 4
single

single

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

close

bookChallenge: Fuzzy Inference System

Stryg for at vise menuen

Opgave

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.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 4. Kapitel 4
single

single

some-alt