Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте 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

Завдання

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.

Рішення

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 4. Розділ 4
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

close

bookChallenge: Fuzzy Inference System

Свайпніть щоб показати меню

Завдання

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.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 4. Розділ 4
single

single

some-alt