Let's take a look at cCombinational Logic Gate 'AND'. If you are a computer engineer or working in a field 1
of computer science, you must be already familiar with the AND gate. 2
We also know it (AND) as a truth table. 3
So please, we have a statement or we have a person and we are asking to question from this person. 4
We want to check if this person is trustworthy and we can trust him or her or not. 5
In this example, the first the answer to the first question is false. 6
So when it's totally false, we will give it a zero, then it's totally true. 7
Then we will give it a value of one. 8
The answer to both questions here are false. 9
So we gave both of them zero and our truth would be false as well. 10
We cannot trust this person, so it's zero. 11
The answer to first question is zero. 12
It's false. 13
The answer to the second question is true, and we are just showing you the value of one. 14
But still, we cannot trust this person because he or she just told us one false statement and one false 15
answer. 16
So the output would be, again, zero. 17
And we can to trust this person here is just the reverse. 18
The first answer is true. 19
The second answer is false, meaning we cannot trust this person again. 20
But if the answer to both questions are true and we have to trust a statement, then we show both of 21
them with one and we can already trust each person and we can show it with the value of one. 22
However, if you look beautiful dialogue, you may realize that it's not only totally true or totally 23
false. 24
And sometimes we have an answer, which is something between these to some degree off. 25
We have some faulty logic. 26
We have some degree of truth. 27
For example, this Alex is rich. 28
We can give it a degree of trued of zero point two, meaning this is not totally true, not totally 29
false. 30
But here is something in between. 31
Fuzzy logic emerge in a context of Toria Fuzzy sabs, which was introduced by Zadeh, Iranian scientist 32
and mathematician in ninety sixty five. 33
In a fuzzy logic. 34
We just discussed it more and we will give to our system some statement and some degree of truth. 35
OK, let me just in back to our discussion here. 36
Here we have Y and this one is over X whenever the input is zero zero I will show it here. 37
This is a point zero zero and under one is one and zero when X is one Y zero somewhere around here. 38
Another one is whenever Y is one, X is zero. 39
Here were these three zeros. 40
We are showing it with a blue circle. 41
Another output that we have here is whenever the inputs are both one. 42
So let's show it with a triangle. 43
If this is one and here we have London, one and one is somewhere around here and we are going to show 44
it with the. 45
We have two sets of data. 46
We have zero and we have one, we're looking for a line to separate these two sets of data. 47
We can already draw an infinite number of lines to separate these two sets, but we are looking for 48
the best line to have a minimum error. 49
For this purpose, we can use another method, which is called super vector machine. 50
So barbecuers machines are actually giving you the best feting line here with a minimum error. 51
We will discuss it more than we are talking about meniscal forever. 52
But for now, let us raise them. 53
We are actually doing the classification here. 54
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
a zero point five. 56
So we can write a function for this line by showing X Y is equal to one point five the output, which 57
is that we can have a function for Z already. 58
Z can get actually two values. 59
It can be zero or it can be one, then X plus Y is less than one point five here. 60
It's just covering this point, meaning the output is zero and it's false. 61
Whenever we have the one for out food, we have X plus Y greater than one point five. 62
It just shows all the outputs of one, which in this case we have only one triangle. 63
We we need to put an equal for one of them. 64
In this example. 65
It really doesn't matter where are we going to put the equal sign. 66
But based on your data, it's your call and it's your decision to put there to complete your function. 67
I'm just showing it here. 68
So here we have already a function for two table or four and gate.