Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
College aantekeningen

Artificial Intelligence and Machine Learning -Year 2 - Semester 04 - Engineering Course

Beoordeling
-
Verkocht
-
Pagina's
42
Geüpload op
06-08-2024
Geschreven in
2024/2025

This notes is understandable and each and every topic regarding the Artificial Intelligence and Machine Learning course is well listed . One can understand it so well and it will be so useful .

Instelling
Vak

Voorbeeld van de inhoud

UNIT II

PROBABILISTIC REASONING

Acting under uncertainty – Bayesian inference – naïve bayes models. Probabilistic reasoning –
Bayesian networks – exact inference in BN – approximate inference in BN – causal networks.

Introduction of Probabilistic Reasoning
A agent working in real world environment almost never has access to whole truth about its
environment. Therefore, agent needs to work under uncertainty.

Earlier agents make the epistemological commitment that either the facts are true, false or else they are
unknown.

When an agent knows enough facts about its environment, the logical approach enables it to derive
plans, which are guaranteed to work.

But when agent works with uncertain knowledge then it might be impossible to construct a complete
and correct description of how its actions will work.

The right thing logical agent , take a rational decision.

The rational decision depends on following things:

• The relative importance of various goals.
• The likelihood and the degree to which, goals will be achieved.
Acting Under Uncertainty

An agent would possess some early basic knowledge of the world (Assume that knowledge is
represented in first order logic sentence).

Using first order logic to handle real word problem domains fails for three main reasons as discussed
below:

1) Laziness:

It is too much work to list the complete set of antecedents or consequents needed to ensure an
exception less rule and too hard to use such rules.

2) Theoretical ignorance:

A particular problem may not have complete theory for the domain.

3) Practical ignorance:

Even if all the rules are known, particular aspects of problem are not checked yet or some details are
not considered at all (missing out the details).

,The agent's knowledge can provide it with a degree of belief with relevant sentences. To this degree of
belief probability theory is applied.

Probability assigns a numerical degree of belief between 0 and 1 to each sentence.

Probability provides a way of summarizing the uncertainty that comes from our laziness and
ignorance.

Assigning probability of 0 to a given sentence corresponds to an unequivocal belief saying that
sentence is false.

Assigning probability of 1 corresponds to an unequivocal belief saying that the sentence is true.

Probabilities between 0 and 1 correspond to intermediate degree of belief in the truth of the sentence.

The beliefs completely depends on percept’s of agent at particular time.

These percept’s constitute the evidence on which probability assertions are based.

When more sentences are added to knowledge base the entailment keeps on changing. Similarly the
probability would also keep on changing with additional knowledge.

All probability statements must therefore, indicate the evidence with respect to which the probability is
being assessed.

As the agent receives new precepts, its probability assessments are updated to reflect the new evidence.

Before the evidence is obtained, we talk about prior or unconditional probability; after the evidence is
obtained, we talk about posterior or conditional probability.

In most cases, an agent will have some evidence from its percepts and will be interested in computing
the posterior probabilities of the outcomes it cares about.



Uncertainty and rational decisions:

The presence of uncertainty drastically changes the way an agent makes decision.

At particular time an agent can have various available decisions, from which it has to make a choice.

To make such choices an agent must have a preferences between the different possible outcomes, of
the various plans.

A particular outcome is completely specified state, along with the expected factors related with the
outcome.

For example: Consider a car driving agent who wants to reach at airport by a specific time say at 7.30
pm.

Here factors like, whether agent arrived at airport on time, what is the length of waiting duration at the
airport are attached with the outcome.

,Utility Theory

Utility theory is used to represent and reason with preferences. The term utility in current context is
used as "quality of being useful".

Utility theory says that every state has a degree of usefulness called as utility. The agent will prefer the
states with higher utility.

The utility of the state is relative to the agent for which utility function is calculated on the basis of
agent's preferences.

For example: The payoff functions for games are utility functions. The utility of a state in which black
has won a game of chess is obviously high for the agent playing black and low for the agent playing
white.

There is no measure that can count test or preferences. Someone loves deep chocolate ice cream and
someone loves chocochip icecream. A utility function can account for altruistic behavior, simply by
including the welfare of other as one of the factors contributing to the agent's own utility.

Decision theory

Preferences as expressed by utilities are combined with probabilities for making rational decisions.
This theory, of rational decision making is called as decision theory.

Decision theory can be summarized as,

Decision theory = Probability theory + Utility theory.



Need of probabilistic reasoning in AI:
o When there are unpredictable outcomes.

o When specifications or possibilities of predicates becomes too large to handle.

o When an unknown error occurs during an experiment.

In probabilistic reasoning, there are two ways to solve problems with uncertain knowledge:

o Bayes' rule

o Bayesian Statistics

As probabilistic reasoning uses probability and related terms, so before understanding probabilistic
reasoning, let's understand some common terms:

Probability: Probability can be defined as a chance that an uncertain event will occur. It is the
numerical measure of the likelihood that an event will occur. The value of probability always
remains between 0 and 1 that represent ideal uncertainties.

, 1. 0 ≤ P(A) ≤ 1, where P(A) is the probability of an event A.
2. P(A) = 0, indicates total uncertainty in an event A.
3. P(A) =1, indicates total certainty in an event A.

We can find the probability of an uncertain event by using the below formula.




o P(¬A) = probability of a not happening event.

o P(¬A) + P(A) = 1.

Event: Each possible outcome of a variable is called an event.

Sample space: The collection of all possible events is called sample space.

Random variables: Random variables are used to represent the events and objects in the real world.

Prior probability: The prior probability of an event is probability computed before observing new
information.

Posterior Probability: The probability that is calculated after all evidence or information has taken
into account. It is a combination of prior probability and new information.

Conditional probability:

Conditional probability is a probability of occurring an event when another event has already
happened.

Let's suppose, we want to calculate the event A when event B has already occurred, "the probability of
A under the conditions of B", it can be written as:




Where P(A⋀B)= Joint probability of a and B

P(B)= Marginal probability of B.

If the probability of A is given and we need to find the probability of B, then it will be given as:

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
6 augustus 2024
Aantal pagina's
42
Geschreven in
2024/2025
Type
College aantekeningen
Docent(en)
Melfa
Bevat
Alle colleges

Onderwerpen

$9.99
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
amalamelfa

Ook beschikbaar in voordeelbundel

Maak kennis met de verkoper

Seller avatar
amalamelfa Loyola-icam college of engineering and technology
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
-
Lid sinds
1 jaar
Aantal volgers
0
Documenten
6
Laatst verkocht
-

0.0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen