Convert the gender variable into a binary variable

Assignment Help Other Subject
Reference no: EM133270428

Assignment - Boosted Decision Trees and Random Forest Questions

In this assignment, you are going to fit and tune random forest and boosted decision trees to predict whether a given passenger survived the sinking of the Titanic based on the variables provided in the data set. You may use sklearn and gridsearch.

First, download the Titanic.csv file from Sakai, and drop the columns that have "na" values from the data set. Convert the gender variable into a binary variable with 0 representing male, and 1 representing female. Then split 80% of the data into train and 20% of the data into test set.

Fit a random forest and boosted decision tree model on the training set with default parameters, and estimate the time it required to fit each of the models. Which model required less time to train? Why do you think that is? (Hint: look at the default values of the parameters.)

Choose a range of parameter values for each of the algorithms (tell us what parameters you played with), and tune on the training set over 5 folds. Then, draw the ROC and provide the AUC for each of the tuned models on the whole training set (in one figure) and test set (in another figure). Comment on the similarities/differences between the two models (if any).

Reference no: EM133270428

Questions Cloud

Analyze what they did right or wrong : MKTG 475 Western Washington University analyze what they did right or wrong according to today's reading? Explain your reasoning using this actual brand
Describe the advertisement, including the content : MRKT - 450 Walden University Describe the advertisement, including the content (narrative and/or visual elements), the appeal, and the creative
Difference between valuing for preferred and common stock : Principles of Finance - Explain the difference between valuing for preferred stock and common stock and how to calculate for each
Discuss what you think are three root causes of cheating : COMM 171 Centennial College discuss what you think are three root causes of cheating and academic dishonesty, then explain what you think the solution
Convert the gender variable into a binary variable : Convert the gender variable into a binary variable with 0 representing male, and 1 representing female. Then split 80% of the data into train and 20% of data
State any new information required to bring the case : MKT 300 Delaware State University state any new information required to bring the case up-to-date and current address what has happened to the company
Marketing plan to enter a new international market : MKT 10625 Sheridan College creating a marketing plan to enter a new international market is the critical performance for this course
Examine the boeing 737 max project : Examine the Boeing 737 MAX project through a project management lens to determine what went wrong, why and what can be learned from this project
What is the problem the product aims to address : Mktg 708 University of Notre Dame What is the problem the product aims to address? How does the product enhance the company's product portfolio?

Reviews

Write a Review

Other Subject Questions & Answers

  What would you recommend government the healthcare industry

What would you recommend government, the healthcare industry, or healthcare providers do to improve the U.S. healthcare system

  Product development strategy

Based on what you read in the case what do you think Kandy Kastle's new product development strategy is? Why do you think the development of the Hello Kitty product line is so important?

  How does that impact the hub and spoke concept

How and why should inland ports become better utilized to improve the integrated transportation and distribution system

  Why is your client coming for treatment

Why is your client coming for treatment. What are his or her current symptoms

  Demonstration on elements of logistics

Demonstration on Elements of Logistics and use an example to show how this area would benefit the example. This can be a work example, past or present

  Describe the health and public health systems

Describe the health and public health systems in place for the country you selected and consider dimensions such as access, resources.

  How the pre-assessment and learning objective are aligned

Pre-assessments establish a starting point for the teacher. The data collected from the pre-assessment drives the creation of targeted learning activities.

  Determine the minimum weight value across all non-zero code

Determine the minimum Weight value across all non-zero code- words - determine the minimum Distance between two codewords in the code

  Discuss the type of training environment

discuss the type of training environment you feel is best for real learning, as you compare and contrast the training method ideologies associated

  Levels of awareness for sensitivity analysis

.Ultimately, the success of a merger and acquisition (M&A) depends on how effectively the newly merged and acquired companies .

  What have you learned about the theatre

What have you learned about the theatre this term that could help you communicate the value of this ancient art form?

  Assignment on the superior person

Read Confucius' description of a Superior Person: "Wealth and honor are what every man desires. But if they have been obtained in violation of moral principles

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd