Artificial Intelligence - Bayesian Networks and Probability Basics

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/18

flashcard set

Earn XP

Description and Tags

Flashcards testing core concepts of probability basics, probabilistic inference, Bayes' rule, and Bayesian networks.

Last updated 7:31 AM on 9/20/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

19 Terms

1
New cards

How is expected utility maximized when making decisions under uncertainty?

Decision making combines probability and utility to maximize expected utility using the formula a∗=argmaxa∑sP(s∣a)U(s)a^* = \text{argmax}_a \sum_s P(s \mid a) U(s).

2
New cards

What two conditions must a discrete probability distribution P(ω)P(\omega) satisfy over a set of outcomes Ω\Omega?

1) 0≤P(ω)0 \le P(\omega) for all outcomes ω\omega; 2) ∑ω∈ΩP(ω)=1\sum_{\omega \in \Omega} P(\omega) = 1.

3
New cards

How is the probability of an event AA calculated from individual outcome probabilities?

The probability of an event AA is the sum of probabilities over its outcomes: P(A)=∑ω∈AP(ω)P(A) = \sum_{\omega \in A} P(\omega).

4
New cards

What is the formal definition of a random variable?

A random variable is a deterministic function of an outcome ω\omega.

5
New cards

Why can marginal distributions be calculated from a joint distribution, but joint distributions cannot be calculated from marginal distributions alone?

Because marginal probabilities do not contain information about how variables are related to each other, whereas joint distributions capture all dependencies between variables.

6
New cards

What formula is used to marginalize (sum out) variable YY from a joint distribution to obtain P(X=x)P(X=x)?

P(X=x)=∑yP(X=x,Y=y)P(X=x) = \sum_y P(X=x, Y=y)

7
New cards

What is the size of a full joint distribution table for nn variables each having domain size dd?

The size of the joint distribution is dnd^n.

8
New cards

What mathematical equation defines the independence of two random variables XX and YY?

∀x,y P(x,y)=P(x)P(y)\forall x,y \, P(x, y) = P(x) P(y), or equivalently P(x∣y)=P(x)P(x \mid y) = P(x).

9
New cards

What is the formula for conditional probability P(a∣b)P(a \mid b)?

P(a∣b)=P(a,b)P(b)P(a \mid b) = \frac{P(a, b)}{P(b)}

10
New cards

How is the normalization factor α\alpha defined when normalizing a probability distribution?

α=1∑entries\alpha = \frac{1}{\sum \text{entries}} where the sum is taken over all unnormalized entries in the distribution.

11
New cards

What is the Product Rule formula for probability?

P(a,b)=P(a∣b)P(b)P(a, b) = P(a \mid b) P(b)

12
New cards

What is the general expression for the Chain Rule of probability for nn variables?

P(x1,x2,…,xn)=∏iP(xi∣x1,…,xi−1)P(x_1, x_2, \dots, x_n) = \prod_i P(x_i \mid x_1, \dots, x_{i-1})

13
New cards

What are the three steps in performing probabilistic Inference by Enumeration to calculate P(Q∣e)P(Q \mid e)?

1) Select the entries consistent with the evidence EE; 2) Sum out hidden variables HH to obtain the joint distribution of query and evidence; 3) Normalize the resulting distribution.

14
New cards

What are the time and space complexities of exact inference by enumeration for nn variables with domain size dd?

Both time complexity and space complexity are O(dn)O(d^n).

15
New cards

What is Bayes' Rule and what are its components called?

P(a∣b)=P(b∣a)P(a)P(b)P(a \mid b) = \frac{P(b \mid a) P(a)}{P(b)}, where P(a)P(a) is the prior probability, P(b)P(b) is the evidence, P(b∣a)P(b \mid a) is the likelihood, and P(a∣b)P(a \mid b) is the posterior probability.

16
New cards

What is the definition of conditional independence for variable XX given variable ZZ with respect to variable YY?

∀x,y,z P(x∣y,z)=P(x∣z)\forall x,y,z \, P(x \mid y, z) = P(x \mid z) (or equivalently ∀x,y,z P(x,y∣z)=P(x∣z)P(y∣z)\forall x,y,z \, P(x, y \mid z) = P(x \mid z) P(y \mid z)).

17
New cards

What defines a Naïve Bayes model?

A Naïve Bayes model consists of one discrete query variable (class/category) where all evidence variables are conditionally independent given that query variable.

18
New cards
<p>In the provided Bayesian Network diagram, what does the absence of a direct arc between Toothache and Catch signify?</p>

In the provided Bayesian Network diagram, what does the absence of a direct arc between Toothache and Catch signify?

The absence of an arc indicates that Toothache and Catch are conditionally independent given Cavity.

19
New cards

What two components make up a complete Bayesian Network?

1) Topology (a Directed Acyclic Graph representing random variables as nodes and direct influences as arcs); 2) Local Conditional Probabilities (a Conditional Probability Table / CPT for each node).