GithubHelp home page GithubHelp logo

kaggle-titanic-octave's Introduction

kaggle-titanic-octave

Kaggle Titanic project - http://www.kaggle.com/c/titanic-gettingStarted This repo contains files used to generate a solution to the Kaggle Titanic getting started project. The solution files are written in Octave. The core of the solutions are borrowed from the Cousera "Intro to Machine Learning" class taught by Andrew Ng. "test_original.csv" and "train_original.csv" are the original files downloaded from the kaggle website. The "_modified.csv" versions of these files are the ones I modified to contained no hearders and only the paramter values of interest to the algorithm.

In the "train_modified.csv" the columns represented are survived, pclass, sex, age, sibsp, parch, cabin. I adjusted these columns to be numeric values (in cases where they weren't) and simplified some of the range of values to make the algorithm work better. For "sex" the values are 0=male, 1=female. For "age" I simplified the values to indicate only adult or child (age >= 18 => 1, age < 18 => 0). If the age date was missing, I assumed the passenger was an adult and assign a 1. The "cabin" values ranged from "A" to "F" so I merely substituted 1-6, respectively, and 0 if the cabin data was unknown.

kaggle-titanic-octave's People

Contributors

ariesunique avatar

Watchers

James Cloos 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.