SlideShare a Scribd company logo
1 of 104
Applied Artificial Intelligence
UNIT-2
Topics To Be Covered
Probability Theory: Joint probability,
conditional probability, Bayes’ theorem,
probabilities in rules and facts of rule
system, cumulative probabilities, rule
system and Bayesian method
Fuzzy Sets and Fuzzy Logic: Fuzzy Sets,
Fuzzy set operations, Types of Member
Functions, Multivalued Logic, Fuzzy Logic,
Linguistic variables and Hedges, Fuzzy
propositions, inference rules for fuzzy
propositions, fuzzy systems, possibility
theory and other enhancement to Logic
PPT BY : MADHAV MISHRA 2
Probability Theory
 In order to discuss probability theory in detail, let us review a few basic concepts of this theory.
 The term probability is defined as a way of turning an opinion or an expectation into a number lying
between 0 and 1.
 It basically reflects the likelihood of an event, or a chance that a particular event will occur.
 Assume a set S(known as sample space) consisting of independent events representing all possible
outcomes of a random experiment.
 Every, non-empty subset A of sample space S is called an event
 The empty set is called an impossible event, whereas S is called a sure event.
 Let us denote the probability of an event A by P(A), it is defined as follows:
P(A) = (No.of outcomesfavourite to A) / (Totalnumberof possible outcomes)
PPT BY : MADHAV MISHRA
3
 The Probability of all events, {A1, A2, ….An}, must sum up to certainty, that is P(A1)+P(A2)…..+P(An)= 1.
 An impossible event has a probability of 0, while a certain event has a probability 1.
 Consider an example of tossing a coin, the probability of throwing two successive heads with a fair coin
is found to be 0.25.
 Let us see how we got this, there are only four possible outcome {HH, HT, TH, TT} of throwing a fair
coin twice successively.
 Here, H represents head, while T represents tail. Since there is only one way of getting HH out of
four, the probability =1/4 = 0.25.
 Axioms of Probability:
 If S represents a sample space and A and B represent events, then the following axioms hold true.
 Here, A’ represents complement of set A.
PPT BY : MADHAV MISHRA 4
PPT BY : MADHAV MISHRA 5
Joint Probability
 Joint probability is defined as the probability of occurrence of two independent events in conjunction.
 That is, joint probability refers to the probability of both events occurring together.
 The joint probability of A and B is written as P(A ∩ B) or P(A and B). It may be defined as given below:
P(AandB) = P(A)* P(B)
 Two events are said to be independent if the occurrence of one event does not affect the probabilities of
occurrence of the other.
 Consider an example of tossing of two fair coins separately. The probability of getting a head H on tossing the
first coin is denoted by P(A) = 0.5, and the probability of getting a head on tossing the second coin is denoted
by P(B) = 0.5. The probability of getting H on both the coins is called Joint Probability and is represented as P(A
and B). It is calculated as follows:
P(A and B) = P(A) * P(B)
= 0.5 * 0.5
= 0.25
PPT BY : MADHAV MISHRA
6
 Similarly, the probability of getting a head H on tossing one or both coins can be calculated. It is called
union of the probabilities P(A) and P(B), and is denoted by P(A U B), it is also written as P(A or B).
• It can be calculated for the above example as follows:
P(A or B) = P(A) + P(B) - P(A) * P(B)
= 0.5 + 0.5 – 0.25
= 0.75
PPT BY : MADHAV MISHRA 7
PPT BY : MADHAV MISHRA 8
PPT BY : MADHAV MISHRA 9
PPT BY : MADHAV MISHRA 10
Bayes’ Rule
PPT BY : MADHAV MISHRA 11
Bayes’ theorem
 Bayes’ theorem was developed by
mathematician Thomas Bayes in the
year 1763.
 This theorem provides a
mathematical model for reasoning
where prior belief’s are combined
with evidence to get estimates of
uncertainty.
 It relates the conditional probability
and probabilities of events.
PPT BY : MADHAV MISHRA 12
PPT BY : MADHAV MISHRA 13
PPT BY : MADHAV MISHRA 14
Extension of Bayes’ Theorem
 So far we have studied Bayes’ theorem with one hypothesis and one event or evidence.
 We can extend Bayes’ theorem to include more than two events.
 Different possibilities are discussed as given below:
 One Hypothesis & Two Evidence
 One Hypothesis & Multiple Evidence
 Chain Evidence
 Multiple Hypothesis & Single Evidence
 One Hypothesis & Multiple Evidence
PPT BY : MADHAV MISHRA 15
Probabilities in rules and facts of rule based system
 Basic probability theory can be used when we have probable facts and rules.
 In real-life situations, facts may also be probably true.
 Probabilities can be added to both facts and rules.
 It should be noted that probabilities are specified by domain expert on the basis of their experience.
 The following are some examples to illustrate the incorporation of probabilities in facts and rules represented in
PROLOG:
 A fact ‘battery in a randomly picked computer is dead 2% of the time’ can be expressed in PROLOG as
battery_dead_computer(0.02)
 This fact indicates that battery is dead in computer is sure with probability 0.02.
 Similarly probabilities can also be added to rules.
 Consider the following probable rules and their corresponding PROLOG representation
 The rule ‘ IF 25% of the time when the computer does not work, it is true that it’s battery is dead’ can be
expressed in PROLOG as battery_dead_computer(0.25): computer_not_start(1.0)
 Here, 0.25 is the rule probability.
PPT BY : MADHAV MISHRA
16
Cumulative Probabilities
 For the rules discussed in the above section, if we wish to reason about whether the battery in
computer is dead, we should gather all relevant rules and facts.
 It is very important to combine the probabilities from the facts and successful rules to get a
cumulative probability of the battery being dead.
 The following two situations will arise:
 If sub goals of a rule are probable, then the probability of the rule of succeed should take
care of the probable sub goals.
 If rules with the same conclusion have different probabilities, then the overall probability of
the rule has to be found.
PPT BY : MADHAV MISHRA 17
 The first situation is resolved by simple computing cumulative probability of the conclusion with the
help of and- combination assuming that all sub goals are independent.
 In this case, probabilities of sub goals in the right side of rule of rule are multiplied using joint
probability formula as shown below:
Prob(A and B and C and…) = Prob(A) * Prob(B) * Prob(C) * …
 The second situation is handled by using or-combination to get the overall probability of
predicate in the head of rule.
 If events are mutually independent, the following formula is used to obtain the OR Probability:
Prob(A and B and C and…) = 1 – [(1- Prob(A)) (1- Prob(B)) (1- Prob(C))….]
PPT BY : MADHAV MISHRA 18
Rule based system
using probability
PPT BY : MADHAV MISHRA
 Let us develop a simple rule-
based system for the diagnosis
of malfunctioning of some
equipment, say a landline
telephone using the concept of
probabilities.
 As a first step, various situations
under which the telephone does
not work properly are identified
with the help of experts of this
domain.
 For Example, we can think of the
following reasons for the
malfunctioning of telephones:
19
PPT BY : MADHAV MISHRA
20
Bayesian Method
 Bayesian network are useful for both inferential exploration of previously undetermined
relationships among variables and descriptions of these relationship upon discovery.
 The following are some advantages and disadvantages of Bayesian method:
 Advantages:
 Bayesian method is based on as strong theoretical foundation in probability theory, it is
currently the most advanced of all certainty reasoning methods.
 This method has well-defined semantics for decision making.
 Disadvantages:
 The system using Bayesian approach needs quite a large amount of probability data to
construct a knowledge base.
PPT BY : MADHAV MISHRA
21
 Bayesian theory provides an attractive basis for an uncertain reasoning system.
 Several mechanism have been developed to utilize the power of this theory and the ease of its
implementation.
 Some of these are listed below:
 Bayesian Belief Network.
 Certainty Factor Theory.
 Dempster- Shafer Theory.
PPT BY : MADHAV MISHRA 22
PPT BY : MADHAV MISHRA 23
PPT BY : MADHAV MISHRA 24
Fuzzy Sets
 The concept of a fuzzy set was published in 1965 by Lotfi A. Zadeh (see also Zadeh 1965).
 Since that seminal publication, the fuzzy set theory is widely studied and extended.
 Its application to the control theory became successful and revolutionary especially in seventies
and eighties, the applications to data analysis, artificial intelligence, and computational
intelligence are intensively developed, especially, since nineties.
 The theory is also extended and generalized by means of the theories of triangular
norms and aggregation operators.
PPT BY : MADHAV MISHRA 25
 Fuzzy sets can be considered as an extension and gross
oversimplification of classical sets.
 It can be best understood in the context of set membership.
 Basically it allows partial membership which means that it
contain elements that have varying degrees of membership in
the set.
 From this, we can understand the difference between classical
set and fuzzy set.
 Classical set contains elements that satisfy precise properties
of membership while fuzzy set contains elements that satisfy
imprecise properties of membership.
PPT BY : MADHAV MISHRA 26
Classical Set
PPT BY : MADHAV MISHRA 27
PPT BY : MADHAV MISHRA
28
PPT BY : MADHAV MISHRA 29
PPT BY : MADHAV MISHRA 30
Fuzzy Set
Operations
PPT BY : MADHAV MISHRA 31
PPT BY : MADHAV MISHRA 32
PPT BY : MADHAV MISHRA 33
PPT BY : MADHAV MISHRA 34
Types of Membership Functions
PPT BY : MADHAV MISHRA
35
PPT BY : MADHAV MISHRA 36
PPT BY : MADHAV MISHRA 37
PPT BY : MADHAV MISHRA 38
PPT BY : MADHAV MISHRA 39
PPT BY : MADHAV MISHRA 40
PPT BY : MADHAV MISHRA 41
PPT BY : MADHAV MISHRA 42
PPT BY : MADHAV MISHRA 43
PPT BY : MADHAV MISHRA 44
PPT BY : MADHAV MISHRA 45
Multivalued Logic
 Multivalued logic is defined as a logical system in which there are more than two truth values.
 Traditionally, two-valued logic is binary logic where there are only two possible truth values, i.e.
Truth & False for any proposition.
 An obvious extension of classical two-valued logic is three-valued logic denoting truth, false &
indeterminate (indeterminacy) represented as (1, 0 and 1/2).
 Three- valued logic can be easily generalized to n-valued logic.
 Relations used in Multi-valued logic are:
 Relation of multi-valued logic to classical logic.
 Relation of multi-valued logic to fuzzy logic.
PPT BY : MADHAV MISHRA 46
PPT BY : MADHAV MISHRA 47
PPT BY : MADHAV MISHRA 48
Fuzzy Logic
PPT BY : MADHAV MISHRA 49
PPT BY : MADHAV MISHRA 50
PPT BY : MADHAV MISHRA 51
PPT BY : MADHAV MISHRA 52
PPT BY : MADHAV MISHRA 53
Linguistic
Variables &
Hedges
PPT BY : MADHAV MISHRA 54
PPT BY : MADHAV MISHRA 55
PPT BY : MADHAV MISHRA 56
PPT BY : MADHAV MISHRA 57
PPT BY : MADHAV MISHRA 58
PPT BY : MADHAV MISHRA 59
PPT BY : MADHAV MISHRA 60
PPT BY : MADHAV MISHRA 61
PPT BY : MADHAV MISHRA 62
PPT BY : MADHAV MISHRA 63
PPT BY : MADHAV MISHRA 64
PPT BY : MADHAV MISHRA 65
PPT BY : MADHAV MISHRA 66
PPT BY : MADHAV MISHRA 67
PPT BY : MADHAV MISHRA 68
PPT BY : MADHAV MISHRA 69
PPT BY : MADHAV MISHRA 70
PPT BY : MADHAV MISHRA 71
PPT BY : MADHAV MISHRA 72
PPT BY : MADHAV MISHRA 73
PPT BY : MADHAV MISHRA 74
PPT BY : MADHAV MISHRA 75
PPT BY : MADHAV MISHRA 76
PPT BY : MADHAV MISHRA 77
PPT BY : MADHAV MISHRA 78
PPT BY : MADHAV MISHRA 79
PPT BY : MADHAV MISHRA 80
PPT BY : MADHAV MISHRA 81
Inference Rules For Fuzzy Propositions
Fuzzy Inference
 Fuzzy inference is the process of obtaining new knowledge through existing knowledge.
 Knowledge is most commonly represent in the form of rules or proposition for example
 “if x is A then y is B” (Where A and B are linguistic values defined by fuzzy sets on universes of
discourse X and Y).
 A rule is also called a fuzzy implication.
 “x is A” is called the antecedent or premise and “y is B” is called the consequence or conclusion.
 The two important inferring processes are –
 Generalized modus Ponens (GMP)
 Generalized modus Tollens (GMT)
PPT BY : MADHAV MISHRA 82
PPT BY : MADHAV MISHRA 83
Inference rules:
 Inference rules are the templates for generating valid arguments.
 Inference rules are applied to derive proofs in artificial intelligence, and the proof is a sequence of the
conclusion that leads to the desired goal.
 In inference rules, the implication among all the connectives plays an important role.
 Following are some terminologies related to inference rules:
 Implication: It is one of the logical connectives which can be represented as P → Q. It is a Boolean
expression.
 Converse: The converse of implication, which means the right-hand side proposition goes to the left-
hand side and vice-versa. It can be written as Q → P.
 Contrapositive: The negation of converse is termed as contrapositive, and it can be represented as ¬ Q
→ ¬ P.
 Inverse: The negation of implication is called inverse. It can be represented as ¬ P → ¬ Q.
PPT BY : MADHAV MISHRA 84
From the above term some of the compound statements are equivalent to each other, which we can prove
using truth table:
Hence from the above truth table, we can prove that P → Q is equivalent to ¬ Q → ¬ P, and Q→ P is
equivalent to ¬ P → ¬ Q.
PPT BY : MADHAV MISHRA
85
Types of Inference rules:
1. Modus Ponens:
The Modus Ponens rule is one of the most important rules of inference, and it states that if P and P → Q
is true, then we can infer that Q will be true. It can be represented as:
Example:
Statement-1: "If I am sleepy then I go to bed" ==> P→ Q
Statement-2: "I am sleepy" ==> P
Conclusion: "I go to bed." ==> Q.
Hence, we can say that, if P→ Q is true and P is true then Q will be true.
Proof by Truth table:
PPT BY : MADHAV MISHRA 86
2. Modus Tollens:
The Modus Tollens rule state that if P→ Q is true and ¬ Q is true, then ¬ P will also true. It can be
represented as:
Statement-1: "If I am sleepy then I go to bed" ==> P→ Q
Statement-2: "I do not go to the bed."==> ~Q
Statement-3: Which infers that "I am not sleepy" => ~P
Proof by Truth table:
PPT BY : MADHAV MISHRA 87
3. Disjunctive Syllogism:
4. Addition:
5. Simplification:
6. Resolution:
PPT BY : MADHAV MISHRA 88
Inference rules:
 Inference rules are the templates for generating valid arguments.
 Inference rules are applied to derive proofs in artificial intelligence, and the proof is a sequence of the
conclusion that leads to the desired goal.
 In inference rules, the implication among all the connectives plays an important role.
 Following are some terminologies related to inference rules:
 Implication: It is one of the logical connectives which can be represented as P → Q. It is a Boolean
expression.
 Converse: The converse of implication, which means the right-hand side proposition goes to the left-
hand side and vice-versa. It can be written as Q → P.
 Contrapositive: The negation of converse is termed as contrapositive, and it can be represented as ¬ Q
→ ¬ P.
 Inverse: The negation of implication is called inverse. It can be represented as ¬ P → ¬ Q.
Fuzzy Systems
CoveredBefore In FuzzyLogic TopicBefore …
Let us Reviseit Again….!
PPT BY : MADHAV MISHRA 89
PPT BY : MADHAV MISHRA 90
PPT BY : MADHAV MISHRA 91
PPT BY : MADHAV MISHRA 92
PPT BY : MADHAV MISHRA 93
PPT BY : MADHAV MISHRA 94
PPT BY : MADHAV MISHRA 95
PPT BY : MADHAV MISHRA 96
PPT BY : MADHAV MISHRA 97
Possibility Theory
 Possibility theory was introduced in the year 1978.
 Possibility theory is a mathematical theory for dealing with certain types of uncertainty and is an
alternative to probability theory.
 A possibility measure can be seen as reasonable measure in Dempster-Shafer theory of
evidence.
 Possibility theory can be seen as an upper probability.(any possibility distribution that defines a
unique set of probability distribution)
PPT BY : MADHAV MISHRA 98
PPT BY : MADHAV MISHRA 99
PPT BY : MADHAV MISHRA 100
PPT BY : MADHAV MISHRA 101
PPT BY : MADHAV MISHRA 102
Other
Enhancement
To Logic
PPT BY : MADHAV MISHRA 103
PPT BY : MADHAV MISHRA 104
The End

More Related Content

What's hot

Explainable AI in Industry (AAAI 2020 Tutorial)
Explainable AI in Industry (AAAI 2020 Tutorial)Explainable AI in Industry (AAAI 2020 Tutorial)
Explainable AI in Industry (AAAI 2020 Tutorial)Krishnaram Kenthapadi
 
AI, Machine Learning, and Data Science Concepts
AI, Machine Learning, and Data Science ConceptsAI, Machine Learning, and Data Science Concepts
AI, Machine Learning, and Data Science ConceptsDan O'Leary
 
Interpretable machine learning
Interpretable machine learningInterpretable machine learning
Interpretable machine learningSri Ambati
 
introduction to machin learning
introduction to machin learningintroduction to machin learning
introduction to machin learningnilimapatel6
 
Foundation of Generative AI: Study Materials Connecting the Dots by Delving i...
Foundation of Generative AI: Study Materials Connecting the Dots by Delving i...Foundation of Generative AI: Study Materials Connecting the Dots by Delving i...
Foundation of Generative AI: Study Materials Connecting the Dots by Delving i...Fordham University
 
Explainable AI in Industry (FAT* 2020 Tutorial)
Explainable AI in Industry (FAT* 2020 Tutorial)Explainable AI in Industry (FAT* 2020 Tutorial)
Explainable AI in Industry (FAT* 2020 Tutorial)Krishnaram Kenthapadi
 
Responsible AI
Responsible AIResponsible AI
Responsible AINeo4j
 
Large Language Models, No-Code, and Responsible AI - Trends in Applied NLP in...
Large Language Models, No-Code, and Responsible AI - Trends in Applied NLP in...Large Language Models, No-Code, and Responsible AI - Trends in Applied NLP in...
Large Language Models, No-Code, and Responsible AI - Trends in Applied NLP in...David Talby
 
Artificial Intelligence for Project Managers: Are You Ready?
Artificial Intelligence for Project Managers: Are You Ready?Artificial Intelligence for Project Managers: Are You Ready?
Artificial Intelligence for Project Managers: Are You Ready?Scott W. Ambler
 
Generative AI Risks & Concerns
Generative AI Risks & ConcernsGenerative AI Risks & Concerns
Generative AI Risks & ConcernsAjitesh Kumar
 
Artificial intelligence- The science of intelligent programs
Artificial intelligence- The science of intelligent programsArtificial intelligence- The science of intelligent programs
Artificial intelligence- The science of intelligent programsDerak Davis
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine LearningDr. Radhey Shyam
 
Principles of Artificial Intelligence & Machine Learning
Principles of Artificial Intelligence & Machine LearningPrinciples of Artificial Intelligence & Machine Learning
Principles of Artificial Intelligence & Machine LearningJerry Lu
 
Lecture1 introduction to machine learning
Lecture1 introduction to machine learningLecture1 introduction to machine learning
Lecture1 introduction to machine learningUmmeSalmaM1
 
Large Language Models Bootcamp
Large Language Models BootcampLarge Language Models Bootcamp
Large Language Models BootcampData Science Dojo
 
AI and ML Series - Introduction to Generative AI and LLMs - Session 1
AI and ML Series - Introduction to Generative AI and LLMs - Session 1AI and ML Series - Introduction to Generative AI and LLMs - Session 1
AI and ML Series - Introduction to Generative AI and LLMs - Session 1DianaGray10
 

What's hot (20)

Explainable AI in Industry (AAAI 2020 Tutorial)
Explainable AI in Industry (AAAI 2020 Tutorial)Explainable AI in Industry (AAAI 2020 Tutorial)
Explainable AI in Industry (AAAI 2020 Tutorial)
 
AI, Machine Learning, and Data Science Concepts
AI, Machine Learning, and Data Science ConceptsAI, Machine Learning, and Data Science Concepts
AI, Machine Learning, and Data Science Concepts
 
Interpretable machine learning
Interpretable machine learningInterpretable machine learning
Interpretable machine learning
 
LLMs Bootcamp
LLMs BootcampLLMs Bootcamp
LLMs Bootcamp
 
introduction to machin learning
introduction to machin learningintroduction to machin learning
introduction to machin learning
 
Foundation of Generative AI: Study Materials Connecting the Dots by Delving i...
Foundation of Generative AI: Study Materials Connecting the Dots by Delving i...Foundation of Generative AI: Study Materials Connecting the Dots by Delving i...
Foundation of Generative AI: Study Materials Connecting the Dots by Delving i...
 
Explainable AI in Industry (FAT* 2020 Tutorial)
Explainable AI in Industry (FAT* 2020 Tutorial)Explainable AI in Industry (FAT* 2020 Tutorial)
Explainable AI in Industry (FAT* 2020 Tutorial)
 
Responsible AI
Responsible AIResponsible AI
Responsible AI
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Large Language Models, No-Code, and Responsible AI - Trends in Applied NLP in...
Large Language Models, No-Code, and Responsible AI - Trends in Applied NLP in...Large Language Models, No-Code, and Responsible AI - Trends in Applied NLP in...
Large Language Models, No-Code, and Responsible AI - Trends in Applied NLP in...
 
Artificial Intelligence for Project Managers: Are You Ready?
Artificial Intelligence for Project Managers: Are You Ready?Artificial Intelligence for Project Managers: Are You Ready?
Artificial Intelligence for Project Managers: Are You Ready?
 
Generative AI Risks & Concerns
Generative AI Risks & ConcernsGenerative AI Risks & Concerns
Generative AI Risks & Concerns
 
Artificial intelligence- The science of intelligent programs
Artificial intelligence- The science of intelligent programsArtificial intelligence- The science of intelligent programs
Artificial intelligence- The science of intelligent programs
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
AI@TeacherEducation 2023
AI@TeacherEducation 2023AI@TeacherEducation 2023
AI@TeacherEducation 2023
 
Principles of Artificial Intelligence & Machine Learning
Principles of Artificial Intelligence & Machine LearningPrinciples of Artificial Intelligence & Machine Learning
Principles of Artificial Intelligence & Machine Learning
 
Lecture1 introduction to machine learning
Lecture1 introduction to machine learningLecture1 introduction to machine learning
Lecture1 introduction to machine learning
 
Large Language Models Bootcamp
Large Language Models BootcampLarge Language Models Bootcamp
Large Language Models Bootcamp
 
AI and ML Series - Introduction to Generative AI and LLMs - Session 1
AI and ML Series - Introduction to Generative AI and LLMs - Session 1AI and ML Series - Introduction to Generative AI and LLMs - Session 1
AI and ML Series - Introduction to Generative AI and LLMs - Session 1
 

Similar to Applied Artificial Intelligence Unit 2 Semester 3 MSc IT Part 2 Mumbai University

Introduction to Maximum Likelihood Estimator
Introduction to Maximum Likelihood EstimatorIntroduction to Maximum Likelihood Estimator
Introduction to Maximum Likelihood EstimatorAmir Al-Ansary
 
MSL 5080, Methods of Analysis for Business Operations 1 .docx
MSL 5080, Methods of Analysis for Business Operations 1 .docxMSL 5080, Methods of Analysis for Business Operations 1 .docx
MSL 5080, Methods of Analysis for Business Operations 1 .docxAASTHA76
 
Elementary Probability and Information Theory
Elementary Probability and Information TheoryElementary Probability and Information Theory
Elementary Probability and Information TheoryKhalidSaghiri2
 
GUC_2744_59_29307_2023-02-22T14_07_02.pdf
GUC_2744_59_29307_2023-02-22T14_07_02.pdfGUC_2744_59_29307_2023-02-22T14_07_02.pdf
GUC_2744_59_29307_2023-02-22T14_07_02.pdfChrisRomany1
 
Probability Theory.pdf
Probability Theory.pdfProbability Theory.pdf
Probability Theory.pdfcodewithmensah
 
On fuzzy concepts in engineering ppt. ncce
On fuzzy concepts in engineering ppt. ncceOn fuzzy concepts in engineering ppt. ncce
On fuzzy concepts in engineering ppt. ncceSurender Singh
 
IN ORDER TO IMPLEMENT A SET OF RULES / TUTORIALOUTLET DOT COM
IN ORDER TO IMPLEMENT A SET OF RULES / TUTORIALOUTLET DOT COMIN ORDER TO IMPLEMENT A SET OF RULES / TUTORIALOUTLET DOT COM
IN ORDER TO IMPLEMENT A SET OF RULES / TUTORIALOUTLET DOT COMjorge0050
 
Different types of distributions
Different types of distributionsDifferent types of distributions
Different types of distributionsRajaKrishnan M
 
Materi_Business_Intelligence_1.pdf
Materi_Business_Intelligence_1.pdfMateri_Business_Intelligence_1.pdf
Materi_Business_Intelligence_1.pdfHasan Dwi Cahyono
 

Similar to Applied Artificial Intelligence Unit 2 Semester 3 MSc IT Part 2 Mumbai University (20)

Introduction to Maximum Likelihood Estimator
Introduction to Maximum Likelihood EstimatorIntroduction to Maximum Likelihood Estimator
Introduction to Maximum Likelihood Estimator
 
MSL 5080, Methods of Analysis for Business Operations 1 .docx
MSL 5080, Methods of Analysis for Business Operations 1 .docxMSL 5080, Methods of Analysis for Business Operations 1 .docx
MSL 5080, Methods of Analysis for Business Operations 1 .docx
 
Lesson 31
Lesson 31Lesson 31
Lesson 31
 
AI Lesson 31
AI Lesson 31AI Lesson 31
AI Lesson 31
 
Elementary Probability and Information Theory
Elementary Probability and Information TheoryElementary Probability and Information Theory
Elementary Probability and Information Theory
 
Bayesian networks
Bayesian networksBayesian networks
Bayesian networks
 
tps5e_Ch5_3.ppt
tps5e_Ch5_3.ppttps5e_Ch5_3.ppt
tps5e_Ch5_3.ppt
 
tps5e_Ch5_3.ppt
tps5e_Ch5_3.ppttps5e_Ch5_3.ppt
tps5e_Ch5_3.ppt
 
GUC_2744_59_29307_2023-02-22T14_07_02.pdf
GUC_2744_59_29307_2023-02-22T14_07_02.pdfGUC_2744_59_29307_2023-02-22T14_07_02.pdf
GUC_2744_59_29307_2023-02-22T14_07_02.pdf
 
Probability Theory.pdf
Probability Theory.pdfProbability Theory.pdf
Probability Theory.pdf
 
On fuzzy concepts in engineering ppt. ncce
On fuzzy concepts in engineering ppt. ncceOn fuzzy concepts in engineering ppt. ncce
On fuzzy concepts in engineering ppt. ncce
 
Lesson 26
Lesson 26Lesson 26
Lesson 26
 
AI Lesson 26
AI Lesson 26AI Lesson 26
AI Lesson 26
 
Data science
Data scienceData science
Data science
 
Lesson 5.ppt
Lesson 5.pptLesson 5.ppt
Lesson 5.ppt
 
IN ORDER TO IMPLEMENT A SET OF RULES / TUTORIALOUTLET DOT COM
IN ORDER TO IMPLEMENT A SET OF RULES / TUTORIALOUTLET DOT COMIN ORDER TO IMPLEMENT A SET OF RULES / TUTORIALOUTLET DOT COM
IN ORDER TO IMPLEMENT A SET OF RULES / TUTORIALOUTLET DOT COM
 
Different types of distributions
Different types of distributionsDifferent types of distributions
Different types of distributions
 
Fuzzy sets
Fuzzy sets Fuzzy sets
Fuzzy sets
 
Materi_Business_Intelligence_1.pdf
Materi_Business_Intelligence_1.pdfMateri_Business_Intelligence_1.pdf
Materi_Business_Intelligence_1.pdf
 
Bayes theorem
Bayes theoremBayes theorem
Bayes theorem
 

Recently uploaded

Presentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxPresentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxgindu3009
 
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPirithiRaju
 
Botany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questionsBotany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questionsSumit Kumar yadav
 
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...ssifa0344
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...Sérgio Sacani
 
GFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxGFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxAleenaTreesaSaji
 
G9 Science Q4- Week 1-2 Projectile Motion.ppt
G9 Science Q4- Week 1-2 Projectile Motion.pptG9 Science Q4- Week 1-2 Projectile Motion.ppt
G9 Science Q4- Week 1-2 Projectile Motion.pptMAESTRELLAMesa2
 
Botany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfBotany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfSumit Kumar yadav
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsAArockiyaNisha
 
Cultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptxCultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptxpradhanghanshyam7136
 
A relative description on Sonoporation.pdf
A relative description on Sonoporation.pdfA relative description on Sonoporation.pdf
A relative description on Sonoporation.pdfnehabiju2046
 
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSpermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSarthak Sekhar Mondal
 
Boyles law module in the grade 10 science
Boyles law module in the grade 10 scienceBoyles law module in the grade 10 science
Boyles law module in the grade 10 sciencefloriejanemacaya1
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRDelhi Call girls
 
Green chemistry and Sustainable development.pptx
Green chemistry  and Sustainable development.pptxGreen chemistry  and Sustainable development.pptx
Green chemistry and Sustainable development.pptxRajatChauhan518211
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTSérgio Sacani
 
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptxUnlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptxanandsmhk
 
Broad bean, Lima Bean, Jack bean, Ullucus.pptx
Broad bean, Lima Bean, Jack bean, Ullucus.pptxBroad bean, Lima Bean, Jack bean, Ullucus.pptx
Broad bean, Lima Bean, Jack bean, Ullucus.pptxjana861314
 
Zoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfZoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfSumit Kumar yadav
 

Recently uploaded (20)

Presentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxPresentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptx
 
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
 
Botany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questionsBotany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questions
 
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
 
GFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxGFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptx
 
G9 Science Q4- Week 1-2 Projectile Motion.ppt
G9 Science Q4- Week 1-2 Projectile Motion.pptG9 Science Q4- Week 1-2 Projectile Motion.ppt
G9 Science Q4- Week 1-2 Projectile Motion.ppt
 
Botany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfBotany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdf
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based Nanomaterials
 
Cultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptxCultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptx
 
A relative description on Sonoporation.pdf
A relative description on Sonoporation.pdfA relative description on Sonoporation.pdf
A relative description on Sonoporation.pdf
 
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSpermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
 
The Philosophy of Science
The Philosophy of ScienceThe Philosophy of Science
The Philosophy of Science
 
Boyles law module in the grade 10 science
Boyles law module in the grade 10 scienceBoyles law module in the grade 10 science
Boyles law module in the grade 10 science
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
 
Green chemistry and Sustainable development.pptx
Green chemistry  and Sustainable development.pptxGreen chemistry  and Sustainable development.pptx
Green chemistry and Sustainable development.pptx
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOST
 
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptxUnlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
 
Broad bean, Lima Bean, Jack bean, Ullucus.pptx
Broad bean, Lima Bean, Jack bean, Ullucus.pptxBroad bean, Lima Bean, Jack bean, Ullucus.pptx
Broad bean, Lima Bean, Jack bean, Ullucus.pptx
 
Zoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfZoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdf
 

Applied Artificial Intelligence Unit 2 Semester 3 MSc IT Part 2 Mumbai University

  • 2. Topics To Be Covered Probability Theory: Joint probability, conditional probability, Bayes’ theorem, probabilities in rules and facts of rule system, cumulative probabilities, rule system and Bayesian method Fuzzy Sets and Fuzzy Logic: Fuzzy Sets, Fuzzy set operations, Types of Member Functions, Multivalued Logic, Fuzzy Logic, Linguistic variables and Hedges, Fuzzy propositions, inference rules for fuzzy propositions, fuzzy systems, possibility theory and other enhancement to Logic PPT BY : MADHAV MISHRA 2
  • 3. Probability Theory  In order to discuss probability theory in detail, let us review a few basic concepts of this theory.  The term probability is defined as a way of turning an opinion or an expectation into a number lying between 0 and 1.  It basically reflects the likelihood of an event, or a chance that a particular event will occur.  Assume a set S(known as sample space) consisting of independent events representing all possible outcomes of a random experiment.  Every, non-empty subset A of sample space S is called an event  The empty set is called an impossible event, whereas S is called a sure event.  Let us denote the probability of an event A by P(A), it is defined as follows: P(A) = (No.of outcomesfavourite to A) / (Totalnumberof possible outcomes) PPT BY : MADHAV MISHRA 3
  • 4.  The Probability of all events, {A1, A2, ….An}, must sum up to certainty, that is P(A1)+P(A2)…..+P(An)= 1.  An impossible event has a probability of 0, while a certain event has a probability 1.  Consider an example of tossing a coin, the probability of throwing two successive heads with a fair coin is found to be 0.25.  Let us see how we got this, there are only four possible outcome {HH, HT, TH, TT} of throwing a fair coin twice successively.  Here, H represents head, while T represents tail. Since there is only one way of getting HH out of four, the probability =1/4 = 0.25.  Axioms of Probability:  If S represents a sample space and A and B represent events, then the following axioms hold true.  Here, A’ represents complement of set A. PPT BY : MADHAV MISHRA 4
  • 5. PPT BY : MADHAV MISHRA 5
  • 6. Joint Probability  Joint probability is defined as the probability of occurrence of two independent events in conjunction.  That is, joint probability refers to the probability of both events occurring together.  The joint probability of A and B is written as P(A ∩ B) or P(A and B). It may be defined as given below: P(AandB) = P(A)* P(B)  Two events are said to be independent if the occurrence of one event does not affect the probabilities of occurrence of the other.  Consider an example of tossing of two fair coins separately. The probability of getting a head H on tossing the first coin is denoted by P(A) = 0.5, and the probability of getting a head on tossing the second coin is denoted by P(B) = 0.5. The probability of getting H on both the coins is called Joint Probability and is represented as P(A and B). It is calculated as follows: P(A and B) = P(A) * P(B) = 0.5 * 0.5 = 0.25 PPT BY : MADHAV MISHRA 6
  • 7.  Similarly, the probability of getting a head H on tossing one or both coins can be calculated. It is called union of the probabilities P(A) and P(B), and is denoted by P(A U B), it is also written as P(A or B). • It can be calculated for the above example as follows: P(A or B) = P(A) + P(B) - P(A) * P(B) = 0.5 + 0.5 – 0.25 = 0.75 PPT BY : MADHAV MISHRA 7
  • 8. PPT BY : MADHAV MISHRA 8
  • 9. PPT BY : MADHAV MISHRA 9
  • 10. PPT BY : MADHAV MISHRA 10
  • 11. Bayes’ Rule PPT BY : MADHAV MISHRA 11
  • 12. Bayes’ theorem  Bayes’ theorem was developed by mathematician Thomas Bayes in the year 1763.  This theorem provides a mathematical model for reasoning where prior belief’s are combined with evidence to get estimates of uncertainty.  It relates the conditional probability and probabilities of events. PPT BY : MADHAV MISHRA 12
  • 13. PPT BY : MADHAV MISHRA 13
  • 14. PPT BY : MADHAV MISHRA 14
  • 15. Extension of Bayes’ Theorem  So far we have studied Bayes’ theorem with one hypothesis and one event or evidence.  We can extend Bayes’ theorem to include more than two events.  Different possibilities are discussed as given below:  One Hypothesis & Two Evidence  One Hypothesis & Multiple Evidence  Chain Evidence  Multiple Hypothesis & Single Evidence  One Hypothesis & Multiple Evidence PPT BY : MADHAV MISHRA 15
  • 16. Probabilities in rules and facts of rule based system  Basic probability theory can be used when we have probable facts and rules.  In real-life situations, facts may also be probably true.  Probabilities can be added to both facts and rules.  It should be noted that probabilities are specified by domain expert on the basis of their experience.  The following are some examples to illustrate the incorporation of probabilities in facts and rules represented in PROLOG:  A fact ‘battery in a randomly picked computer is dead 2% of the time’ can be expressed in PROLOG as battery_dead_computer(0.02)  This fact indicates that battery is dead in computer is sure with probability 0.02.  Similarly probabilities can also be added to rules.  Consider the following probable rules and their corresponding PROLOG representation  The rule ‘ IF 25% of the time when the computer does not work, it is true that it’s battery is dead’ can be expressed in PROLOG as battery_dead_computer(0.25): computer_not_start(1.0)  Here, 0.25 is the rule probability. PPT BY : MADHAV MISHRA 16
  • 17. Cumulative Probabilities  For the rules discussed in the above section, if we wish to reason about whether the battery in computer is dead, we should gather all relevant rules and facts.  It is very important to combine the probabilities from the facts and successful rules to get a cumulative probability of the battery being dead.  The following two situations will arise:  If sub goals of a rule are probable, then the probability of the rule of succeed should take care of the probable sub goals.  If rules with the same conclusion have different probabilities, then the overall probability of the rule has to be found. PPT BY : MADHAV MISHRA 17
  • 18.  The first situation is resolved by simple computing cumulative probability of the conclusion with the help of and- combination assuming that all sub goals are independent.  In this case, probabilities of sub goals in the right side of rule of rule are multiplied using joint probability formula as shown below: Prob(A and B and C and…) = Prob(A) * Prob(B) * Prob(C) * …  The second situation is handled by using or-combination to get the overall probability of predicate in the head of rule.  If events are mutually independent, the following formula is used to obtain the OR Probability: Prob(A and B and C and…) = 1 – [(1- Prob(A)) (1- Prob(B)) (1- Prob(C))….] PPT BY : MADHAV MISHRA 18
  • 19. Rule based system using probability PPT BY : MADHAV MISHRA  Let us develop a simple rule- based system for the diagnosis of malfunctioning of some equipment, say a landline telephone using the concept of probabilities.  As a first step, various situations under which the telephone does not work properly are identified with the help of experts of this domain.  For Example, we can think of the following reasons for the malfunctioning of telephones: 19
  • 20. PPT BY : MADHAV MISHRA 20
  • 21. Bayesian Method  Bayesian network are useful for both inferential exploration of previously undetermined relationships among variables and descriptions of these relationship upon discovery.  The following are some advantages and disadvantages of Bayesian method:  Advantages:  Bayesian method is based on as strong theoretical foundation in probability theory, it is currently the most advanced of all certainty reasoning methods.  This method has well-defined semantics for decision making.  Disadvantages:  The system using Bayesian approach needs quite a large amount of probability data to construct a knowledge base. PPT BY : MADHAV MISHRA 21
  • 22.  Bayesian theory provides an attractive basis for an uncertain reasoning system.  Several mechanism have been developed to utilize the power of this theory and the ease of its implementation.  Some of these are listed below:  Bayesian Belief Network.  Certainty Factor Theory.  Dempster- Shafer Theory. PPT BY : MADHAV MISHRA 22
  • 23. PPT BY : MADHAV MISHRA 23
  • 24. PPT BY : MADHAV MISHRA 24
  • 25. Fuzzy Sets  The concept of a fuzzy set was published in 1965 by Lotfi A. Zadeh (see also Zadeh 1965).  Since that seminal publication, the fuzzy set theory is widely studied and extended.  Its application to the control theory became successful and revolutionary especially in seventies and eighties, the applications to data analysis, artificial intelligence, and computational intelligence are intensively developed, especially, since nineties.  The theory is also extended and generalized by means of the theories of triangular norms and aggregation operators. PPT BY : MADHAV MISHRA 25
  • 26.  Fuzzy sets can be considered as an extension and gross oversimplification of classical sets.  It can be best understood in the context of set membership.  Basically it allows partial membership which means that it contain elements that have varying degrees of membership in the set.  From this, we can understand the difference between classical set and fuzzy set.  Classical set contains elements that satisfy precise properties of membership while fuzzy set contains elements that satisfy imprecise properties of membership. PPT BY : MADHAV MISHRA 26
  • 27. Classical Set PPT BY : MADHAV MISHRA 27
  • 28. PPT BY : MADHAV MISHRA 28
  • 29. PPT BY : MADHAV MISHRA 29
  • 30. PPT BY : MADHAV MISHRA 30
  • 31. Fuzzy Set Operations PPT BY : MADHAV MISHRA 31
  • 32. PPT BY : MADHAV MISHRA 32
  • 33. PPT BY : MADHAV MISHRA 33
  • 34. PPT BY : MADHAV MISHRA 34
  • 35. Types of Membership Functions PPT BY : MADHAV MISHRA 35
  • 36. PPT BY : MADHAV MISHRA 36
  • 37. PPT BY : MADHAV MISHRA 37
  • 38. PPT BY : MADHAV MISHRA 38
  • 39. PPT BY : MADHAV MISHRA 39
  • 40. PPT BY : MADHAV MISHRA 40
  • 41. PPT BY : MADHAV MISHRA 41
  • 42. PPT BY : MADHAV MISHRA 42
  • 43. PPT BY : MADHAV MISHRA 43
  • 44. PPT BY : MADHAV MISHRA 44
  • 45. PPT BY : MADHAV MISHRA 45
  • 46. Multivalued Logic  Multivalued logic is defined as a logical system in which there are more than two truth values.  Traditionally, two-valued logic is binary logic where there are only two possible truth values, i.e. Truth & False for any proposition.  An obvious extension of classical two-valued logic is three-valued logic denoting truth, false & indeterminate (indeterminacy) represented as (1, 0 and 1/2).  Three- valued logic can be easily generalized to n-valued logic.  Relations used in Multi-valued logic are:  Relation of multi-valued logic to classical logic.  Relation of multi-valued logic to fuzzy logic. PPT BY : MADHAV MISHRA 46
  • 47. PPT BY : MADHAV MISHRA 47
  • 48. PPT BY : MADHAV MISHRA 48
  • 49. Fuzzy Logic PPT BY : MADHAV MISHRA 49
  • 50. PPT BY : MADHAV MISHRA 50
  • 51. PPT BY : MADHAV MISHRA 51
  • 52. PPT BY : MADHAV MISHRA 52
  • 53. PPT BY : MADHAV MISHRA 53
  • 55. PPT BY : MADHAV MISHRA 55
  • 56. PPT BY : MADHAV MISHRA 56
  • 57. PPT BY : MADHAV MISHRA 57
  • 58. PPT BY : MADHAV MISHRA 58
  • 59. PPT BY : MADHAV MISHRA 59
  • 60. PPT BY : MADHAV MISHRA 60
  • 61. PPT BY : MADHAV MISHRA 61
  • 62. PPT BY : MADHAV MISHRA 62
  • 63. PPT BY : MADHAV MISHRA 63
  • 64. PPT BY : MADHAV MISHRA 64
  • 65. PPT BY : MADHAV MISHRA 65
  • 66. PPT BY : MADHAV MISHRA 66
  • 67. PPT BY : MADHAV MISHRA 67
  • 68. PPT BY : MADHAV MISHRA 68
  • 69. PPT BY : MADHAV MISHRA 69
  • 70. PPT BY : MADHAV MISHRA 70
  • 71. PPT BY : MADHAV MISHRA 71
  • 72. PPT BY : MADHAV MISHRA 72
  • 73. PPT BY : MADHAV MISHRA 73
  • 74. PPT BY : MADHAV MISHRA 74
  • 75. PPT BY : MADHAV MISHRA 75
  • 76. PPT BY : MADHAV MISHRA 76
  • 77. PPT BY : MADHAV MISHRA 77
  • 78. PPT BY : MADHAV MISHRA 78
  • 79. PPT BY : MADHAV MISHRA 79
  • 80. PPT BY : MADHAV MISHRA 80
  • 81. PPT BY : MADHAV MISHRA 81
  • 82. Inference Rules For Fuzzy Propositions Fuzzy Inference  Fuzzy inference is the process of obtaining new knowledge through existing knowledge.  Knowledge is most commonly represent in the form of rules or proposition for example  “if x is A then y is B” (Where A and B are linguistic values defined by fuzzy sets on universes of discourse X and Y).  A rule is also called a fuzzy implication.  “x is A” is called the antecedent or premise and “y is B” is called the consequence or conclusion.  The two important inferring processes are –  Generalized modus Ponens (GMP)  Generalized modus Tollens (GMT) PPT BY : MADHAV MISHRA 82
  • 83. PPT BY : MADHAV MISHRA 83 Inference rules:  Inference rules are the templates for generating valid arguments.  Inference rules are applied to derive proofs in artificial intelligence, and the proof is a sequence of the conclusion that leads to the desired goal.  In inference rules, the implication among all the connectives plays an important role.  Following are some terminologies related to inference rules:  Implication: It is one of the logical connectives which can be represented as P → Q. It is a Boolean expression.  Converse: The converse of implication, which means the right-hand side proposition goes to the left- hand side and vice-versa. It can be written as Q → P.  Contrapositive: The negation of converse is termed as contrapositive, and it can be represented as ¬ Q → ¬ P.  Inverse: The negation of implication is called inverse. It can be represented as ¬ P → ¬ Q.
  • 84. PPT BY : MADHAV MISHRA 84 From the above term some of the compound statements are equivalent to each other, which we can prove using truth table: Hence from the above truth table, we can prove that P → Q is equivalent to ¬ Q → ¬ P, and Q→ P is equivalent to ¬ P → ¬ Q.
  • 85. PPT BY : MADHAV MISHRA 85 Types of Inference rules: 1. Modus Ponens: The Modus Ponens rule is one of the most important rules of inference, and it states that if P and P → Q is true, then we can infer that Q will be true. It can be represented as: Example: Statement-1: "If I am sleepy then I go to bed" ==> P→ Q Statement-2: "I am sleepy" ==> P Conclusion: "I go to bed." ==> Q. Hence, we can say that, if P→ Q is true and P is true then Q will be true. Proof by Truth table:
  • 86. PPT BY : MADHAV MISHRA 86 2. Modus Tollens: The Modus Tollens rule state that if P→ Q is true and ¬ Q is true, then ¬ P will also true. It can be represented as: Statement-1: "If I am sleepy then I go to bed" ==> P→ Q Statement-2: "I do not go to the bed."==> ~Q Statement-3: Which infers that "I am not sleepy" => ~P Proof by Truth table:
  • 87. PPT BY : MADHAV MISHRA 87 3. Disjunctive Syllogism: 4. Addition: 5. Simplification: 6. Resolution:
  • 88. PPT BY : MADHAV MISHRA 88 Inference rules:  Inference rules are the templates for generating valid arguments.  Inference rules are applied to derive proofs in artificial intelligence, and the proof is a sequence of the conclusion that leads to the desired goal.  In inference rules, the implication among all the connectives plays an important role.  Following are some terminologies related to inference rules:  Implication: It is one of the logical connectives which can be represented as P → Q. It is a Boolean expression.  Converse: The converse of implication, which means the right-hand side proposition goes to the left- hand side and vice-versa. It can be written as Q → P.  Contrapositive: The negation of converse is termed as contrapositive, and it can be represented as ¬ Q → ¬ P.  Inverse: The negation of implication is called inverse. It can be represented as ¬ P → ¬ Q.
  • 89. Fuzzy Systems CoveredBefore In FuzzyLogic TopicBefore … Let us Reviseit Again….! PPT BY : MADHAV MISHRA 89
  • 90. PPT BY : MADHAV MISHRA 90
  • 91. PPT BY : MADHAV MISHRA 91
  • 92. PPT BY : MADHAV MISHRA 92
  • 93. PPT BY : MADHAV MISHRA 93
  • 94. PPT BY : MADHAV MISHRA 94
  • 95. PPT BY : MADHAV MISHRA 95
  • 96. PPT BY : MADHAV MISHRA 96
  • 97. PPT BY : MADHAV MISHRA 97
  • 98. Possibility Theory  Possibility theory was introduced in the year 1978.  Possibility theory is a mathematical theory for dealing with certain types of uncertainty and is an alternative to probability theory.  A possibility measure can be seen as reasonable measure in Dempster-Shafer theory of evidence.  Possibility theory can be seen as an upper probability.(any possibility distribution that defines a unique set of probability distribution) PPT BY : MADHAV MISHRA 98
  • 99. PPT BY : MADHAV MISHRA 99
  • 100. PPT BY : MADHAV MISHRA 100
  • 101. PPT BY : MADHAV MISHRA 101
  • 102. PPT BY : MADHAV MISHRA 102
  • 103. Other Enhancement To Logic PPT BY : MADHAV MISHRA 103
  • 104. PPT BY : MADHAV MISHRA 104 The End