Consider the following three simple rules to represent fuzzy
relationship between food quality and service in a restaurant as
input variables and tip amount as output variables.
1) If the food is bad OR the service is poor, then the tip will
be low
2) If the service is acceptable, then the tip will be medium
3) If the food is great OR the service is amazing, then the tip
will be high.
Given the membership functions illustrated in Figure 1 and 2 as
follows.
Using the clipped center of gravity method, compute the tip
amount based on the following circumstances:
1) Food quality was 6.0, and
2) Service was 8.0
Food quality 1.0 0.8 Bad Decent Great 0.6 0.4 0.2 0.0 0 2 10 10 Service quality 0.8 Poor Acceptable Amazing 0.6 0.4 0.2 0.0 10 Figure 1. Food Quality and Service Membership Functions
10 Tip amount 0.8 Low Medium High 0.6 0.4 0.2 0.0 5 10 15 20 25 Figure 2. Tip Membership Functions
Consider the following three simple rules to represent fuzzy relationship between food quality and service in a restaura
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am