On two fuzzy sets A and B, Implement the following Fuzzy Set Operations:
- Sum (A+B)
- Difference (A-B)
- Cartesian product
- Union (AUB)
- Intersection of A and B
- Complement of A
Implement the following membership functions:
- Triangular
- Trapezoidal
- Gaussian
- Generalized Bell
- Sigmoidal
Find applications where you find fuzzy logic to be suitable
Find specific scenarios where Gaussian Membership function can be applied
Implement min-max and max-product composition 4
Consider a universe representing room temperature in degree C and other universe representing relative humidity given by
T = 0.4/16 +0.8/18+1.0/20+1.0/22+0.8/24+0.5/26
H= 0.2/0+0.8/20+1.0/40+0.6/60+0.2/80
Calculate the membership of “ Acceptable Temperature OR Acceptable Humidity”.
Given, following membership functions for fuzzy sets old and young ( ) ( ) ( ) ( ) Where, x is the age of the person. Calculate the value of the following:
- More or less young
- Not young and not old
- Young but not too young
- Extremely old
Given, following relations: R1 = “x is relevant to y” R2 = “y is relevant to z” 5 Where X= {1, 2, 3} Y= {a,b,c,d} Z = {one, two} Assuming appropriate values for R1 and R2, calculate the max-min composition and max product composition for (3, one).
Take different elements of a fuzzy set as user input and defuzzify using Bisector of area, Centroid of area, Mean of Maximum and Smallest of maximum.
Given, following rules: Rule 1: If BP is high and temperature is high then health is Poor Rule2: If BP is normal and temperature is normal then health is Good Rule 3: If BP is low and temperature is normal then health is Normal. Take the values of Blood Pressure and Temperature as User input and determine the health of the person. 6
Solve the Air conditioner controller problem using Fuzzy Inference System. Frame the rules. Compare the results using Mamdani, Sugeno and Tsukamoto FIS. An example of Fuzzy Rule Base could be something like this Rules Temperature Humidity Compressor speed
- Very Low Dry Off
- Very Low Comfortable Off
- Very Low Humid Off
- Very Low Sticky Low
- Low Dry Off
- Low Comfortable Off
- Low Humid Low
- Low Sticky Medium
- High Dry Low
- High Comfortable Medium
- High Humid Fast
- High Sticky Fast
- Very High Dry Medium
- Very High Comfortable Fast
- Very High Humid Fast
- Very High Sticky Fast
Design a Fuzzy logic based washing control on a Washing machine The amount of water, dirt in the cloth and other parameters will decide the time taken in washing Initialize input parameters like washing time, amount of dirt etc. -> Initialize fuzzy system with membership function-> Define fuzzy rules->Get fuzzy decision for washing time prediction 7
For any sample data set, implement Order Encoding for Travelling Salesman Problem
For any sample data set, implement Binary Encoding for 0/1 Knapsack problem
Use proper encoding technique to represent a chromosome in 8- queens problem.
Given, a population of size N, create a mating pool of Np individuals using different selection techniques that you have studied in your lectures.
Use GA to solve the following nonlinear programming problem Minimize ( ) ( )
Subject to
X1 and x2 have three and two decimal places respectively 8
- Encode using binary encoding
- Compute the fitness and perform crossover and mutation to yield optimum results.