paulopontesm commited on
Commit
715585f
·
verified ·
1 Parent(s): 727601d

Create README.md

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