Presentation is loading. Please wait.

Presentation is loading. Please wait.

Course Introduction Jan Jantzen Technical University of Denmark.

Similar presentations


Presentation on theme: "Course Introduction Jan Jantzen Technical University of Denmark."— Presentation transcript:

1 Course Introduction Jan Jantzen Technical University of Denmark

2 Summary Fuzzy sets, fuzzy logic Fuzzy clustering Neural nets Neuro-fuzzy modelling

3 Course Objectives To teach the fundamental concepts To show some applications

4 General Approach 1.Get plenty of good data 2.Design a linear model 3.Replace it with a nonlinear model 4.Did the results improve? Else repeat step 3.

5 True Love Wife: Do you love me? Husband (Boolean logician): Yes. Wife: How much?

6 Seasons 0 0.5 1 Time of the year Membership SpringSummerAutumnWinter

7 Tall Persons 150160170180190200 0 0.2 0.4 0.6 0.8 1 Height [cm] Membership fuzzy crisp

8 Zadeh’s Challenge Clearly, the “class of all real numbers which are much greater than 1,” or “the class of beautiful women,” or “the class of tall men,” do not constitute classes or sets in the usual mathematical sense of these terms (Zadeh, 1965).

9 Fuzzy (http://www.m-w.com) Function: adjective Inflected Form(s): fuzz·i·er; -est Etymology: perhaps from Low German fussig loose, spongy Date: 1713 1 : marked by or giving a suggestion of fuzz 2 : lacking in clarity or definition - fuzz·i·ly / 'f&-z&-lE / adverb - fuzz·i·ness / 'f&-zE-n&s / noun

10 Fuzzy (http://www.m-w.com) Function: adjective Synonyms: faint, bleary, dim, ill-defined, indistinct, obscure, shadowy, unclear, undefined, vague

11 Age 050100 0 0.2 0.4 0.6 0.8 1 Age [years] Membership Young Very young Not very young 050100 0 0.2 0.4 0.6 0.8 1 Age [years] Membership Old More or less old

12 Logic Wife: Do you like my girlfriend? Husband: Very much. Wife: Then you don’t love me.

13 A Warm Room 1015202530 0 0.5 1 Temperature [deg C] Truth Fuzzy Crisp

14 Fuzzy Logic Control Fuzzy logic control (FLC) may be viewed as a branch of intelligent control which serves as an emulator of human decision-making behaviour that is approximate rather than exact (C.C.Lee in Singh: Systems and Control Encyclopedia, 1992).

15 Rule Format R i : if x is A i and y is B i then z is C i

16 Implication IF room is warm THEN set cooling at 500 watts

17 Inference If room is warm then set cooling at 500 watts Temperature is 21 deg C Set cooling at 250 watts

18 Sets {Live dinosaurs in British Museum} = 

19 Fuzzy Sets {nice days} {adults}

20 Set Operations a) AB b) AB c) AB d) AB e) AB f) AB

21 Q: Why Logic? Example: If either the Pirates or the Cubs loose and the Giants win, then the Dodgers will be out of first place, and I will loose a bet. ((p  c)  g)  (d  b) A: Math proofs, computers

22 Boolean OR

23 Fuzzy OR

24 Tautologies 1.[p  (p  q)]  q 2.[(p  q)  (q  r)]  (p  r) 3.[p  (p  q)]  p  q

25 Q: Why fuzzy logic? A: Tolerant of imprecision

26 Papers with fuzzy in title (INSPEC+Math Reviews)

27

28 Example: Stopping a car 0y F m

29 PD Control

30 Rule base If distance is long and approach is fast, then brake zero If distance is long and approach is slow, then brake zero If distance is short and approach is fast, then brake hard If distance is short and approach is slow, then brake zero

31 Response 012345 -20 -10 0 Position [m] Time [s] 012345 -2 0 x 10 4 Control [N] Time [s] PID fuzzy

32

33 Fuzzy Clustering Find clusters in data Extract rules from data E.g., bank customer segmentation, diagnosing cancer cells

34

35

36 Cluster analysis ( www.m-w.com ) A statistical classification technique for discovering whether the individuals of a population fall into different groups by making quantitative comparisons of multiple characteristics.

37 Vehicle Example

38 Vehicle Clusters 100150200250300 500 1000 1500 2000 2500 3000 3500 Top speed [km/h] Weight [kg] Sports cars Medium market cars Lorries

39 Example: Diagnose Cancer Cells Normal smearSeverely dysplastic smear Using a small brush, cotton stick, or wooden stick, a specimen is taken from the uterin cervix and smeared onto a thin, rectangular glass plate, a slide. The purpose of the smear screening is to diagnose pre-malignant cell changes before they progress to cancer. The smear is stained using the Papanicolau method, hence the name Pap smear. Different characteristics have different colours, easy to distinguish in a microscope. A cyto-technician performs the screening in a microscope. It is time consuming and prone to error, as each slide may contain up to 300.000 cells. Dysplastic cells have undergone precancerous changes. They generally have longer and darker nuclei, and they have a tendency to cling together in large clusters. Mildly dysplastic cels have enlarged and bright nuclei. Moderately dysplastic cells have larger and darker nuclei. Severely dysplastic cells have large, dark, and often oddly shaped nuclei. The cytoplasm is dark, and it is relatively small.

40 The Perceptron Classification Learning

41 How Use A Neural Network? Classification or approximation ? Training data Examples and epoch Pattern or batch mode ? Test data Neural Network +- Compare d u y M Modifier e

42 Perceptron Hard limiter x -202 0 1 f(x) (a)(b) f(x) w0w0 w1w1 w2w2 + 1

43 Single Layer Perceptron y 1 = sgn(w 1 T u), y 2 = sgn(w 2 T u), y 3 = sgn(w 3 T u) 1 2 u1u1 u2u2 y1y1 y2y2 y3y3 3 4 5

44 Multilayer Perceptron Input layerHidden layerOutput layer

45 Case: Sunspot Cycles

46 Fuzzy Rules As A NN Pos Zero Neg 100 W1 0 W2 -100 W3 + + + / u e + + + Input layerHidden layerOutput layer

47 MFs Before And After Learning

48 ANFIS net Layer 12345 u1u1 u2u2 A1A1 A2A2 B2B2 B1B1 AND N N u 1,u 2 + y

49 Summary Fuzzy sets, fuzzy logic Fuzzy clustering Neural nets Neuro-fuzzy modelling

50 Problems Attacked Nonlinear Multivariable Operator’s rules Learning


Download ppt "Course Introduction Jan Jantzen Technical University of Denmark."

Similar presentations


Ads by Google