0% found this document useful (0 votes)
27 views

03 - Fuzzy Tutorial 2 - Salary

This document describes a fuzzy logic system to determine salary based on education and experience. The inputs are years of education and experience on scales of low, medium, and high. The output is salary on a scale of very low, low, medium, high, and very high. It provides membership functions for the inputs and outputs, as well as 9 rules relating education and experience levels to salary levels. Exercises are included to apply the fuzzy logic system.

Uploaded by

YUSRIZAL AIZAL
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views

03 - Fuzzy Tutorial 2 - Salary

This document describes a fuzzy logic system to determine salary based on education and experience. The inputs are years of education and experience on scales of low, medium, and high. The output is salary on a scale of very low, low, medium, high, and very high. It provides membership functions for the inputs and outputs, as well as 9 rules relating education and experience levels to salary levels. Exercises are included to apply the fuzzy logic system.

Uploaded by

YUSRIZAL AIZAL
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

LAB 5: FUZZY LOGIC INFERENCE - SALARY

To demonstrate the use of fuzzy expert system, a fuzzy system to determine the salary for a
candidate based on his/her education and experience.

The inputs are:


X1 = years of education = {low, medium, high}, ranging from 0 to 14 years
X2 = years of experience = {low, medium, high}, ranging from 0 to 30 years
The output is:
Y = salary = {very low, low, medium, high, very high}, ranging from RM0,000 to RM10,000

Membership Function – Education Rules


1. If Education is LOW and Experience is LOW, then
Medium
1 Salary is VERY LOW
Low 2. If Education is LOW and Experience is MEDIUM,
High
then Salary is LOW
3. If Education is LOW and Experience is HIGH, then
Salary is MEDIUM
4. If Education is MEDIUM and Experience is LOW,
then Salary is VERY LOW
5. If Education is MEDIUM and Experience is
MEDIUM, then Salary is MEDIUM
0 7 14 6. If Education is MEDIUM and Experience is HIGH,
Education
then Salary is HIGH
Membership Function – Experience 7. If Education is HIGH and Experience is LOW, then
Medium Salary is MEDIUM
1
Low High 8. If Education is HIGH and Experience is MEDIUM,
then Salary is HIGH
9. If Education is HIGH and Experience is HIGH, then
Salary is VERY HIGH

Exercises:
1. Fill in the table below representing all the rules
Education/
LOW MEDIUM HIGH
0 15 30 Experience
Experience LOW
Membership Function – Salary MEDIUM
Very Low Low Medium High Very High HIGH
1

2. For the following inputs X1 and X2:


X1 (Education) = 6 years
X2 (Experience) = 16 years
3. Sketch the membership area and output for every
rule
4. Determine the final output using Mamdani's style
fuzzy inference
0 5 10 5. Apply Matlab's FIS to verify your answers
Salary 6. By using your fuzzy salary application, determine
the final output when X1=10 and X2=22

Subject Code: FSB33303

Subject Name: Artificial Intelligence Page: 1 of 1

You might also like