Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. Shivani works at Masks4 Everyl, an internet startup that ships decorated, personalized COVID-19 masks to customers in various geographic regions in Illinois and surrounding

image text in transcribed
3. Shivani works at Masks4 Everyl, an internet startup that ships decorated, personalized COVID-19 masks to customers in various geographic regions in Illinois and surrounding states. Motivated by the surge of internet sales due to the Omicron variant, the startup is looking to expand into new geographic regions Shivani is tasked with building a model which can identify geographic regions in which Masks, Everyl will be profitable. Shivani compiled a training dataset (see table below) comprised of eleven geographic regions that are currently served by the company. avg. income pop. density # competitors profitable low rural yes low suburban no low suburban yes low urban no med suburban no med suburban HNOHNONOOON yes med urban no med urban yes high suburban yes high rural no high urban yes (a) Considering "profitable" as the target variable, which of the attributes would you select as the root in a decision tree that is constructed using the information gain impurity measure? (b) Use the Gini index impurity measure and construct the full decision tree for this data set. (c) Consider the following set of points as your test data. avg. income pop. density # competitors profitable Ow suburban yes med suburban yes HNON med suburban yes med suburban yes low rural no med suburban high HOOK suburban yes med urban yes What is the accuracy of your decision tree built in part (b) on the test data

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

Elementary Statistics

Authors: William Navidi, Barry Monk

3rd Edition

1259969452, 9781259969454

More Books

Students also viewed these Mathematics questions