Giter VIP home page Giter VIP logo

kaggle-titanic's Introduction

Titanic: Machine Learning from Disaster

Kaggle foot-in-the-door competition, see https://www.kaggle.com/c/titanic for more information.

nn.py - Using a 3-layer neural network to tackle the problem. More layers led to diminishing returns, but more nodes per layer led to better performance, up to a certain point.

avg.py - Using multiple models and average the output. Logistic Regression and Stochastic Gradient Descent consistently perform worse. By excluding those models, the script generates a performance on-par with the output produced by the neural network.

Features that have high correlation (|correlation| > 0.1)to survival are selected, below is the table showing correlation,

Survived Title HasCabin HasRelative Sex Embarked Fare Age
Survived 1.000000 -0.193635 0.316912 0.203367 -0.543351 -0.163517 0.246223 -0.146453
Title -0.193635 1.000000 -0.039745 -0.069469 0.250075 0.071998 -0.217061 0.206339
HasCabin 0.316912 -0.039745 1.000000 0.158029 -0.140391 -0.154457 0.255369 -0.147788
HasRelative 0.203367 -0.069469 0.158029 1.000000 -0.303646 -0.065610 0.385286 -0.225740
Sex -0.543351 0.250075 -0.140391 -0.303646 1.000000 0.104057 -0.213996 0.118330
Embarked -0.163517 0.071998 -0.154457 -0.065610 0.104057 1.000000 -0.275861 0.247199
Fare 0.246223 -0.217061 0.255369 0.385286 -0.213996 -0.275861 1.000000 -0.886794
Age -0.146453 0.206339 -0.147788 -0.225740 0.118330 0.247199 -0.886794 1.000000

kaggle-titanic's People

Contributors

treble-maker123 avatar

Watchers

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