Probabilistic Models: Flashcards

Bayesian Networks, HMMs (50 cards)

1
Q

What is a Bayesian Network?

A

A Bayesian Network is a graphical model that represents a set of variables and their conditional dependencies using directed acyclic graphs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

True or False: In a Bayesian Network, nodes represent random variables.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does HMM stand for?

A

Hidden Markov Model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Fill in the blank: In a Bayesian Network, the connections between nodes represent __________.

A

conditional dependencies

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the primary purpose of a Hidden Markov Model?

A

To model systems that are assumed to be Markov processes with unobserved (hidden) states.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Multiple Choice: Which of the following is a characteristic of a Bayesian Network? A) Directed cycles B) Directed acyclic graph C) Unconditional independence D) None of the above

A

B) Directed acyclic graph

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

True or False: HMMs can only be used for discrete state spaces.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the role of the prior probability in a Bayesian Network?

A

The prior probability represents the initial beliefs about a variable before observing any evidence.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Fill in the blank: The process of updating beliefs in a Bayesian Network upon receiving new evidence is called __________.

A

Bayesian inference

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the two main components of a Hidden Markov Model?

A

The states and the observations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Multiple Choice: In HMMs, the transition probabilities describe: A) The likelihood of moving from one state to another B) The likelihood of an observation given a state C) The initial state distribution D) All of the above

A

A) The likelihood of moving from one state to another

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

True or False: In a Bayesian Network, the absence of an edge between two nodes implies independence.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a joint probability distribution?

A

A joint probability distribution describes the probability of two or more random variables occurring simultaneously.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Fill in the blank: The __________ algorithm is commonly used for training HMMs.

A

Baum-Welch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the main advantage of using Bayesian Networks?

A

They allow for the representation of complex relationships among variables and enable probabilistic inference.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Multiple Choice: Which of the following is NOT a component of a Bayesian Network? A) Nodes B) Edges C) States D) Conditional probability tables

A

C) States

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What does the term ‘Markov property’ refer to?

A

The Markov property refers to the principle that the future state of a process depends only on the current state and not on the sequence of events that preceded it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

True or False: Bayesian Networks can only represent static relationships.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What is the role of the emission probabilities in HMMs?

A

Emission probabilities define the likelihood of observing a particular output given a specific state.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Fill in the blank: In a Bayesian Network, the __________ table provides the probabilities of a node given its parents.

A

conditional probability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What is the difference between a prior and a posterior probability?

A

Prior probability is the initial belief before observing evidence, while posterior probability is the updated belief after taking evidence into account.

22
Q

Multiple Choice: Which algorithm is used for inference in Bayesian Networks? A) Viterbi algorithm B) Forward algorithm C) Variable elimination D) Expectation-Maximization

A

C) Variable elimination

23
Q

What is a causal relationship in the context of Bayesian Networks?

A

A causal relationship indicates that one variable directly affects another, represented by a directed edge in the network.

24
Q

True or False: HMMs can be used for speech recognition tasks.

25
Fill in the blank: The __________ is used to find the most likely sequence of hidden states in an HMM.
Viterbi algorithm
26
What is the purpose of the prior distribution in Bayesian inference?
To represent the initial beliefs about the parameters before observing the data.
27
Multiple Choice: Which of the following techniques is commonly used for inference in HMMs? A) Particle filtering B) Gradient descent C) K-means clustering D) Linear regression
A) Particle filtering
28
What is the significance of the conditional independence property in Bayesian Networks?
It simplifies the computation of joint probabilities and allows for efficient inference.
29
True or False: HMMs can model systems with both observable and hidden states.
True
30
What is the main limitation of Bayesian Networks?
They can become computationally expensive as the number of variables increases, leading to challenges in inference.
31
What is a Vector Space Model?
A mathematical model for representing text documents as vectors in a continuous vector space.
32
True or False: Word embeddings are a type of Vector Space Model.
True
33
Fill in the blank: In a Vector Space Model, documents are represented as ______.
vectors
34
What is the purpose of word embeddings?
To capture semantic meaning and relationships between words in a continuous vector space.
35
Name one popular method for creating word embeddings.
Word2Vec
36
What does the term 'ensemble model' refer to?
A machine learning model that combines predictions from multiple models to improve accuracy.
37
Multiple Choice: Which of the following is an example of an ensemble model? A) Linear Regression B) Random Forest C) K-Means Clustering
B) Random Forest
38
What is the main advantage of using ensemble models?
They reduce the risk of overfitting and improve predictive performance.
39
True or False: Boosting is a technique that combines weak learners to create a strong learner.
True
40
What is the difference between Bagging and Boosting?
Bagging reduces variance by averaging predictions, while Boosting reduces bias by combining weak learners sequentially.
41
Fill in the blank: Random Forests are an ensemble method that uses ______ decision trees.
multiple
42
What is the main idea behind the Random Forest algorithm?
To build multiple decision trees and aggregate their predictions for improved accuracy.
43
Name one application of word embeddings.
Sentiment analysis
44
Multiple Choice: Which of the following is NOT a characteristic of ensemble models? A) Reduces overfitting B) Combines multiple models C) Always increases computational cost
C) Always increases computational cost
45
What is the role of the learning rate in boosting algorithms?
It controls how much each new model contributes to the ensemble.
46
True or False: In a Vector Space Model, the dimensions of the space correspond to the number of unique words in the vocabulary.
True
47
What is the purpose of dimensionality reduction in the context of word embeddings?
To reduce the number of features while preserving meaningful relationships between words.
48
Fill in the blank: The technique of ______ uses a weighted average of weak learners to improve model performance in boosting.
weighted voting
49
What is one disadvantage of using ensemble models?
Increased complexity and longer training times.
50
Name one metric used to evaluate the performance of ensemble models.
Accuracy