The RMS Titanic crashed into an iceberg in the North Atlantic on 1912, killing 1500 out...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
The RMS Titanic crashed into an iceberg in the North Atlantic on 1912, killing 1500 out of 2224 passengers and crew onboard. In the following table, we have sample data from a census about the Titanic ship. The data profiles passengers who survived the RMS Titanic or not. We have as attributes, or independent variables, 'gender', 'class' and 'age range'. The target variable for prediction is 'survived?'. Gender (G) Class (C) Age range (A) | Survived? (S) 20s 30s 20s 30s 30s M F F F M 3rd 1st 3rd 3rd 3rd No Yes No Yes No In this problem, build by hand two decision tree classification models from this training data, to predict whether a passenger survives the Titanic or not. The decision trees should have all leafs pure (i.e. all data points in the leaf belong to the same class). If needed, you can break ties in any way you want it, but write in your answer how you did it. For full credits, show how each split in the decision tree was decided, in addition to the final tree. (a) (4 pts) Build a decision tree using Information Gain as the criterion to choose the feature for each split. (b) (4 pts) Build a decision tree using Gini Gain as the criterion to choose the feature for each split. A (c) (2 pts) In the Oscar winning movie Titanic (1997), would the fictional character Rose, who is in her 20's and in 1st class, survive her doomed lover Jack as in the movie, according to each of G your models? The RMS Titanic crashed into an iceberg in the North Atlantic on 1912, killing 1500 out of 2224 passengers and crew onboard. In the following table, we have sample data from a census about the Titanic ship. The data profiles passengers who survived the RMS Titanic or not. We have as attributes, or independent variables, 'gender', 'class' and 'age range'. The target variable for prediction is 'survived?'. Gender (G) Class (C) Age range (A) | Survived? (S) 20s 30s 20s 30s 30s M F F F M 3rd 1st 3rd 3rd 3rd No Yes No Yes No In this problem, build by hand two decision tree classification models from this training data, to predict whether a passenger survives the Titanic or not. The decision trees should have all leafs pure (i.e. all data points in the leaf belong to the same class). If needed, you can break ties in any way you want it, but write in your answer how you did it. For full credits, show how each split in the decision tree was decided, in addition to the final tree. (a) (4 pts) Build a decision tree using Information Gain as the criterion to choose the feature for each split. (b) (4 pts) Build a decision tree using Gini Gain as the criterion to choose the feature for each split. A (c) (2 pts) In the Oscar winning movie Titanic (1997), would the fictional character Rose, who is in her 20's and in 1st class, survive her doomed lover Jack as in the movie, according to each of G your models? The RMS Titanic crashed into an iceberg in the North Atlantic on 1912, killing 1500 out of 2224 passengers and crew onboard. In the following table, we have sample data from a census about the Titanic ship. The data profiles passengers who survived the RMS Titanic or not. We have as attributes, or independent variables, 'gender', 'class' and 'age range'. The target variable for prediction is 'survived?'. Gender (G) Class (C) Age range (A) | Survived? (S) 20s 30s 20s 30s 30s M F F F M 3rd 1st 3rd 3rd 3rd No Yes No Yes No In this problem, build by hand two decision tree classification models from this training data, to predict whether a passenger survives the Titanic or not. The decision trees should have all leafs pure (i.e. all data points in the leaf belong to the same class). If needed, you can break ties in any way you want it, but write in your answer how you did it. For full credits, show how each split in the decision tree was decided, in addition to the final tree. (a) (4 pts) Build a decision tree using Information Gain as the criterion to choose the feature for each split. (b) (4 pts) Build a decision tree using Gini Gain as the criterion to choose the feature for each split. A (c) (2 pts) In the Oscar winning movie Titanic (1997), would the fictional character Rose, who is in her 20's and in 1st class, survive her doomed lover Jack as in the movie, according to each of G your models? The RMS Titanic crashed into an iceberg in the North Atlantic on 1912, killing 1500 out of 2224 passengers and crew onboard. In the following table, we have sample data from a census about the Titanic ship. The data profiles passengers who survived the RMS Titanic or not. We have as attributes, or independent variables, 'gender', 'class' and 'age range'. The target variable for prediction is 'survived?'. Gender (G) Class (C) Age range (A) | Survived? (S) 20s 30s 20s 30s 30s M F F F M 3rd 1st 3rd 3rd 3rd No Yes No Yes No In this problem, build by hand two decision tree classification models from this training data, to predict whether a passenger survives the Titanic or not. The decision trees should have all leafs pure (i.e. all data points in the leaf belong to the same class). If needed, you can break ties in any way you want it, but write in your answer how you did it. For full credits, show how each split in the decision tree was decided, in addition to the final tree. (a) (4 pts) Build a decision tree using Information Gain as the criterion to choose the feature for each split. (b) (4 pts) Build a decision tree using Gini Gain as the criterion to choose the feature for each split. A (c) (2 pts) In the Oscar winning movie Titanic (1997), would the fictional character Rose, who is in her 20's and in 1st class, survive her doomed lover Jack as in the movie, according to each of G your models?
Expert Answer:
Related Book For
Managing Operations Across the Supply Chain
ISBN: 978-0078024030
2nd edition
Authors: Morgan Swink, Steven Melnyk, Bixby Cooper, Janet Hartley
Posted Date:
Students also viewed these computer network 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...
-
Describe what is meant by the term balanced in the term balanced scorecard method.
-
A 3-kg plastic tank that has a volume of 0.2 m3 is filled with liquid water. Assuming the density of water is 1000 kg/m3, determine the weight of the combined system.
-
Air at 320 K is flowing in a duct at a velocity of (a) 1, (b) 10, (c) 100, and (d) 1000 m/s. Determine the temperature that a stationary probe inserted into the duct will read for each case.
-
White Company can invest in one of two projects, TD1 or TD2. Each project requires an initial investment of $101,250 and produces the year-end cash inflows shown in the following table. Required 1....
-
One subunit of Boxing Sports Company had the following financial results last month: Requirements 1. Complete the performance evaluation report for this subunit (round to two decimal places). 2....
-
What is a union query? (ii) What is SQL Data Manipulation Language (DML)? (iii) Why is MIS required? (iv) Explain the impact of computer technology on our lifestyle? (v) What do you mean by...
-
In 1913, how long did the average worker stay with the plant? What was the average tenure of a worker? Assume the one-millionth vehicle was produced in 1916 at a cost of $8084 (in 2013 US$). By how...
-
Answer the following questions regarding the enron scandal 1 .how did Enron create value for customers in 1995 and what was their concentration during the subsequent years? Discuss the advantages and...
-
In the risk response stage, when an auditor tests managements estimates, the auditor should assess all of the following, except: a. the controls. b. the model selected. c. the data used. d. the...
-
Define each of the following terms: a. Sarbanes-Oxley Act b. Proprietorship; partnership; corporation c. S corporation; limited liability company (LLC); limited liability partnership (LLP) d....
-
What is the amount of AMT credit carryforward for 2018, assuming that an individual had an alternative minimum tax of \(\$ 20,000\) and an alternative minimum tax for AMT credit of \(\$ 12,000\) ?
-
Ms. Green is single and over 65 years old. She received the following income in 2018: She did not have any adjustments to income. What is the taxable amount of Ms. Green's Social Security? a. \(\$...
-
Arnold Atkins purchased a residence for \(\$ 160,000\) on September 26, 2016. In October 2017 he became ill and was confined to a nursing home. On October 8, 2018 , he sold the residence for \(\$...
-
Abbott, Inc. has the following cost data for Product X: E (Click on the icon to view the data.) Calculate the unit product cost using absorption costing and variable costing when production is 1,000...
-
Is times interest earned meaningful for utilities? Why or why not?
-
Using the discussion of Lean Design, consider the design of a iPod competitor. Give examples of each of the following design wastes: Complexity Precision Immaturity Danger High Skill
-
Select two products that you have recently purchased; one should be a service and the other a manufactured good. Think about the process that you used to make the decision to purchase each item. What...
-
Consider the following software development plan. a. The client has asked for an estimated completion date. What would you tell her? b. The client would like to have the completed software in 37...
-
Cooke Company has a fiscal year ending on September 30. Selected data from the September 30 worksheet are presented below. Instructions (a) Prepare a complete worksheet. (b) Prepare a classified...
-
Let \(X, Y, X_{n}, Y_{n}: \Omega ightarrow \mathbb{R}, n \geqslant 1\), be random variables. a) If, for all n > 1, Xn Yn and if (Xn, Yn) (X, Y), then XIL Y. b) Let X Y such that X, Y ~ B1/2 = (80...
-
Let \(X_{n}, Y_{n}: \Omega ightarrow \mathbb{R}, n \geqslant 1\), be two sequences of random variables. a) If \(X_{n} \xrightarrow{d} X\) and \(Y_{n} \xrightarrow{\mathbb{P}} c\), then \(X_{n} Y_{n}...
Study smarter with the SolutionInn App