MODULE 2 S2.3.2 Flashcards

Naive Bayes

1
Q

It is a supervised machine learning algorithm that uses principles of probability to perform classification tasks.

A

Naive Bayes classifier

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

It works by calculating the probability of an item belonging to a certain class based on its features.

A

Naive Bayes classifier

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

Naive Bayes classifiers are a collection of classification algorithms based on ___________.

A

Bayes’ Theorem

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

Naive Bayes is called naive because it assumes that each input variable is ______________.

A

independent

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

Naive Bayes is called _________ because it assumes that each input variable is independent.

A

naive

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

It ensures that how one feature affects an outcome in no way interacts with how another variable affects the same outcome.

A

Conditional independence

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

Naive Bayes Classifiers

A

Gaussian Naive Bayes
Multinomial Naive Bayes
Bernoulli Naive Bayes
Categorical Naive Bayes

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

Advantages of using Naive Bayes classifier for classification

A

It is very easy to implement and fast
Needs less training data
The classifier is not sensitive to irrelevant features

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

Applications of Naive Bayes

A

Text Classification
Spam Filtration
Sentiment Analysis
Classifying Articles
Recommendation Systems
Real-Time Predictions

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

T/F Naive Bayes assumes conditional independence where Bayes theorem does not.

A

True

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

T/F You should always include the denominator when calculating the most probable class.

A

False (it does not affect the outcome)

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

numerator

A

likelihood
prior probability

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

denominator

A

predictor prior probability

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

_______________ for each class is calculated and the class with maximum value is the final predicted class (result) of the model.

A

Posterior probabilities

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

Working of Naive Bayes Classifier

A
  1. Convert the given dataset into frequency tables.
  2. Generate Likelihood table by finding the probabilities of given features.
  3. Now, use Bayes theorem to calculate the posterior probability.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

  • contribution to the outcome
A

independent
equal