Coder Social home page Coder Social logo

logistic-regression-on-titanic-dataset's Introduction

Logistic Regression on Titanic Dataset

Content

In this project I'm attempting to do data analysis on the Titanic Dataset. In the first step I'm doing a very quick data exploration and preprocessing on a visual level, plotting some simple plots to understand the data better. Then I've done some data cleaning and built a Classifier that can predict whether a passenger survived or not.

Tools and Packages

In this project I've used the following tools and Python packages:

  • Jupyter Notebooks: This is the software that lets us run Python code in the browser and intermix markdown with cells containing code.
  • Numpy: This is pythons main scientific computing library. Its important for Data Science as all libraries in PyData Ecosystem rely on NumPy as one of their main building blocks
  • Pandas: This is the data analysis tool of choice in Python. It allows fast analysis and data cleaning and preparation using powerful data structures like dataframes and series.
  • Matplotlib: The data visualisation package of Python. Has a very similar feel to MalLab's graphical plotting and works well with numpy and pandas.
  • Seaborn: Statistical plotting library built on top of Matplotlib. It is also designed to work very well with pandas dataframes objects.
  • Scikit-learn: The machine learning package of Python. Makes implementing ML Algorithms extremely simple.

Results

The classifier built here has a prediction score of 0.81, i.e., we get an average accuracy of 80+%. This is a pretty good accuracy for starters and could be improved upon by coming up with newer, better features by using some feature engineering. This is something I could work on in the future.

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.