You are trying to create a model that will predict which companies will be good or...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
You are trying to create a model that will predict which companies will be good or bad investments. The outcomes are negative (bad investment) or positive (good investment). Currently you are using two features: price € (low, high) and industry E {food, tech). Here is the training data: price industry outcome high tech X₂ low food as high tech 24 low tech tech food food as x6 low] low high (a) Create a single feature decision tree (decision stump) for the feature price. At the leaves, clearly label the probability of a positive outcome (Ppos). (b) Create a single feature decision tree (decision stump) for the feature industry. At the leaves, clearly label the probability of a positive outcome (Ppos). (c) Using the threshold 0.2, which leaves would result in a positive classification result for a test example? (d) Using the threshold 0.6, which leaves would result in a positive classification result for a test example? (Separate questions from the previous page) (e) For the single discrete (categorical) feature below (type of fruit), how could you convert this feature into numerical feature(s)? Transform the data (here n = 6) using the right side of the grid below, and briefly explain your answer. fruit I1 orange I2 pear I3 pear apple 4 IS I6 orange apple (f) Using big-O notation, how long does it take to create a single feature decision tree model (decision stump)? You may assume that: n is the number of training examples, m is the number of testing examples, all example have p features, the feature in question has u possible values, and the outcome is binary. Explain your reasoning (including any assumptions about implementation) for full credit. (g) Considering the same assumptions as above, how long does it take to predict the outcomes for the m testing examples? Again answer using big-O notation and explain your reasoning. You are trying to create a model that will predict which companies will be good or bad investments. The outcomes are negative (bad investment) or positive (good investment). Currently you are using two features: price € (low, high) and industry E {food, tech). Here is the training data: price industry outcome high tech X₂ low food as high tech 24 low tech tech food food as x6 low] low high (a) Create a single feature decision tree (decision stump) for the feature price. At the leaves, clearly label the probability of a positive outcome (Ppos). (b) Create a single feature decision tree (decision stump) for the feature industry. At the leaves, clearly label the probability of a positive outcome (Ppos). (c) Using the threshold 0.2, which leaves would result in a positive classification result for a test example? (d) Using the threshold 0.6, which leaves would result in a positive classification result for a test example? (Separate questions from the previous page) (e) For the single discrete (categorical) feature below (type of fruit), how could you convert this feature into numerical feature(s)? Transform the data (here n = 6) using the right side of the grid below, and briefly explain your answer. fruit I1 orange I2 pear I3 pear apple 4 IS I6 orange apple (f) Using big-O notation, how long does it take to create a single feature decision tree model (decision stump)? You may assume that: n is the number of training examples, m is the number of testing examples, all example have p features, the feature in question has u possible values, and the outcome is binary. Explain your reasoning (including any assumptions about implementation) for full credit. (g) Considering the same assumptions as above, how long does it take to predict the outcomes for the m testing examples? Again answer using big-O notation and explain your reasoning.
Expert Answer:
Answer rating: 100% (QA)
a The data would be divided according to the feature price which has two possible values low and high in order to generate a single feature decision tree decision stump for that feature The likelihood ... View the full answer
Related Book For
Money Banking and Financial Markets
ISBN: 978-0078021749
4th edition
Authors: Stephen Cecchetti, Kermit Schoenholtz
Posted Date:
Students also viewed these programming questions
-
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...
-
For this exercise, you will replicate (on a smaller scale) the box-office prediction modeling explained in Application Case 5.6. Download the training data set from Online File W5.2, MovieTrain.xlsx,...
-
For the attractive-nuisance doctrine to apply, the possessor need not be aware that children are likely to trespass on his land or have reason to know that the condition poses an unreasonable risk of...
-
What is Quantity Demanded and how it effects the economies?
-
In 2020, Ibran Corp. required additional cash for its business. Management decided to use accounts receivable to raise the additional cash and has asked you to determine the income statement effects...
-
A gas obeys the ideal gas law at (a) Low pressure and high temperature (b) Low pressure and low temperature (c) Low temperature and high pressure (d) High temperature and high pressure.
-
Eddie Edwards and Phil Bell own and operate The Second Hand Equipment Shop. The following transactions involving notes and interest were completed during the last three months of 20--: Oct. 1 Issued...
-
Gunther invested $15,000 into a segregated fund with a 65% maturity guarantee 10 years ago. The fund is now maturing and has a current market value of $22,261. Gunther decides to withdraw his...
-
Gus Limited issued $32 million 7.5 percent, 5 year bonds on October 1, 2022. The market rate of interest on the date of the issue was 8 percent. Interest is payable semi-annually on April 1 and...
-
Next, the students adjust the ramp into the configuration labeled Ramp 3 in which the lowest part of the ramp has been shaped into a circular curve. The lowest point of Ramp 3 is at the same height...
-
The tension in cable AB is 1490 lb. Consider the force which this cable exerts on point A and determine the equivalent force-couple system at point O. Answer: A 8.7' F = (i Mo=( i 4.9' T 4.0' 1.1'...
-
A pumpkin is shot with an initial speed of 58 m/s and 37.0 angle with respect to the ground. What is the maximum height the pumpkin goes above the ground, in meters? Use g = 10.0 m/s2.
-
The Ottawa Rebels are a minor league soccer team owned by Paul Brisson. A list of the accounts used by the team are as follows: Cash $20,000 Accounts Receivable Supplies Equipment Accounts Payable...
-
You work as a complex financial report analyst for a consulting firm in Sydney. Some investors have hired you to provide a detailed presentation where you analyze the balance sheet of tesla. Your...
-
Tammi took the Strong Interest Inventory and discovered that her top two interest areas are Social and Realistic. She is looking for a career that may be a good fit for her, but is confused since...
-
Organizations are increasing their use of personality tests to screen job applicants. What are some of the advantages and disadvantages of this approach? What can managers do to avoid some of the...
-
Compute the present value of a $100 investment made 6months, 5 years, and 10years from now at 4 percent interest.
-
Explain why the short-run aggregate supply curve is upward sloping. Under what circumstances might it be vertical?
-
Describe at least three ways you could pay for your morning cup of coffee. What are the advantages and disadvantages of each?
-
Trust Management System: A university would like to develop a system for students to evaluate their peers performance in some group projects. Students ratings in various categories will affect a...
-
Building trust in potential students to join music classes by a music teacher a. Explain the above scenario. b. Draw a class diagram for it. c. Document a detailed and significant use case. d. Create...
-
Building trust in parents by hostel authorities to state that hostel is safe for students to live a. Explain the above scenario. b. Draw a class diagram for it. c. Document a detailed and significant...
Study smarter with the SolutionInn App