Use the ID3 algorithm to build the full decision tree for the data set given in Section
Question:
Use the ID3 algorithm to build the full decision tree for the data set given in Section 10.9.2.
Transcribed Image Text:
10.9.2 Example We will start with the training data given below: Film Country of origin Big star Genre Success Film 1 United States yes Science Fiction true Film 2 United States no Comedy false Film 3 United States yes Comedy true Film 4 Europe no Comedy true Film 5 Europe yes Science fiction false Film 6 Europe yes Romance false Film 7 Rest of World yes Comedy false Film 8 Rest of World no Science fiction false Film 9 Europe yes Comedy true Film 10 United States yes Comedy true We will now calculate the information gain for the three different attributes of the films, to select which one to use at the top of the tree. First, let us calculate the information gain of the attribute "country of ori- gin." Our collection of training data consists of five positive examples and five negative examples, so currently it has an entropy value of 1. Four of the training data are from the United States, four from Europe, and the remaining two from the rest of the world.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 100% (QA)
Answered By
PALASH JHANWAR
I am a Chartered Accountant with AIR 45 in CA - IPCC. I am a Merit Holder ( B.Com ). The following is my educational details.
PLEASE ACCESS MY RESUME FROM THE FOLLOWING LINK: https://drive.google.com/file/d/1hYR1uch-ff6MRC_cDB07K6VqY9kQ3SFL/view?usp=sharing
3.80+
3+ Reviews
10+ Question Solved
Related Book For
Question Posted:
Students also viewed these Computer science questions
-
Exercise 21-23 Cash flows from operating activities (direct method) [LO21-3] Portions of the financial statements for Myriad Products are provided below. MYRIAD PRODUCTS COMPANY Income Statement For...
-
Write a C programs that operates like a mini-assembler for an x86-64 processor. The program would generate the machine code corresponding to any assembly code that comprises any combination of the...
-
What are required skills for a good negotiation? Pros and cons for using such a mechanism. Choose a IT work-based scenario and explain whether you would use negotiation or not? Use relevant...
-
2. An analog baseband signal of bandwidth 125 kHz is quantized using a -law quantizer with -200. The signal is then sampled at a rate 3 times its Nyquist rate. The resulting data rate of the...
-
(a) Show that if any 14 integers are selected from the set S = {1, 2, 3, ..., 25}, there are at least two whose sum is 26. (b) Write a statement that generalizes the results of part (a) and Example...
-
A car travels on a straight line level Road a starting from rest. The car is going 3 0 ft . / s ( 2 0 mi / h ) at the point of 4 . 5 seconds. What is the current average acceleration in foot per...
-
Final analytical procedures are generally intended to a. Provide the auditor with a final, overall evaluation of the relationships among financial statement balances. b. Test transactions to...
-
Corales Company acquires a delivery truck at a cost of $38,000. The truck is expected to have a salvage value of $6,000 at the end of its 4-year useful life. Compute annual depreciation expense for...
-
If 1 inch = 2.54 centimeters and I foot = 12 inches, how tall is a person, to the nearest centimeter, if he/she is 5.7 feet tall?
-
Implement the nearest neighbor algorithm in the programming language of your choice. The algorithm should work with vectors of up to 10 integer values and allow up to 10 integer classifications. By...
-
Extend the CLIPS rules given in Section 9.5 to produce a more useful system for running an elevator on a building with five floors. 9.5 CLIPS (C Language Integrated Production System) CLIPS is a...
-
1- Define critical thinking. What are the criteria in which it might be evaluated? 2- What are the biases involved in critical thinking? Explain a recent high-profile court case that has had to...
-
7) A 1200 kg car drives clockwise around a circular track of radius 80 m at 20 m/s. A) Draw a diagram of the car's motion from a bird's eye view. Labeling any relevant information. C) What is the...
-
Robbins Corp. frequently invests excess funds in the Mexican money market. One year ago, Robbins invested in a one - year Mexican money market security that provided a yield of 2 5 percent. At the...
-
1. ...
-
Ross purchased a new commercial vehicle today for $20,000 inclusive of all tax and dealer fees. He made a $1000 down payment and the balance on the car was financed with using a 5 year loan with a 3%...
-
Links: https://home.kpmg/xx/en/home/insights/2021/07/philippines-thinking-beyond-borders.html#:~:text=If%20the%20individual%20stays%20in,trade%20or%20business%20(NRANETB) ....
-
A flow of liquid glycerine flows around an engine, cooling it as it absorbs energy. The glycerine enters the engine at 60oC and receives 9 kW of heat transfer. What is the required mass flow rate if...
-
Citing a scientific article, explain in your own words, how DNA fingerprinting has been used in forensic science to solve crimes and why it may not always be accurate or effective.
-
Evaluate the following course learning outcomes: 3.0 Research: Labour Market and Occupations 3.1 Identify quality sources of occupational and labour market information. 3.2 Conduct a minimum of four...
-
What are the lines output by printStrings () ? Enter your answer here
-
What is the time complexity of the following code represented in terms of Big Oh? Sample4(n){ count = 0 for (i=n/2; i
Study smarter with the SolutionInn App