Given the data set below for the binary class problem. Keep 2 decimal places. ID Attribute...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Given the data set below for the binary class problem. Keep 2 decimal places. ID Attribute A Attribute B Attribute C Class label 1 T F 2 T T T T T T F F 3 4 5 6 7 9 10 F T F T F F F T F 3.5 2.0 6.7 5.5 4.8 2.3 3.7 4.0 5.1 Y Y Y N Y N ZZZZ N N N N (a) Calculate the information gain when splitting on attribute A and B. Which attribute would the decision tree induction algorithm choose? Show all your work. [10] (b) Calculate the reduction in impurity using Gini index when splitting on A and B. Which attribute would the decision tree induction algorithm choose? Show all your work. [10] (c) Compare information gain and Gini index. Explain your results in part (a) and (b). [5] (d) For the attribute C, which is a continuous attribute, describe how you compute the information gain. [5] Given the data set below for the binary class problem. Keep 2 decimal places. ID Attribute A Attribute B Attribute C Class label 1 T F 2 T T T T T T F F 3 4 5 6 7 9 10 F T F T F F F T F 3.5 2.0 6.7 5.5 4.8 2.3 3.7 4.0 5.1 Y Y Y N Y N ZZZZ N N N N (a) Calculate the information gain when splitting on attribute A and B. Which attribute would the decision tree induction algorithm choose? Show all your work. [10] (b) Calculate the reduction in impurity using Gini index when splitting on A and B. Which attribute would the decision tree induction algorithm choose? Show all your work. [10] (c) Compare information gain and Gini index. Explain your results in part (a) and (b). [5] (d) For the attribute C, which is a continuous attribute, describe how you compute the information gain. [5]
Expert Answer:
Answer rating: 100% (QA)
This image contains a table with data for a binary class problem and four tasks requiring analysis of this data To walk you through the calculations for each of these tasks lets take a look at the tab... View the full answer
Related Book For
An Introduction To Statistical Methods And Data Analysis
ISBN: 9781305465527
7th Edition
Authors: R. Lyman Ott, Micheal T. Longnecker
Posted Date:
Students also viewed these programming questions
-
answer all questions as instructed below. attend all questions. 4 Computer Vision (a) Explain why such a tiny number of 2D Gabor wavelets as shown in this sequence are so efficient at representing...
-
"Fortran, Algol and Lisp invented most programming language concepts 50 years ago; adding the concept of object-orientation suffices to explain all programming languages to date". To what extent is...
-
Tiffee Company identifies the following items for possible inclusion in the physical inventory. Indicate whether each item should be included or excluded from the inventory taking. (a) 900 units of...
-
Construct a 95% confidence interval estimate of the mean arrival delay time for the population of all American Airlines flights from JFK to LAX. Listed below are the arrival delay times (min) of...
-
The following ANOVA table and accompanying information are the result of a randomized block ANOVA test. a. How many blocks were used in this study? b. How many populations are involved in this test?...
-
Describe how their population growth curves differ. What factors could cause one population to have a higher rate of increase than the other?
-
Use the data visualization methods presented in this chapter to explore these data and discover relationships between the variables. Include the following, in your report: 1. Create a scatter chart...
-
Troy Hancey has been making payments on his 9.5% boat loan for what seems like forever! Troy made a payment on May 1. His balance after that payment was $3,129.84. He just sold some stock and decides...
-
Consider the structures of the two statins drawn below and match each to its proper descriptor(s). Answer choices may be matched once, more than once, or not at all. HO COO + Na OH H CH3 age CH3 1 F...
-
Our company is in the office supply business. We are a retail establishment selling office supplies and equipment to large and small businesses. We pride ourselves in our quick, free delivery service...
-
During 2021 Farewell Inc has 501,000 shares Of common stock and 50,500 shares of 5% cumulative preferred stock outstanding. The preferred stock has par value of $100 per share. Farewell did not...
-
At Cenovus, acting with integrity is an important aspect of our values. Conflicts of interest Conflicts of interest, or even the appearance of a conflict of interest, can negatively affect Cenovus's...
-
You now need to fill and decorate the CHOCOLATE ECLAIRS Log the activity in your journal and ask a teacher, assessor or senior staff member to sign the relevant journal pages to confirm that you...
-
The COVID-19 Pandemic evidenced that our current approach towards CSR is too slow, conservative, and merely lip service. It does not compensate for the damage that humans have done, it is not even a...
-
Show the re trosynthe tic schemes for the followling. OH
-
-4 1 9. Let A = Find A-1, (A") and verify that (A")= (A-1)".
-
Refer to the study described in Exercise 14.11. Suppose a new study is to be designed in which only three levels of milk fat and three levels of air will be used. Determine the number of replications...
-
The sales manager for a very exclusive brand of automobile declares that, after his staff had completed a new training program, less than 10% of their clients were dissatisfied with the service...
-
A medical researcher designed an experiment to study the impact of three exercise regimens (30, 60, and 90 minutes per week) on the total blood cholesterol level in active adult males. The...
-
Which of the following is a type of genetic change that could produce an oncogene? a. Missense mutation b. Gene amplification c. Chromosomal translocation d. All of the above can produce an oncogene.
-
A mutant gene that promotes cancer when it is overexpressed is called a. a tumor-suppressor gene. b. an oncogene. c. both a and b. d. neither a nor b.
-
Which of the following types of epigenetic changes may promote cancer? a. DNA methylation b. Covalent modification of histones c. Chromatin remodeling d. All of the above may promote cancer.
Study smarter with the SolutionInn App