
Explore how fuzzy logic applies to home and industrial devices, from washing machines and air conditioners to vacuum cleaners, dishwashers, microwaves, and cameras, optimizing water, power, and detergent.
Understand the basics of fuzzy logic by modeling cost and benefit with multi-valued rules, partial truth, and shapes like triangle, trapezoid, shoulder trapezoid, and sigmoid.
Explore the history of fuzzy logic and understand degrees of membership and linguistic variables. Learn how membership functions quantify category belonging using temperature examples.
Apply fuzzy inference steps in Python to predict restaurant tips by defining antecedents for food and service quality, setting an output tip with linguistic categories, and building rules and falsification.
Implement practical fuzzy logic in Python using a library with pre-built functions. Compare easy and hard approaches on two samples: typing quality and service, and vacuum suction control.
Explore building a fuzzy control system for tipping, modeling service and food quality as inputs to predict tip, using Google Colab and the SickKids Fuzzy library.
Define the antecedents for the foods quality and service and the consequence for tip, with input ranges 0–10 and output range 0–20, and prepare for membership function generation.
Compute tipping rules with fuzzy logic in Python using max, min, and mean functions to map food and service quality to low, median, and high tips.
Preprocess the dataset by using iloc to select the limit and bill total columns, create x, and normalize to 0-1 with a min max scalar before clustering.
Fuzzy Logic is a technique that can be used to model the human reasoning process in computers. It can be applied to several areas, such as: industrial automation, medicine, marketing, home automation, among others. A classic example is the use in industrial equipments, which can have the temperature automatically adjusted as the equipment heats up or cools down. Other examples of equipments are: vacuum cleaners (adjustment of suction power according to the surface and level of dirt), dishwashers and clothes washing machines (adjustment of the amount of water and soap to use), digital cameras (automatic focus setting), air conditioning (temperature setting according to the environment), and microwave (power adjustment according to the type of food).
In this course, you will learn the basic theory of fuzzy logic and mainly the implementation of simple fuzzy systems using skfuzzy library. All implementations will be done step by step using the Python programming language! Below you can see the main content, which is divided into three parts:
Part 1: Basic intuition about fuzzy logic. You will learn topics such as: linguistic variables, antecedents, consequent, membership functions, fuzzification and mathematical calculations for defuzzification
Part 2: Implementation of fuzzy systems. You will implement two examples: the calculation of tips that would be given in a restaurant (based on the quality of the food and the quality of service) and the calculation of the suction power of a vacuum cleaner (based on the type of surface and the amount of dirt )
Part 3: Clustering with fuzzy c-means algorithm. We will cluster a bank's customers based on the credit card limit and the total bill. You will understand how fuzzy logic can be applied in the area of Machine Learning
All implementations will be done step by step using Google Colab on-line, so you don't need to worry about installing the libraries on your own machine. At the end, you will be able to create your own projects using fuzzy logic!