Tipping Problem solved using fuzzy logic and UI implemented using tkinter. The tipping problem is commonly used to illustrate the power of fuzzy logic principles to generate complex behavior from a compact, intuitive set of expert rules.
A number of variables play into the decision about how much to tip while dining. Consider two of them:
quality : Quality of the food service : Quality of the service
The output variable is simply the tip amount, in percentage points:
tip : Percent of bill to add as tip
Window.py executes the main problemand gives the UI designed in tkinter. Fuzzy.py is the logic execution of the fuzzy controler in the program. FuzzyLofic.py is the main complete execution of the fuzzy controler that provdes the membership graphs which are not necessary in the application UI.
cd Tipping-Problem
pip install requirements.txt
python3 window.py