visionbike / ME5061-Intelligent-Systems-Theory-and-Practice

0 stars 8 forks source link

Asking about add_antecedent_clause in fuzzy_rule.py #3

Closed Ping-Jung closed 2 years ago

Ping-Jung commented 2 years ago

Hi TA: May I ask about how to add multiple rules in the (add antecedent variables) function in fuzzy_rules.py? The function only allows two input variables (like "Temperature", and "Hot"), but we have to combine two antecedent into one rule (like "Temperature" "Hot" and "Humidity" "Wet" into one antecedent), should we separate the antecedent_clauses from add rules(in fuzzy system) first,? but then, how do the system combine it? Also may I ask about what is "variable is set" in the param var? 擷取

visionbike commented 2 years ago

Hi, I have updated new instructions inside the code, please check and update your local repo.

Kind regards,

Thien-Phuc (Fellix)

Vào Th 7, 19 thg 3, 2022 vào lúc 14:40 Ping-Jung @.***> đã viết:

Hi TA: May I ask about how to add multiple rules in the (add antecedent variables) function in fuzzy_rules.py? The function only allows two input variables (like "Temperature", and "Hot"), but we have two combine two antecedent into one rule (like "Temperature" "Hot" and "Humidity" and "Wet" into one antecedent), should we separate the antecedent_clauses from add rules(in fuzzy system) first,? but then, how do the system combine it? Also may I ask about what is "variable is set" in the param var? [image: 擷取] https://user-images.githubusercontent.com/79309902/159110509-5866eed7-7626-4d70-bb6a-0a5510b83c56.JPG

— Reply to this email directly, view it on GitHub https://github.com/visionbike/ME5061-Intelligent-Systems-Theory-and-Practice/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIDB6SJ3HONQPKRHEJ6EOPLVAVZEDANCNFSM5RDTKZIA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: <visionbike/ME5061-Intelligent-Systems-Theory-and-Practice/issues/3@ github.com>