5. A devoted skier who lives near the high sierra, a beautiful mountain range in California,...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
5. A devoted skier who lives near the high sierra, a beautiful mountain range in California, wants a decision tree to help him decide whether it is worthwhile to drive his car to a ski resort in the mountains. Day 1 2 3 4 5 6 7 8 9 Day 12 13 14 10 11 Snow Dist 100 100 100 <100 >100 >100 >100 >100 >100 >100 >100 Snow Dist >100 100 >100 b) Apply the decision tree to the following drivers: Weekend yes yes yes no no yes yes yes yes no no no no Weekend yes Sun yes yes no yes yes yes yes no yes yes no a) Construct a decision tree based on this training data. For splitting, use information gain as measure for impurity. Build a separate branch for each attribute. The decision tree shall stop when all instances in the branch have the same class, you do not need to apply a pruning algorithm. Skiing yes yes yes Sun No Yes No yes yes yes no no no no no Skiing 9 2 9 5. A devoted skier who lives near the high sierra, a beautiful mountain range in California, wants a decision tree to help him decide whether it is worthwhile to drive his car to a ski resort in the mountains. Day 1 2 3 4 5 6 7 8 9 Day 12 13 14 10 11 Snow Dist 100 100 100 <100 >100 >100 >100 >100 >100 >100 >100 Snow Dist >100 100 >100 b) Apply the decision tree to the following drivers: Weekend yes yes yes no no yes yes yes yes no no no no Weekend yes Sun yes yes no yes yes yes yes no yes yes no a) Construct a decision tree based on this training data. For splitting, use information gain as measure for impurity. Build a separate branch for each attribute. The decision tree shall stop when all instances in the branch have the same class, you do not need to apply a pruning algorithm. Skiing yes yes yes Sun No Yes No yes yes yes no no no no no Skiing 9 2 9
Expert Answer:
Answer rating: 100% (QA)
aLets draw the decision tree The Decision whether to go for skiing is written in Cir... View the full answer
Related Book For
Microeconomics An Intuitive Approach with Calculus
ISBN: 978-0538453257
1st edition
Authors: Thomas Nechyba
Posted Date:
Students also viewed these programming questions
-
Design a Java class that represents a cache with a fixed size. It should support operations like add, retrieve, and remove, and it should evict the least recently used item when it reaches capacity.
-
can someone solve this Modern workstations typically have memory systems that incorporate two or three levels of caching. Explain why they are designed like this. [4 marks] In order to investigate...
-
In Exercises determine which of the integrals can be found using the basic integration formulas you have studied so far in the text. (a) (b) (c) S x - 1 dx
-
Refer to the consolidated financial statements for Reitmans (Canada) Limited, which are reproduced in Appendix A at the end of the textbook. Instructions (a) How does Reitmans define "cash" for the...
-
A German importer has entered into a contract under which it will require payment in GBP in one month. The company is concerned at its exposure to foreign exchange risk and decides to enter into a...
-
Compare distributed databases to database servers.
-
The investments of Macon, Inc., include a single investment: 8,000 shares of Pacific Wave, Inc. common stock purchased on August 10, 2012, for $8 per share including brokerage commission. These...
-
Lily Corporation has 100,000 shares of $40 par value preferred stock authorized. During the year, it had the following transactions related to its preferred stock. (a) Issued 25,000 shares at $60 per...
-
Mario has an AGI of $240,000 and decides to donate to charity. In 2023, he donates cash of $43,000 and stock currently worth $78,000 (tax basis $57,000). Assume he has held the stock for 3 years. He...
-
The payroll of Crane Company for September 2025 is as follows. Total payroll was $458,000, of which $110,000 is exempt from Social Security tax because it represented amounts paid in excess of...
-
Cardinal Company is considering a project that would require a $2,800,000 investment in equipment with a useful life of five years. At the end of five years, the project would terminate and the...
-
A job order cost sheet for Ryan Company is shown below. Job No. 92 For 2,000 Units Date Direct Materials Direct Manufacturing Labor Overhead Beg. bal. Jan. 1 7,000 8,000 5,600 8 8,000 12 9,000 7,200...
-
Suppose gasoline and electric vehicles are substitutes. Use supply and demand models to illustrate what happens in the gasoline vehicle market when a technological battery advancement occurs in the...
-
The standard cost of product 999 includes 2 units of direct materials at $5.80 per unit. During August, the company bought 27,100 units of materials at $6.00 and used those materials to produce...
-
1. what arguments might the union make at the arbitration hearing 2. what arguments might the employer make at the arbitration hearing ? 3. explain the decision you expect the arbitrator to make...
-
Classify each of the following activities as proper or prohibited under the various consumer statutes you have studied. a. Calling a hospital room to talk to a debtor who is a patient there. b....
-
The following is intended to explore what kinds of income-demand relationships are logically possible. A: For each of the following, indicate whether the relationship is possible or not and explain:...
-
We have illustrated in several settings the role of actuarially fair insurance contracts (b, p) (where b is the insurance benefit in the bad state and p is the insurance premium that has to be paid...
-
A: Assume that the production technology uses labor and capital k as inputs, and assume through- out this problem that the firm is currently long run profit maximizing and employing a production...
-
(a) Among 880 smart phones sold by a retailer, 72 required repairs under the warranty. Estimate the probability that a new phone, which has just been sold, will require repairs under the warranty....
-
A car rental agency has 19 compact cars and 12 intermediate-size cars. If four of the cars are randomly selected for a safety check, what is the probability of getting two of each kind?
-
With reference to Exercise 3.34, suppose that the questionnaire filled in by one of the 150 persons is to be double-checked. If it is chosen in such a way that each questionnaire has a probability of...
Study smarter with the SolutionInn App