Skip to content

Predicting survival rates of the Titanic with a multi-layer perceptron neural network.

Notifications You must be signed in to change notification settings

jsisaacs/TitanicAnalysis

Repository files navigation

Titanic Analysis

In this project, I analyzed the Titanic dataset and prediced the surival rates of the passengers on-board.

Exploratory Data Analysis

Here is a general breakdown: EDA Distribution of Survival Distribution of Age Inside Class

Pre-Processing

  • drop values that won't be useful to analysis
  • add a variable in Sex where 0 is female, 1 is male
  • P class variables
  • Create random ages based on avg, std, and null freq
  • Fill null spots in Age
  • fill null values in Embarked
  • fill null spot in Fare

Classifier Implementation

  • features used to train: Pclass, Fare, male or not, and Age
  • label used to train: Survived
  • Used MLPClassifier

MLP

Model Validation

ROC

1.00 is the best possible ROC AUC, higher is better.

About

Predicting survival rates of the Titanic with a multi-layer perceptron neural network.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages