Your are trying to build a classifier to figure out which restaurant is best suited for...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Your are trying to build a classifier to figure out which restaurant is best suited for a dinner with your friends. You gathered data about four different restaurants and in particular about the kind of restaurant (fast food or casual dining), their locations (Oakland or Squirrel Hill), and whether they can comply with dietary restrictions (none or vegetarian) and whether you enjoyed them or not. The data is reported in the following table: Type Fast Food Casual Dining Casual Dining Casual Dining Neighborhood Oakland Squirrel Hill Squirrel Hill Oakland Restriction OK Vegetarian No None Vegetarian Yes No None Yes Based on this data, use the greedy learning method to build a decision tree. Predictor selection is determined using information gain. Is this tree optimal (i.e, zero classification error with minimal depth)? If this tree is not optimal, draw the optimal tree. Your are trying to build a classifier to figure out which restaurant is best suited for a dinner with your friends. You gathered data about four different restaurants and in particular about the kind of restaurant (fast food or casual dining), their locations (Oakland or Squirrel Hill), and whether they can comply with dietary restrictions (none or vegetarian) and whether you enjoyed them or not. The data is reported in the following table: Type Fast Food Casual Dining Casual Dining Casual Dining Neighborhood Oakland Squirrel Hill Squirrel Hill Oakland Restriction OK Vegetarian No None Vegetarian Yes No None Yes Based on this data, use the greedy learning method to build a decision tree. Predictor selection is determined using information gain. Is this tree optimal (i.e, zero classification error with minimal depth)? If this tree is not optimal, draw the optimal tree.
Expert Answer:
Answer rating: 100% (QA)
Answer Here is a way to structure and analyze this data Restaurant Type Location Dietary Restrictions Enjoyed Restaurant A Fast Food Oakland None Yes Restaurant B Casual Dining Squirrel Hill Vegetarian No Restaurant C Fast Food Oakland None Yes Restaurant D Casual Dining Squirrel Hill Vegetarian Yes Based on this data you can perform several analyses or build a classifier using machine learning techniques Descriptive Analysis Start with some basic descriptive statistics For example calculate the frequency of each restaurant type location and dietary restriction ... View the full answer
Related Book For
Project Management The Managerial Process
ISBN: 9781260570434
8th Edition
Authors: Eric W Larson, Clifford F. Gray
Posted Date:
Students also viewed these computer network questions
-
3. A system has a 3 ring security model similar to that discussed in class. Ring 0 is used for a hypervisor, HV, managing virtual machines, Ring 1 is used for the O/S kernel of any of the virtual...
-
So I was 27 years old and I was in between jobs. And I started thinking about, you know, what I wanted to do. And I didn't really have an idea of exactly what I wanted to do. So I took a temp job at...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
What were the worst mistakes made by Globestelle during the production development process ? CASE 15 Case date 2001 The Reltex Project Nigel Slack Globestelle is the world's largest precision...
-
If the polar coordinates of the point (x, y) are (r, ), determine the polar coordinates for the points: (a) (x, y), (b) (2x, 2y), and (c) (3x, 3y).
-
The notes are an important part of a company's financial statements, giving valuable details that would clutter the tabular data presented in the statements. This case will help you learn to use a...
-
Data set: Systolic blood pressure levels (in millimeters of mercury) of 28 patients Construct a frequency distribution and a relative frequency histogram for the data set using five classes. Which...
-
Warehouse System Inc. recognized service revenue of $960,000 on its financial statements in 2011. Assume, however, that the tax code requires this amount to be recognized for tax purposes in 2012....
-
(a) Apply your linear regression model using gradient descent to find the best fit of the data given by: x = np.array([ 0., 1.66666667, 3.33333333, 5.0, 6.66666667, 8.33333333, 10.0, 11.66666667,...
-
Strong Shoes' comparative balance sheet is presented below. Strong reports under ASPE. Additional information: 1. Profit was $28,300. Dividends declared and paid were $26,400. 2. Equipment that cost...
-
SkyBlue Co. is a Chicago-based company that provides self-storage rental service. The management team of SkyBlue has been discussing whether to build a new storage facility on the west side of the...
-
Why is culture important to human society and the study of social psychology ?
-
1. What is the purpose of double-entry bookkeeping? 2. What is the difference between an asset and a liability in accounting? 3. How does the accrual accounting method differ from the cash accounting...
-
cut 7/10 Debby bought a bamboo plant that was 8/10 feet high. When she got it home she cut 7 feet off of it. How tall was the plant after she cut it down? 2) On Monday Olivia spent 3%, hours...
-
How do poets manipulate imagery to evoke emotional responses and convey complex themes within their verses ?
-
Analyze to what extend the conflicts and dispute that emerges in the first SCRUM teams are related to Mary Parker Follett's distinction between power-over and power. Case: Agile Transformation of...
-
14. (a) The diagram shows how blood glucose in mammalian body is regulated. Rise Normal glucose Level 90mg/100cm (i) Name the hormone R Fall Pancrease secretes hormone R Less hormone R secreted...
-
General Electric Capital, a division of General Electric, uses long-term debt extensively. In a recent year, GE Capital issued $11 billion in long-term debt to investors, then within days filed legal...
-
Which of the eight traits/skills associated with being an effective project manager is the most important? The least important? Why?
-
What is the difference between managing and leading a project?
-
What are the eight elements of a typical scope statement?
-
All of the following are correct as to how the PBGC is financed except A. Assets of defined benefit plans which have been taken over. B. Insurance premiums paid by plan participants. C. PBGC...
-
If a personal financial plans assumed rate of return is 7 percent and the assumed inflation rate during financial independence is 6 percent, what is the inflation-adjusted return for the plan? A....
-
Which of the following is a probability analysis? A. Historic returns. B. Monte Carlo. C. Straight-line returns. D. Stress testing.
Study smarter with the SolutionInn App