Bayes Flashcards

1
Q

What is naive bayes?

A

opposite to 1R uses all attributes, and it makes a strong assumption that all attributes are independent of each other. It allows us to calculate the probability of the data just by using multiplication of probabilities

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

What is priori?

A

probability of an event BEFORE evidence has been seen

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

What is posteriori?

A

probability of an even AFTER evidence has been seen

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

What is bayes theorem?

A

if you know a conditional probability, then you can calculate the opposite probability just by using the same kind of calculation

e.g. P(H | E) = P(E | H) . P(A)
/P(B)

E: Evidence
H: Hypothesis

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

Why does naive bayes make a strong assumption?

A

To make things easier to calculate

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

What is the strong assumption naive bayes makes?

A

That all attributes are independent of each other, meaning that if we know info about one attributes we assume that it doesn’t give any further information about other attributes

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

What is a conditional probabilities?

A

If we know the conditional probability then we can calculate the opposite of it using bayes rule

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

What is joint probabilities?

A

Multiple events like P(A and B), the two events being A and B.

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

How do we use Naive Bayes for classification?

A

Whats the probability of the class given an instance, to apply bayes rule we need to estimate the P(E | H) probability of the evidence given the hypothesis

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

What is the naive assumption made for classification?

A

We assume that attributes are independent when considering a particular class value H

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

What is the “zero frequency problem”?

A

when an attribute doesnt occur in every class, which results in the probability being zero

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

How to fix the “zero frequency problem”?

A

add 1 to the count for every attribute value-class combination

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