## 👋🛳️ Ahoy, welcome to Kaggle! You’re in the right place. 
This is the legendary Titanic ML competition – the best, first challenge for you to dive into ML competitions and familiarize yourself with how the Kaggle platform works.

**If you want to talk with other users about this competition, come join our Discord! We've got channels for competitions, job postings and career discussions, resources, and socializing with your fellow data scientists. Follow the link here:** https://discord.gg/kaggle

The competition is simple: use machine learning to create a model that predicts which passengers survived the Titanic shipwreck.

Read on or watch the video below to explore more details. Once you’re ready to start competing, click on the <a href="https://www.kaggle.com/account/login?returnUrl=%2Fc%2Ftitanic" target="_blank">"Join Competition button</a> to create an account and gain access to the <a href="https://www.kaggle.com/c/titanic/data" target="_blank">competition data</a>. Then check out <a href="https://www.kaggle.com/alexisbcook/titanic-tutorial">Alexis Cook’s Titanic Tutorial</a> that walks you through step by step how to make your first submission!

<iframe width="699" height="368" src="https://www.youtube.com/embed/8yZMXCaFshs" title="YouTube video | How to Get Started with Kaggle’s Titanic Competition | Kaggle" frameborder="0" allow="encrypted-media" allowfullscreen></iframe>

## The Challenge
The sinking of the Titanic is one of the most infamous shipwrecks in history.

On April 15, 1912, during her maiden voyage, the widely considered “unsinkable” RMS Titanic sank after colliding with an iceberg. Unfortunately, there weren’t enough lifeboats for everyone onboard, resulting in the death of 1502 out of 2224 passengers and crew.

While there was some element of luck involved in surviving, it seems some groups of people were more likely to survive than others.

In this challenge, we ask you to build a predictive model that answers the question: “what sorts of people were more likely to survive?” using passenger data (ie name, age, gender, socio-economic class, etc).

> #### Recommended Tutorial
> We highly recommend [Alexis Cook’s Titanic Tutorial](https://www.kaggle.com/alexisbcook/titanic-tutorial) that walks you through making your very first submission step by step and [this starter notebook](https://www.kaggle.com/code/gusthema/titanic-competition-w-tensorflow-decision-forests) to get started.

## Overview of How Kaggle’s Competitions Work
1. **Join the Competition**
Read about the challenge description, accept the Competition Rules and gain access to the competition dataset.
1.  **Get to Work**
Download the data, build models on it locally or on Kaggle Notebooks (our no-setup, customizable Jupyter Notebooks environment with free GPUs) and generate a prediction file.
1.  **Make a Submission**
Upload your prediction as a submission on Kaggle and receive an accuracy score.
1.  **Check the Leaderboard**
See how your model ranks against other Kagglers on our leaderboard. 
1.  **Improve Your Score**
Check out the <a href="https://www.kaggle.com/c/titanic/discussion" target="_blank">discussion forum</a> to find lots of tutorials and insights from other competitors.

> #### Kaggle Lingo Video
> You may run into unfamiliar lingo as you dig into the Kaggle discussion forums and public notebooks. Check out  Dr. Rachael Tatman’s [video on Kaggle Lingo](https://www.youtube.com/watch?v=sEJHyuWKd-s) to get up to speed!

## What Data Will I Use in This Competition?
In this competition, you’ll gain access to two similar datasets that include passenger information like name, age, gender, socio-economic class, etc. One dataset is titled `train.csv` and the other is titled `test.csv`.

`Train.csv` will contain the details of a subset of the passengers on board (891 to be exact) and importantly, will reveal whether they survived or not, also known as the “ground truth”.

The `test.csv` dataset contains similar information but does not disclose the “ground truth” for each passenger. It’s your job to predict these outcomes.

Using the patterns you find in the `train.csv` data, predict whether the other 418 passengers on board (found in `test.csv`) survived.

Check out the <a href="https://www.kaggle.com/c/titanic/data">“Data” tab</a> to explore the datasets even further. Once you feel you’ve created a competitive model, submit it to Kaggle to see where your model stands on our leaderboard against other Kagglers.

## How to Submit your Prediction to Kaggle
Once you’re ready to make a submission and get on the leaderboard:

1. Click on the “Submit Predictions” button
<img width="699" align="center" src="https://storage.googleapis.com/kaggle-media/welcome/screen1.png">
1. Upload a CSV file in the submission file format. You’re able to submit 10 submissions a day.
<img width="699" align="center" src="https://storage.googleapis.com/kaggle-media/welcome/screen2.png">

## Submission File Format:
You should submit a csv file with exactly 418 entries plus a header row. Your submission will show an error if you have extra columns (beyond `PassengerId` and `Survived`) or rows.

The file should have exactly 2 columns:
- `PassengerId` (sorted in any order)
- `Survived` (contains your binary predictions: 1 for survived, 0 for deceased)

## Got it! I’m ready to get started. Where do I get help if I need it?
- For Competition Help: <a href="https://www.kaggle.com/c/titanic/discussion">Titanic Discussion Forum</a>
- Technical Help: <a href="https://www.kaggle.com/contact">Kaggle Contact Us Page</a>

Kaggle doesn’t have a dedicated support team so you’ll typically find that you receive a response more quickly by asking your question in the appropriate forum. The forums are full of useful information on the data, metric, and different approaches. We encourage you to use the forums often. If you share your knowledge, you'll find that others will share a lot in turn!

## A Last Word on Kaggle Notebooks
As we mentioned before, Kaggle Notebooks is our no-setup, customizable, Jupyter Notebooks environment with free GPUs and a huge repository of community published data &amp; code.

In every competition, you’ll find many Notebooks shared with incredible insights. It’s an invaluable resource worth becoming familiar with. Check out this competition’s Notebooks <a href="https://www.kaggle.com/c/titanic/notebooks">here</a>.

## 🏃‍♀Ready to Compete? <a href="https://www.kaggle.com/account/login?returnUrl=%2Fc%2Ftitanic">Join the Competition Here!</a>