Wolfram Research
Fuzzy Logic Products / Fuzzy Logic
-----

Example 1: Classifying Houses

Problem. A realtor wants to classify the houses he offers to his clients. One indicator of comfort of these houses is the number of bedrooms in them. Let the available types of houses be represented by the following set.

U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}

The houses in this set are described by u number of bedrooms in a house. The realtor wants to describe a "comfortable house for a 4-person family," using a fuzzy set.

Solution. The fuzzy set "comfortable type of house for a 4-person family" may be described using a fuzzy set in the following manner.

HouseForFour = FuzzySet[{{1, .2}, {2, .5}, {3, 
.8}, {4, 1}, {5, .7}, {6, .3}}, UniversalSpace -> {1, 10}] ;

FuzzyPlot[HouseForFour, ShowDots -> True] ;

[Graphics:HTMLFiles/house_3.gif]

Any questions about topics on this page? Click here to get an individual response.