Question: A tech company is building a spam detection system using a Naive Bayes model that combines both Multinomial and Gaussian Naive Bayes. The dataset contains
A tech company is building a spam detection system using a Naive Bayes model that combines both Multinomial and Gaussian Naive Bayes. The dataset contains the following features:
Word Counts eg "Dear", "Friend", "Money" Discrete. Time Between Messages in seconds Continuous.
Based on this dataset, answer the following:
a Explain why both Multinomial and Gaussian Naive Bayes are needed for this problem.
b Calculate the prior probabilities for the classes Spam and Not Spam
c Given a new email with:
Dear Friend Money Time Between Messages sec
Use a combination of Multinomial and Gaussian Naive Bayes to calculate the likelihood for this email being classified as Spam or Not Spam.
d Predict whether the new email is Spam or Not Spam based on the calculations.
e Discuss the importance of feature scaling for the continuous feature Time Between Messages in Gaussian Naive Bayes
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
