Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Fleur-de-Lis is a boutique bakery specializing in cupcakes. The bakers at Fleur-de-Lis like to experiment with different combinations of four major ingredients in its cupcakes

Fleur-de-Lis is a boutique bakery specializing in cupcakes. The bakers at Fleur-de-Lis like to experiment with different combinations of four major ingredients in its cupcakes and collect customer feedback; it has data on 150 combinations of ingredients with the corresponding customer reception for each combination classified as thumbs up (Class 1) or thumbs down (Class 0). To better anticipate the customer feedback of new recipes, Fleur-de-Lis has determined that a k-nearest neighbors classifier with k 510 seems to perform well.

Using a cutoff value of 0.5 and a validation set of 45 observations, Fleur-de-Lis constructs following confusion matrix and the ROC curve for the k-nearest neighbors classifier with k 510:

image text in transcribed

image text in transcribed

As the confusion matrix shows, there is one observation that actually received thumbs down, but the k-nearest neighbors classifier predicts a thumbs up. Also, there is one observation that actually received a thumbs up, but the k-nearest neighbors classifier predicts a thumbs down. Specifically:

image text in transcribed

c) Based on what we know about Observation B, if the cutoff value is lowered to 0.2, what happens to the values of sensitivity and specificity? Explain. Use the ROC curve to estimate the values of sensitivity and specificity for a cutoff value of 0.2.
If required, round your answers to three decimal places. Do not round intermediate calculations.

Sensitivity = ?

Specificity = ?

Predicted Feedback Thumbs Up Thumbs Down Actual Feedback Thumbs Up Thumbs Down 13 1 1 30 1.0 0.9 0.8 - 0.7 1 0.6 Sensitivity 0.5 1 0.4 - 0.3 - 0.2 Random Classifier Optimum Classifier Fitted Classifier 0.1 0.0 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 Observation ID A B Actual Class Thumbs Down Thumbs Up Probability of Thumbs Up 0.5 0.2 Predicted Class Thumbs Up Thumbs Down Predicted Feedback Thumbs Up Thumbs Down Actual Feedback Thumbs Up Thumbs Down 13 1 1 30 1.0 0.9 0.8 - 0.7 1 0.6 Sensitivity 0.5 1 0.4 - 0.3 - 0.2 Random Classifier Optimum Classifier Fitted Classifier 0.1 0.0 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 Observation ID A B Actual Class Thumbs Down Thumbs Up Probability of Thumbs Up 0.5 0.2 Predicted Class Thumbs Up Thumbs Down

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

Intermediate Accounting

Authors: kieso, weygandt and warfield.

IFRS Edition

978-1118443965, 1118800532, 9781118800539, 978-0470873991

More Books

Students also viewed these Accounting questions