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
-
turnaround strategy is proposed: Market Analysis: Conduct a thorough analysis of the South African cinema market, including customer preferences, emerging trends, and competitor analysis. Identify...
-
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
-
A closed system receives heat at a rate of 2 kW from a source at 1000 K, electrical power at a rate of 2 kW and shaft power at a rate of 2 kW. Determine the net rate of (a) Energy transfer and (b)...
-
Wilhelms Cola Company plans to market a new lime-flavored cola this summer. The decision is whether to package the cola in returnable or in nonreturnable bottles. Currently, the state legislature is...
-
An Euler trail is a trail that visits each _________________ exactly once. Fill in the blank to make the statement true.
-
1. Halen Companys unadjusted trial balance at December 31, 2010, included the following accounts. Debit Credit Allowance for doubtful accounts ..................$4,000 Net Sales...
-
What does proj a b mean? Draw a picture. What is the formula for proj a b in terms of |b|, , and ^ a ^ = a 1 a . Use this to write a b in terms of |a| and |proj a b|. What happens when you flip a and...
-
Light-It-Up Company maintains and repairs warning lights, such as those found on radio towers and lighthouses. Light-It-Up Company prepared the following end-of-period spreadsheet at August 31, 20Y5,...
-
Which of the following are true? Group of answer choices attractive people always believe compliments from other people we want to think well of ourselves we can gain self-esteem by putting down our e
-
A company wants to test the effectiveness of a new acne cream. The company recruits 500 girls ages 13 to 17 who have acne. The subjects are randomly assigned into two groups. One group is given the...
-
The average distance traveled to a stadium by 55,000 spectators In Exercises 29 and 30, determine whether you would take a census or use a sampling. If you would use a sampling, determine which...
-
Design an electronic survey, using an online website, to determine if there is a relation between health awareness and purchasing organic food. Use the survey to determine if a difference in gender...
-
The average GPA of the 85 students on a college football team roster In Exercises 29 and 30, determine whether you would take a census or use a sampling. If you would use a sampling, determine which...
-
In a survey of 1000 household food purchasers, 24.7% say that they avoid meat, dairy, and eggs produced by animals living in confined conditions. In Exercises 58, determine whether the number...
-
Blue Spruce Book Warehouse Ltd. distributes hardcover books to retail stores. At the end of May, Blue Spruce's inventory consists of 250 books purchased at $20 each. Blue Spruce uses a perpetual...
-
An item of depreciable machinery was acquired on 1 July 2009 for $120,000 by cash It is expected to have a useful life of 10 years and zero salvage value On 1 July 2012, it was decided to revalue the...
-
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...
-
Understand key terms (Learning Objectives 1, 2) Fill in the blank with the phrase that best completes the sentence. a. The static budget is developed atthe- b. The flexible budget used in an income...
-
Compute more direct materials efficiency variances (Learning Objective 4) Refer to the McDonalds Data Set on page 643. 1. Compute the direct materials efficiency variance for onion, mustard, and...
-
Explain the benefits of standard costs (Learning Objective 3) Lladro is a Spanish manufacturer of porcelain art objects. Raw materials are mixed to form clay, which is shaped into figurines. The...
Study smarter with the SolutionInn App