Code Monkey home page Code Monkey logo

survival-prediction's Introduction

Titanic Survival Prediction

Overview

This project aims to predict whether a person survived or not on the Titanic using machine learning. It utilizes the RandomForestClassifier from scikit-learn to build a classification model.

Files

  • Titanic Classification.ipynb: Jupyter Notebook containing the code for data loading, preprocessing, model training, and evaluation.
  • README.md: Documentation providing an overview of the project and instructions.

Dependencies

Make sure you have the following dependencies installed:

  • pandas
  • scikit-learn

Install dependencies using:

pip install pandas scikit-learn

Usage

  1. Open the Titanic Classification.ipynb notebook in a Jupyter environment.
  2. Run each cell sequentially to execute the code.
  3. The notebook will output the accuracy of the trained model on the test set.

Dataset

The dataset used for training and testing the model is the Titanic dataset, available at this URL. The dataset contains information about passengers, including whether they survived, age, gender, etc.

Model

The classification model used is a RandomForestClassifier from scikit-learn with 100 trees and a random state for reproducibility.

survival-prediction's People

Contributors

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