Giter Club home page Giter Club logo

kaggle-titanic_problem's Introduction

Titanic

The titanic challenge and the associated dataset is a famed one, often the first step for beginners into machine learning. Check out the challenge here.

The contemporary solutions use steps like dropping missing values, encoding categorical variables, feature engineering, transforming the values and using various classification models like Logistic regression, SVC all the way to Gradient Boosting Machines. While the aptness of each method varies from a case by case basis, the models can be made pretty accurate by tuning their hyperparameters and careful feature engineering. Contrasted to this, a Genetic Model is not exactly a machine learning algorithm, but a "machine-crunching" algorithm. Think of the usual ML models as intelligent students who know what to study and from where, while the Genetic algorithm is an hard-working student, who goes through all available textbooks and then selects the one that gives him the score closest to the correct and then repeats this for all questions. The drawback here is that while effective, calling it efficient would be a stretch both from the coding perspective as well the machine's resource perspective. Read this to know more about the Genetic algorithms

image

(PS: Setting up the genetic function is an extremely frustrating and detail oriented activity, and it leaves you with a whacky looking piece of code too. But if that grinds your gears, then by all means go ahead)

Prerequisities

  • titanic_train.csv - Training dataset. This file contains the survival state or the "ground truth".
  • titanic_test.csv - Test dataset. We make predictions on this dataset.

Libraries

Since this was a Jupyter notebook implemetation, no libraries need to be installed, other than the pre-installed ones:

  • numpy
  • pandas
  • sys
  • sklearn
  • matplotlib.pyplot
  • sympy

License

Apache 2.0

kaggle-titanic_problem's People

Contributors

alvin-varghese avatar

Stargazers

 avatar

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.