Titanic survival predictor

In this tutorial, we will learn to use TFLearn and TensorFlow to model the survival chance of titanic passengers using their personal information (such as gender, age, and so on). To tackle this classic machine learning task, we are going to build a DNN classifier.

Let's take a look at the dataset (TFLearn will automatically download it for you).

For each passenger, the following information is provided:

survivedSurvived (0 = No; 1 = Yes) pclass            Passenger Class (1 = st; 2 = nd; 3 = rd) name Name sex  Sex age  Age sibsp   Number of Siblings/Spouses Aboard parch   Number of Parents/Children Aboard ticket  Ticket Number fare    Passenger Fare

Here are some samples extracted from the dataset:

survived pclass name sex age ...

Get Deep Learning with TensorFlow now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.