Giter Site home page Giter Site logo

titanic's Introduction

Titanic Problem

Preface

Given a CSV file of data containing varied pieces of information about passengers on the Titanic, we seek a machine-learning-based approach to reliably predict whether or not a given passenger survived.

-Note: includes the mla library for learning algorithm implementations under the MIT license. The primary goal of this is to have some fun with messing with the data, without worrying about established algorithm implementation, since we don't want to reinvent the wheel.

Intuition-Based Analysis

The following data points are given, with notes on how each might be used in a predictive model.

  • Passenger ID: A unique identifier used as a dictionary key in this model.
  • Survived: A binary result value used to determine whether the model is accurate.
  • Passenger Class: Possible values are 1, 2, and 3 for first, second, and third class. In this model, this will be interpreted as a categorical variable.
  • Name: Names will be ignored in this model as intuition indicates there isn't a strong enough correlation for the data points to be useful. Instead, we pull this out and turn it into a variable based on the honorific of the person (Mr., Mrs., etc.)
  • Sex: Assigned as a binary categorical variable.
  • Age: Assigned as a linear variable.
  • Siblings and Spouses: Assigned as a linear variable.
  • Parents and Children: Assigned as a linear variable.
  • Ticket Number: Ignored in this model and marked as arbitrary.
  • Passenger Fare: Potentially considered as a linear variable, may be removed later if not found to be useful.
  • Cabin Number: Many gaps in this data point exist, and while it might be useful to indicate position on the ship, will be ignored to avoid clouding results.
  • Port of Embarkation: Used as a ternary categorical variable that may be ultimately ignored depending on model performance.

titanic's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.