0
1
00:00:01,140 --> 00:00:06,750
Let's take a look at cCombinational Logic Gate 'AND'. If you are a computer engineer or working in a field
1

2
00:00:06,750 --> 00:00:12,670
of computer science, you must be already familiar with the AND gate. 
2

3
00:00:12,690 --> 00:00:14,960
We also know it (AND) as a truth table.
3

4
00:00:15,600 --> 00:00:21,110
So please, we have a statement or we have a person and we are asking to question from this person.
4

5
00:00:21,450 --> 00:00:26,730
We want to check if this person is trustworthy and we can trust him or her or not.
5

6
00:00:28,150 --> 00:00:33,100
In this example, the first the answer to the first question is false.
6

7
00:00:33,330 --> 00:00:38,580
So when it's totally false, we will give it a zero, then it's totally true.
7

8
00:00:38,580 --> 00:00:40,620
Then we will give it a value of one.
8

9
00:00:41,160 --> 00:00:44,370
The answer to both questions here are false.
9

10
00:00:44,520 --> 00:00:48,870
So we gave both of them zero and our truth would be false as well.
10

11
00:00:48,880 --> 00:00:51,570
We cannot trust this person, so it's zero.
11

12
00:00:52,710 --> 00:00:55,040
The answer to first question is zero.
12

13
00:00:55,050 --> 00:00:55,890
It's false.
13

14
00:00:56,070 --> 00:01:00,870
The answer to the second question is true, and we are just showing you the value of one.
14

15
00:01:01,230 --> 00:01:09,060
But still, we cannot trust this person because he or she just told us one false statement and one false
15

16
00:01:09,060 --> 00:01:09,710
answer.
16

17
00:01:09,960 --> 00:01:13,050
So the output would be, again, zero.
17

18
00:01:13,050 --> 00:01:17,220
And we can to trust this person here is just the reverse.
18

19
00:01:17,220 --> 00:01:19,650
The first answer is true.
19

20
00:01:19,650 --> 00:01:24,090
The second answer is false, meaning we cannot trust this person again.
20

21
00:01:24,510 --> 00:01:33,480
But if the answer to both questions are true and we have to trust a statement, then we show both of
21

22
00:01:33,480 --> 00:01:39,420
them with one and we can already trust each person and we can show it with the value of one.
22

23
00:01:40,380 --> 00:01:50,190
However, if you look beautiful dialogue, you may realize that it's not only totally true or totally
23

24
00:01:50,190 --> 00:01:50,700
false.
24

25
00:01:50,700 --> 00:01:56,970
And sometimes we have an answer, which is something between these to some degree off.
25

26
00:01:56,970 --> 00:01:58,590
We have some faulty logic.
26

27
00:01:58,590 --> 00:02:00,210
We have some degree of truth.
27

28
00:02:00,750 --> 00:02:03,540
For example, this Alex is rich.
28

29
00:02:03,690 --> 00:02:10,410
We can give it a degree of trued of zero point two, meaning this is not totally true, not totally
29

30
00:02:10,410 --> 00:02:10,860
false.
30

31
00:02:10,860 --> 00:02:12,930
But here is something in between.
31

32
00:02:13,500 --> 00:02:21,720
Fuzzy logic emerge in a context of Toria Fuzzy sabs, which was introduced by Zadeh, Iranian scientist
32

33
00:02:21,720 --> 00:02:25,590
and mathematician in ninety sixty five.
33

34
00:02:25,950 --> 00:02:27,720
In a fuzzy logic.
34

35
00:02:27,720 --> 00:02:34,490
We just discussed it more and we will give to our system some statement and some degree of truth.
35

36
00:02:35,730 --> 00:02:39,690
OK, let me just in back to our discussion here.
36

37
00:02:40,380 --> 00:02:48,040
Here we have Y and this one is over X whenever the input is zero zero I will show it here.
37

38
00:02:48,070 --> 00:02:56,190
This is a point zero zero and under one is one and zero when X is one Y zero somewhere around here.
38

39
00:02:57,000 --> 00:03:01,890
Another one is whenever Y is one, X is zero.
39

40
00:03:02,010 --> 00:03:04,350
Here were these three zeros.
40

41
00:03:04,350 --> 00:03:06,600
We are showing it with a blue circle.
41

42
00:03:07,670 --> 00:03:12,420
Another output that we have here is whenever the inputs are both one.
42

43
00:03:13,320 --> 00:03:15,300
So let's show it with a triangle.
43

44
00:03:17,900 --> 00:03:26,060
If this is one and here we have London, one and one is somewhere around here and we are going to show
44

45
00:03:26,060 --> 00:03:26,660
it with the.
45

46
00:03:29,170 --> 00:03:31,040
We have two sets of data.
46

47
00:03:31,480 --> 00:03:39,820
We have zero and we have one, we're looking for a line to separate these two sets of data.
47

48
00:03:40,420 --> 00:03:48,760
We can already draw an infinite number of lines to separate these two sets, but we are looking for
48

49
00:03:48,760 --> 00:03:52,230
the best line to have a minimum error.
49

50
00:03:52,870 --> 00:03:57,690
For this purpose, we can use another method, which is called super vector machine.
50

51
00:03:58,210 --> 00:04:05,390
So barbecuers machines are actually giving you the best feting line here with a minimum error.
51

52
00:04:05,530 --> 00:04:09,760
We will discuss it more than we are talking about meniscal forever.
52

53
00:04:09,760 --> 00:04:12,550
But for now, let us raise them.
53

54
00:04:12,790 --> 00:04:15,460
We are actually doing the classification here.
54

55
00:04:15,980 --> 00:04:24,400
I'm going to choose two points here and let's say this is a half zero point five and this one is also
55

56
00:04:24,400 --> 00:04:25,570
a zero point five.
56

57
00:04:25,570 --> 00:04:35,530
So we can write a function for this line by showing X Y is equal to one point five the output, which
57

58
00:04:35,530 --> 00:04:39,250
is that we can have a function for Z already.
58

59
00:04:39,460 --> 00:04:41,320
Z can get actually two values.
59

60
00:04:41,320 --> 00:04:50,790
It can be zero or it can be one, then X plus Y is less than one point five here.
60

61
00:04:51,130 --> 00:04:55,390
It's just covering this point, meaning the output is zero and it's false.
61

62
00:04:55,990 --> 00:05:02,670
Whenever we have the one for out food, we have X plus Y greater than one point five.
62

63
00:05:03,700 --> 00:05:09,370
It just shows all the outputs of one, which in this case we have only one triangle.
63

64
00:05:10,050 --> 00:05:12,970
We we need to put an equal for one of them.
64

65
00:05:13,420 --> 00:05:14,320
In this example.
65

66
00:05:14,320 --> 00:05:18,130
It really doesn't matter where are we going to put the equal sign.
66

67
00:05:18,400 --> 00:05:24,430
But based on your data, it's your call and it's your decision to put there to complete your function.
67

68
00:05:24,610 --> 00:05:26,310
I'm just showing it here.
68

69
00:05:27,520 --> 00:05:34,660
So here we have already a function for two table or four and gate.
