2. (10 points) Recall our table for the Restaurant problem: Num Alt Bar Fri Hun Pat...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
2. (10 points) Recall our table for the Restaurant problem: Num Alt Bar Fri Hun Pat Price Rain Res Type Est Wait 888 French 0-10 $ S $ yes no Z1 Fr Is Iz To 27 Is yes no yes some yes full yes no no no yes no no yes yes yes yes no some full full some $$ none $ no yes some 88 full no yes no yes no yes no yes no no no yes yes no yes yes yes yes no no no no none Ig Iso F11 12 yes yes yes yes $ $$$ $ 0000 $ no yes no no no no Burger yes yes yes yes yes no no a) Hungry Gain (Hungry) = 1- [7/12 B (5/7) + 5/12 B (1/5)] yes Thai 30-60 no yes yes no 0-10 Thai 10-30 yes French >60 yes Italian 0-10 no Burger 0-10 Thai 0-10 b) Bar Gain (Bar) = 1- [6/12 B (3/6)+ 6/12 B (3/6)] no Burger >60 yes Italian 10-30 no Thai 0-10 no Burger 30-60 Using the Shannon entropy formula and our formula for Gain, calculate the amount of information obtained by choosing the attribute: yes yes no no no yes 2. (10 points) Recall our table for the Restaurant problem: Num Alt Bar Fri Hun Pat Price Rain Res Type Est Wait 888 French 0-10 $ S $ yes no Z1 Fr Is Iz To 27 Is yes no yes some yes full yes no no no yes no no yes yes yes yes no some full full some $$ none $ no yes some 88 full no yes no yes no yes no yes no no no yes yes no yes yes yes yes no no no no none Ig Iso F11 12 yes yes yes yes $ $$$ $ 0000 $ no yes no no no no Burger yes yes yes yes yes no no a) Hungry Gain (Hungry) = 1- [7/12 B (5/7) + 5/12 B (1/5)] yes Thai 30-60 no yes yes no 0-10 Thai 10-30 yes French >60 yes Italian 0-10 no Burger 0-10 Thai 0-10 b) Bar Gain (Bar) = 1- [6/12 B (3/6)+ 6/12 B (3/6)] no Burger >60 yes Italian 10-30 no Thai 0-10 no Burger 30-60 Using the Shannon entropy formula and our formula for Gain, calculate the amount of information obtained by choosing the attribute: yes yes no no no yes
Expert Answer:
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-6. On December 12, Irene purchased the building where her store is located. She paid...
-
a. Given the following information, calculate the expected value for Firm Cs EPS. Data for Firms A and B are as follows: E(EPS A ) = $5.10, and A = $3.61; E(EPS B ) = $4.20, and B = $2.96. b. You...
-
All accountants should be located in the head office of a company so that they can be closer to the senior management. Do you agree with this statement? Provide reasons for your answer.
-
Claim: three-fourths of all adults believe that it is important to be involved in their communities. Based on a USA Today/Gallup poll of 1021 randomly selected adults, 89% believe that it is...
-
What is object-oriented modeling? How does it differ from Unified Modeling Language (UML)?
-
Ida, who has AGI of $80,000 before considering rental activities, is active in three separate real estate rental activities. Ida has a marginal tax rate of 28%. She has $12,000 of losses from...
-
Each student will reflect on their results and complete the assignment by posting their answers to the following questions in the Assignment 1 submission folder: Part A- Answer the questions in Part...
-
Reba Dixon is a fifth-grade school teacher who earned a salary of $38,000 in 2020. She is 45 years old and has been divorced for four years. She receives $1,200 of alimony payments each month from...
-
For a normal eye, the far point is at infinity and the near point of distinct vision is about 25cm in front of the eye. The cornea of the eye provides a converging power of about 40 dioptres, and the...
-
In Problems 23-26, apportion the indicated number of representatives to two states, A, and B, using Hamilton's plan. Next, recalculate the apportionment using Hamilton's plan for the three states,...
-
Use this information to answer the questions in Problems 12-17. a. What does the notation \((\mathrm{ACB})\) mean? b. What does the " 4 " under (ACB) mean? In voting among three candidates, the...
-
Consider the populations given in Problems 29-32. a. Find the standard divisor. b. Find the standard quota for each precinct. c. Total, rounding the standard quotas down. d. Find a modified divisor...
-
Determine the winner, if any, using the voting methods in Problems 29-34. Hare method In voting among three candidates, the outcomes are reported as: (CBA) (ACB) (BAC) (BCA) (CAB) 3 0 4 2 5 (ABC) 8
-
a. If there are 10 voters and 5 candidates, how many total points would there be in a Borda count? b. If there are 20 voters and 4 candidates, how many total points would there be in a Borda count?...
-
In the graph on the right, the demand for syrup has changed because the price of frozen waffles has risen from $2.50 to $3.50 per package. The cross-price elasticity of demand between frozen waffles...
-
2. In the circuit given in Figure 2, i,(t) = 5.67cos(5t)A and v (t) = 70.71 cos(5t 60) V a) Find the equivalent load impedance. State whether the load is inductive or capacitive. b) Calculate the...
-
Indicate, in each of the following situations, the number of exemptions the taxpayers are entitled to claim on their 2012 income tax returns. Number of Exemptions a. Donna, a 20-year-old single...
-
Amy is a calendar-year taxpayer reporting on the cash basis. Please indicate how she should treat the following items for 2012: a. She makes a deductible contribution to an IRA on April 15,...
-
Ann hires a nanny to watch her two children while she works at a local hospital. She pays the 19-year-old nanny $125 per week for 48 weeks during the current year. a. What is the employer's portion...
-
A plate-and-frame filter press operating at a constant $\Delta P$ of $150 \mathrm{psi}$ is to be used to filter a sludge containing $2 \mathrm{lb}_{\mathrm{m}}$ of solids per $\mathrm{ft}^{3}$ of...
-
A slurry is being filtered at a net rate of $10,000 \mathrm{gal} /$ day by a plate-and-frame filter with 15 frames with an active filtering area of $1.5 \mathrm{ft}^{2}$ per frame, fed by a positive...
-
A slurry containing $40 %$ solids by volume is delivered to a rotary drum filter, which is $4 \mathrm{ft}$ in diameter and $6 \mathrm{ft}$ long and operates at a vacuum of $25 \mathrm{in}$....
Study smarter with the SolutionInn App