Membership Functions
Membership Functions
Membership functions
2012
2012
4.1.1. Triangular
Defined by its lower limit a, its upper limit b, and the modal value m, so that a < m < b. We call the value b-m margin when it is equal to the value m a.
2012
4.1.2. Singleton
It takes the value 0 in all the universe of discourse except in the point m, where it takes the value 1. It is the representation of a crisp value.
2012
4.1.3. L-Function
This function is defined by two parameters a and b, in the following way:
2012
This function is characterized by a rapid growth starting from a. k determines the rate of growth It has a horizontal asymptote in 1.
2012
2012
2012
4.1.6. S Function
Defined by its lower limit a, its upper limit b, and the value m or point of inflection so that a <m <b. A typical value is m = (a + b) / 2. Growth is slower when the distance a b increases.
2012
2012
10
2012
11
So a Physician will choose the following membership functions for Fever and Blood Pressure. With regard to medical diagnosis; the framework of fuzzy sets is very useful to deal with the absence of sharp boundaries of the sets of symptoms, diagnoses, and phenomena of diseases.
2012
12
This function is not Convex in the sense that every point on the line connecting two points a and b in A is also in A.
2012
13
A Convex fuzzy set is described by a membership function whose membership values are strictly monotonically increasing, or whose membership values are strictly monotonically decreasing, or whose membership values are strictly monotonically increasing then strictly monotonically decreasing with increasing values for elements in the universe. Said another way, if, for any elements x, y, and z in a fuzzy set A , the relation x < y < z implies that A(y) min[A(x),A(z)]
2012
14
Examples of membership functions. Read from top to bottom, left to right: (a) s_function, (b) -function, (c) z_function, (d-f) triangular versions, (g-i) trapezoidal versions, (j) flat - function, (k) rectangle, (l) singleton
2012 15
4.1.10. Comments
In general, the trapezoid function adapts quite well to the definition of any concept, with the advantage that it is easy to define, easy to represent, and simple to calculate. In specific cases, the extended trapezoid is very useful. This allows greater expressiveness through increased complexity. In general, the use of a more complex function does not give increased precision, as we must keep in mind that we are defining a fuzzy concept. Concepts that require a nonconvex function can be defined. In general, a nonconvex function expresses the union of two or more concepts whose representation is convex.
2012
16
2012
17
h((x)) = (x)
Example of hedges that can modify a fuzzy set Where >1 is named a strong modifier (Concentrator) and <1 is named a weak modifier (Dilator)
18
2012
Hedge A little
Mathematical Expression
Graphical Representation
Slightly
Very
Extremely
2012
19
Mathematical Expression
Graphical Representation
[A ( x )]4
A ( x )
More or less
Somewhat
A ( x ) 2 [A ( x )]2
Indeed
if 0 A 0.5
1 2 [1 A ( x )]2
if 0.5 < A 1
2012
21
Linguistic concepts are vague, and their meanings are almost context-dependent. For example/the concept of large distance has different meanings in the contexts of walking, driving, or air travel. The concepts cheap, expensive, very expensive, and so on, depend not only on the items to which they are applied (e.g., a house versus a vacation trip), but also on the influence of the buyer and a host of other circumstances. Concepts such as beautiful, pleasing, painful, or talented have many different meanings, which may differ from person to person even under the same circumstances. The scenario of the construction of fuzzy sets involves a specific knowledge domain of interest, one or more experts in this domain, and a knowledge engineer.
2012
22
2. Or he may define a membership function completely in terms of a justifiable mathematical formula. This may be facilitated by asking the expert questions of the form "What is the degree of membership of x in A?" or, alternatively, "What is the degree of compatibility of x with LA ?" where LA is the linguistic term (hedge) that we want to represent in a given context by fuzzy set A. If desirable, the questions may be formulated in reverse form:
2012
23
"Which elements x have the degree (x) of membership in A?" "Which elements x are compatible with LA to degree A(x) ? These questions, regardless of their form, result in a set of pairs (x, (x)) . This set is then used for constructing the membership function A of a given shape (triangular, trapezoidal, S-shaped, bell-shaped, etc.) by an appropriate curve-fitting method.
2012
24
For example, in pattern recognition of handwritten characters, the expert may define a fuzzy set of straight lines, S, in terms of the least square straight-line fitting with minimum error, e(x), for each given line x. Then, the function
where et is the largest acceptable least square error, is a meaningful membership function that captures quite well the linguistic concept straightness in the context of handwritten character recognition.
2012
25
2012
26
It is, however, often useful to generalize this interpretation by allowing one to distinguish degrees of competence, ci, of the individual experts. This results in the formula
Where
2012
27
Examples The following is a brief characterization of two experiments: 1. The first experiment involves the subjective perception of each participant of the notion of tall persons. It uses a life-sized wooden figure of adjustable height. 2. The second experiment involves the notion of aesthetically pleasing houses among one-story houses of fixed width and variable heights. A cardboard model of a house is used, which consists of a chimney and a triangular roof sitting on a rectangle of width 12 inches and of height adjustable from 0 inches to 34 inches.
2012
28
Height in inches
2012
29
2012
31
Since values of f(x) can lie outside the range [0,1], function f cannot be directly considered as the sought membership function . We may convert f to the required function by the formula f*(x) = max[0, min[1, f(x)]
2012
32
Example To realize some difficulties involved in using this method for constructing membership functions, let us consider the following sample data: (0, 0), (.5, .2), (.8, .9), (1,1), (1.2, .9), (1.5, .2), (2, 0). These data are shown graphically in Fig. a. Then: f( x ) = 6.53x6 - 39.17x5 + 92.69x4 - 109.65x3 + 64.26x2 - 13.66x whose graph is shown in Fig. b. Applying now the modification to limit f(x) between in the range [0,1],we obtain function A whose graph is given in Fig. c. We can see on intuitive grounds that this function is not a reasonable representation of the data outside the interval [0, 2], It can be corrected by assuming that the estimated support of A is the interval [0, 2]. The corrected function is shown in Fig.d.
2012
33
2012
34
Interval-valued membership function: Suppose the level of information is not adequate to specify membership functions with precision. For example, we may only know the upper and lower bounds of membership grades for each element of the universe for a fuzzy set. Such a fuzzy set would be described by an interval-valued membership function, such as the one shown in Fig. In this figure, for a particular element, x = z, the membership is a fuzzy set A, i.e., A (z), would be expressed by the membership interval [1, 2]. Interval-valued fuzzy sets can be generalized further by allowing their intervals to become fuzzy. Each membership interval then becomes an ordinary fuzzy set.
2012
35