Coder Social home page Coder Social logo

titanic-kaggle's Introduction

titanic-kaggle

Models for predicting who have survived to the tragic sinking of the RMS Titanic ship.


Models

  • LogReg: Logistic Regression. Features: PClass, Sex, Sibsp.
  • LogReg2: Logistic Regression with polynomial feartures (degree =2). Features: PClass, Sex, Sibsp.
  • LogReg2+: Logistic Regression with polynomial feartures (degree =2). Features: PClass, Sex, Age, Sibsp, Parch.
  • DTree: Decision Tree.

Results

A sumary of the results are presented at the table:

Model Accurracy
Train Test
LogReg 0.80029 0.77033
LogReg2 0.7991 0.77511
LogReg2+ 0.8305 0.78947
Decision Tree 0.8039 (avg) 0.74162

Conclusions

I noted that:

  1. Looking at the coefficients at the LogReg model is a great way to infer which variables are more important to the predictions.
  2. The accuracy is always lower for the test set, compered to the train set.
  3. The Decision Tree model represented the higher difference between train and test sets.
  4. The LogReg2+ improved somehow the results compared to the LogReg2 and LogReg models, although they are quite similar.

titanic-kaggle's People

Contributors

elacerdajr 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.