Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

We have a dataset containing 180 email messages. 90 of the email messages were identified as spam and 90 were identified as not spam. Fout

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
We have a dataset containing 180 email messages. 90 of the email messages were identified as spam and 90 were identified as not spam. Fout features were selected for the task of building a classification model to identify if an email was spam (positive class) or not (negative class). A tabhe explaining the features and some R output is shown below. spaindat = spandat $>.8 mutate(preds = predict( (glm1, type = "response") \%sx round()) im = caret: ; confusionMatrix(data i= factor(spandatSpreds). reference = factor (spandatsis_spam), positive = "1.1) spandat = spandot 10x mutate(preds = predict(glm1, type = "response") os round()) cm = caret:: confusionMatrix(data = factor(spandatspreds), reference = factor ( spomdatsis, 5pam), cmstable positive = "1") Using the confusion matrix output and noting that the positive class is the presence of spam (coded as 1). calculate the following performance me For each, report your answer to 2 decimal places. False negative rate: We have a dataset containing 180 email messages. 90 of the email messages were identified as spam and 90 were identified as not spam. Fout features were selected for the task of building a classification model to identify if an email was spam (positive class) or not (negative class). A tabhe explaining the features and some R output is shown below. spaindat = spandat $>.8 mutate(preds = predict( (glm1, type = "response") \%sx round()) im = caret: ; confusionMatrix(data i= factor(spandatSpreds). reference = factor (spandatsis_spam), positive = "1.1) spandat = spandot 10x mutate(preds = predict(glm1, type = "response") os round()) cm = caret:: confusionMatrix(data = factor(spandatspreds), reference = factor ( spomdatsis, 5pam), cmstable positive = "1") Using the confusion matrix output and noting that the positive class is the presence of spam (coded as 1). calculate the following performance me For each, report your answer to 2 decimal places. False negative rate

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Transaction Processing

Authors: Philip M. Lewis, Arthur Bernstein, Michael Kifer

1st Edition

0201708728, 978-0201708721

More Books

Students also viewed these Databases questions

Question

3. What information do participants need?

Answered: 1 week ago