Datasets:
Tasks:
Tabular Classification
Modalities:
Tabular
Sub-tasks:
tabular-multi-class-classification
Languages:
English
Size:
1K<n<10K
License:
File size: 7,238 Bytes
715585f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 |
---
language:
- en
license: other
license_name: titanic-competition-license
license_link: https://www.kaggle.com/competitions/titanic/data
license_details: >-
This dataset is provided for use under the Titanic Machine Learning
competition rules.
tags:
- tabular
- classification
- survival-analysis
- competition
annotations_creators:
- found
language_creators:
- found
language_details: en-US
pretty_name: 'Copy of the original Kaggle Titanic dataset '
size_categories:
- 1K<n<10K
source_datasets:
- found
task_categories:
- tabular-classification
task_ids:
- tabular-multi-class-classification
paperswithcode_id: titanic-survival
configs:
- config_name: default
data_files:
- split: train
path: train.csv
- split: test
path: test.csv
- split: gender_submission
path: gender_submission.csv
dataset_info:
features:
- name: PassengerId
dtype: int32
- name: Survived
dtype: int32
- name: Pclass
dtype: int32
- name: Name
dtype: string
- name: Sex
dtype: string
- name: Age
dtype: float32
- name: SibSp
dtype: int32
- name: Parch
dtype: int32
- name: Ticket
dtype: string
- name: Fare
dtype: float32
- name: Cabin
dtype: string
- name: Embarked
dtype: string
config_name: default
splits:
- name: train
num_bytes: 61194
num_examples: 891
- name: test
num_bytes: 28629
num_examples: 418
download_size: 93080
dataset_size: 89823
extra_gated_fields:
Competition Agreement: checkbox
extra_gated_prompt: >-
By accessing this dataset, you agree to abide by the competition rules and not
use external datasets for training.
train-eval-index:
- config: default
task: tabular-classification
task_id: tabular-multi-class-classification
splits:
train_split: train
eval_split: test
col_mapping:
features:
- Pclass
- Sex
- Age
- SibSp
- Parch
- Fare
- Embarked
label: Survived
metrics:
- type: accuracy
name: Accuracy
dataset_details:
original_url: https://www.kaggle.com/competitions/titanic/data
description: >
This dataset is a **copy of the original Kaggle Titanic dataset** uploaded
for exploring the **Hugging Face Datasets feature**.
The Titanic dataset is a classic dataset used in machine learning and
statistics.
It consists of passenger information and survival status from the Titanic
disaster.
The dataset is provided as part of the Kaggle Titanic competition.
---
# Dataset Card for Titanic Survival Prediction
## Dataset Details
### Dataset Description
This dataset is a **copy of the original Kaggle Titanic dataset** made to explore the **Hugging Face Datasets feature**.
The **Titanic Survival Prediction** dataset is widely used in machine learning and statistics. It originates from the **Titanic: Machine Learning from Disaster** competition on [Kaggle](https://www.kaggle.com/competitions/titanic/data). The dataset consists of passenger details from the RMS Titanic disaster, including demographic and ticket-related attributes, with the goal of predicting whether a passenger survived.
- **Curated by:** Kaggle
- **Funded by:** Kaggle
- **Shared by:** Kaggle
- **Language(s) (NLP, if applicable):** English
- **License:** Subject to Competition Rules
### Dataset Sources
- **Repository:** [Kaggle Titanic Competition](https://www.kaggle.com/competitions/titanic/data)
- **Paper [optional]:** None
- **Demo [optional]:** Not applicable
## Uses
### Direct Use
The dataset is primarily used for:
- **Supervised learning**: Predicting survival outcomes based on passenger characteristics.
- **Feature engineering**: Extracting new insights from existing features.
- **Data preprocessing techniques**: Handling missing values, encoding categorical variables, and normalizing data.
- **Benchmarking machine learning models**: Logistic regression, decision trees, random forests, neural networks, etc.
### Out-of-Scope Use
This dataset is not meant for:
- **Real-world survival predictions**: It is based on a historical dataset and should not be used for real-world survival predictions.
- **Sensitive or personally identifiable information analysis**: The dataset does not contain modern personal data but should still be used responsibly.
## Dataset Structure
The dataset consists of three CSV files:
1. **train.csv** (891 entries) – Includes the "Survived" column as labels for training.
2. **test.csv** (418 entries) – Used for evaluation, with missing "Survived" labels.
3. **gender_submission.csv** – A sample submission file assuming all female passengers survived.
### Data Dictionary
| Column | Description |
|------------|------------|
| PassengerId | Unique ID for each passenger |
| Survived | Survival status (0 = No, 1 = Yes) |
| Pclass | Ticket class (1st, 2nd, 3rd) |
| Name | Passenger name |
| Sex | Gender (male/female) |
| Age | Passenger age |
| SibSp | Number of siblings/spouses aboard |
| Parch | Number of parents/children aboard |
| Ticket | Ticket number |
| Fare | Ticket fare |
| Cabin | Cabin number (if known) |
| Embarked | Port of embarkation (C = Cherbourg, Q = Queenstown, S = Southampton) |
## Dataset Creation
### Curation Rationale
The dataset was created to help users develop predictive models for classification tasks and serves as an entry-level machine learning dataset.
### Source Data
#### Data Collection and Processing
The dataset originates from historical records of the RMS Titanic disaster and has been structured for machine learning purposes. Some entries contain missing values, particularly in **Age** and **Cabin**, requiring imputation or removal.
#### Who are the source data producers?
The dataset is derived from **Titanic passenger records**.
### Annotations
#### Annotation process
The dataset is not annotated beyond the **Survived** label.
#### Who are the annotators?
The survival labels come from historical records.
#### Personal and Sensitive Information
The dataset does not contain sensitive or personally identifiable information.
## Bias, Risks, and Limitations
The dataset represents **historical biases** in survival rates:
- Women and children had a higher chance of survival due to evacuation priorities.
- First-class passengers had a higher survival rate compared to lower-class passengers.
- Some data is **missing or estimated**, particularly age and cabin numbers.
### Recommendations
- **Use fairness metrics** when training models to assess potential biases.
- **Avoid real-world applications** for decision-making, as this is a historical dataset.
## Citation
Since this dataset originates from Kaggle, it does not have an official citation. However, you can reference it as follows:
**APA:**
Kaggle. (n.d.). Titanic - Machine Learning from Disaster. Retrieved from [https://www.kaggle.com/competitions/titanic/data](https://www.kaggle.com/competitions/titanic/data)
**BibTeX:**
```bibtex
@misc{kaggle_titanic,
title = {Titanic - Machine Learning from Disaster},
author = {Kaggle},
year = {n.d.},
url = {https://www.kaggle.com/competitions/titanic/data}
} |