titanic_survival_exploration

:ship: :mortar_board: Udacity Machine Learning Nano degree Program Project Predicting Passenger Survival


Project maintained by prateekiiest Hosted on GitHub Pages — Theme by mattgraham

Titanic_Survival_Exploration

Codacy Badge Build status Maintainability

chat on Slack made with &hearts in Python

DOI

 Fork this repo

This repository contains project file for Project 0 - Titanic Survival Exploration as part of Udacity’s Machine Learning Nanodegree.


KWOC

We are glad to partner with IIT Kharagpur as a part of the Kharagpur Winter of Code. We are proud to host this Open Source event during the winter months and we hope you have a great winter this year.

See Project Ideas here


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 problem, 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.

In this optional project, you will create decision functions that attempt to predict survival outcomes from the 1912 Titanic disaster based on each passenger’s features, such as sex and age. Start with a simple algorithm and increase its complexity until you are able to accurately predict the outcomes for at least 80% of the passengers in the provided data. This project will introduce you to some of the concepts of machine learning as you start the Nanodegree program.

Install

This project requires Python 2.7 and the following Python libraries installed:

You will also need to have software installed to run and execute an iPython Notebook

Udacity recommends our students install Anaconda, i pre-packaged Python distribution that contains all of the necessary libraries and software for this project.

Code

Template code is provided in the notebook titanic_survival_exploration.ipynb notebook file. Additional supporting code can be found in titanic_visualizations.py. While some code has already been implemented to get you started, you will need to implement additional functionality when requested to successfully complete the project.

This Notebook will show basic examples of:

Data Handling

Data Analysis

Valuation of the Analysis

Run

In a terminal or command window, navigate to the top-level project directory titanic_survival_exploration/ (that contains this README) and run one of the following commands:

ipython notebook titanic_survival_exploration.ipynb jupyter notebook titanic_survival_exploration.ipynb

This will open the iPython Notebook software and project file in your browser.

Data

The dataset used in this project is included as titanic_data.csv. This dataset is provided by Udacity and contains the following attributes:

Results

Check here Udacity Reviews

Contribution

See CONTRIBUTING.md

Some Video Resources

Online Reading Material

Happy Coding – Prateek Chanda