1 Star 0 Fork 0

林田雨/machinelearning_homework

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
contribute
Sync branch
林田雨-tianyulin 林田雨 report ac6ce85 3 years ago
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README

Report 2 - Titanic

Task Description

The sinking of the RMS Titanic is one of the most infamous shipwrecks in history. On April 15, 1912, during her maiden voyage, the Titanic sank after colliding with an iceberg, killing 1502 out of 2224 passengers and crew. This sensational tragedy shocked the international community and led to better safety regulations for ships.

One of the reasons that the shipwreck led to such loss of life was that there were not enough lifeboats for the passengers and crew. Although there was some element of luck involved in surviving the sinking, some groups of people were more likely to survive than others, such as women, children, and the upper-class.

In this challenge, we ask you to complete the analysis of what sorts of people were likely to survive. In particular, we ask you to apply the tools of machine learning to predict which passengers survived the tragedy.

Practice Skills

  • Binary classification
  • Python & SKLearn

Data

The data ziped into data.zip, please first extract it. There are two groups:

  • training set (train.csv)
  • test set (test.csv)

The training set should be used to build your machine learning models. For the training set, we provide the outcome (also known as the ground truth) for each passenger. Your model will be based on features like passengers' gender and class. You can also use feature engineering to create new features.

The test set should be used to see how well your model performs on unseen data. For the test set, we do not provide the ground truth for each passenger. It is your job to predict these outcomes. For each passenger in the test set, use the model you trained to predict whether or not they survived the sinking of the Titanic.

We also include gender_submission.csv, a set of predictions that assume all and only female passengers survive, as an example of what a submission file should look like.

Data description

data description1 data description2

Variable Notes

pclass: A proxy for socio-economic status (SES)

  • 1st = Upper
  • 2nd = Middle
  • 3rd = Lower

Requirements

  • Design the classification model, implement the code
  • Think methods to resolve the problem of missing data of some column
  • How to convert the pclass, embarked fields to vector field
  • Submit your result to the website
  • Finish the report by using the template report_template.ipynb
  • Submit code, report through git

Links

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tianyulin/machinelearning_homework.git
git@gitee.com:tianyulin/machinelearning_homework.git
tianyulin
machinelearning_homework
machinelearning_homework
master

Search