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

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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