Skip to main content
CARLA HQ
Maritime Safety & Actuarial Risk Analysis Public Services & Risk use casesNACE H50.10Binary ClassificationTarget: survivedOpenML #40945 ↗

Titanic

Canonical 1,309-record benchmark dataset describing Titanic passenger demographics, socio-economic markers, and cabin locations to predict binary survival outcomes.

✨ Try in CarlaInstall Chrome Extension ↗100% In-Browser WebGPU • Zero Cloud Upload
1,309Records (Rows)
11Predictive Features
7 / 7Numeric / Categorical
21.0%Missing Value Ratio
0.12291 - AUC Error
1.35sWebGPU Mean Split
BUSINESS CONTEXT & OBJECTIVEMaritime Transportation & Insurance Underwriting (H50.10)

Business Objective: Titanic

01Business Context

Passenger evacuation protocols and maritime safety logistics during mass-casualty emergency operations, historically governed by triage heuristics such as 'women and children first' and stratified socio-economic access to survival resources.

02Analytical Objective

Predict the binary survival probability of individual passengers based on socio-economic tier, demographic profile, cabin positioning, and family accompaniment.

03Economic & Decision Impact

Enables historical casualty auditing, safety triage simulation, and actuarial disaster loss modeling where false positives (misclassifying deceased passengers as survivors) distort survival resource allocations and emergency egress planning.

ML Benchmark Narrative

Widely utilized as the definitive baseline for tabular binary classification, traditional gradient-boosted decision trees (XGBoost, LightGBM) and Random Forests routinely achieve 0.80–0.84 ROC-AUC on clean non-leaking feature subsets (pclass, sex, age, sibsp, parch, fare, embarked). Foundation models like TabICL and Carla demonstrate robust zero-shot in-context inference directly on raw spreadsheet rows without explicit imputation pipelines or one-hot categorical encoding.

Source Origin:Vanderbilt University Department of Biostatistics / Encyclopedia Titanica
Creator:Frank E. Harrell Jr. and Thomas Cason (1994)
License:Open Data Commons Public Domain Dedication (CC0 / Public Domain)
FEATURE SPECIFICATION & DATA DICTIONARY

Target & Feature Column Definitions

Exhaustive business definitions, measurement units, roles, and target variables across all 14 columns.

ColVariable / Feature NameRoleTypeUnit / ScaleDescription & Business Meaning
AsurvivedSurvival StatusTARGETNUM
Binary passenger outcome indicating whether the individual survived the disaster (0 = Did not survive / Deceased, 1 = Survived).
BpclassPassenger ClassFeatureNUM
Ticket class representing socio-economic status (1 = 1st Class / Upper Tier, 2 = 2nd Class / Middle Tier, 3 = 3rd Class / Lower Tier).
CnamePassenger NameFeatureCAT
Full formal name and honorific title (e.g. Mr., Mrs., Miss, Master, Dr., Rev.) of the passenger.
DsexSexFeatureCAT
Biological sex / gender of the passenger (female, male).
EageAgeFeatureNUMyears
Age of the passenger in years (fractional for infants under 1 year old; missing values represent unknown ages).
FsibspSiblings / Spouses AboardFeatureNUMcount
Total count of siblings (brother, sister, stepbrother, stepsister) or spouses (husband, wife) traveling with the passenger.
GparchParents / Children AboardFeatureNUMcount
Total count of parents (mother, father) or children (daughter, son, stepdaughter, stepson) traveling with the passenger.
HticketTicket NumberFeatureCAT
Alphanumeric ticket booking identifier or serial reference assigned to the passenger.
IfarePassenger FareFeatureNUMGBP
Total passenger fare paid in pre-1970 British Pounds (£) for boarding the voyage.
JcabinCabin NumberFeatureCAT
Assigned deck and stateroom cabin identifier (e.g. B5, C22 C26). Deck letter reflects vertical proximity to boat deck.
KembarkedPort of EmbarkationFeatureCAT
Port where the passenger boarded the vessel (C = Cherbourg, Q = Queenstown, S = Southampton).
LboatLifeboat IdentifierLEAKAGECAT
Identification number or letter of the rescue lifeboat used by surviving passengers (post-event indicator).
TARGET LEAKAGE RISK(post event)

The lifeboat identifier indicates which rescue boat a passenger boarded during or after the disaster. This feature is recorded post-event and provides direct leakage of survival status, as having an assigned lifeboat strongly determines that the passenger survived.

• Excluded during model training & zero-shot inference to avoid artificially inflated metric scores.
LhomedestHome / DestinationFeatureCAT
Geographic origin / home city and ultimate travel destination intended by the passenger.
MbodyBody Identification NumberLEAKAGENUM
Coroner recovery identification index assigned to deceased passenger bodies retrieved from the ocean.
TARGET LEAKAGE RISK(post event)

The body identification number is assigned by recovery crews and coroners to deceased passengers whose bodies were retrieved from the ocean after the sinking. This is a post-event feature that deterministically indicates the passenger did not survive.

• Excluded during model training & zero-shot inference to avoid artificially inflated metric scores.
DATASET PREVIEW

Interactive Data Table

Explore rows, feature values, and target labels for Titanic.

Loading dataset...
LOCAL EXECUTION TELEMETRY

TabICLv2 WebGPU Benchmark Results

Complete performance metrics on persisted IID or non-IID evaluation splits, executed 100% locally in the browser sandbox.

Mean Split Latency?Mean wall-clock execution time per persisted evaluation split running 100% locally via WebGPU inside Chrome.Explore Latency Guide →
1.35s30 splits • 8 ensembles/split
Total Evaluation Runtime?Total wall-clock duration across all selected splits, including in-context encoding, WebGPU shader execution, and result aggregation.Explore Split Protocol →
40.50sIncludes warmup & sync
Evaluation Protocol?Precomputed row indices ensure the browser and Python runners evaluate identical out-of-sample observations without leakage.Explore Split Protocol →
10×3 SplitsRepeated IID • 30 total
TabICLv2 Score?Primary task performance score (1 - AUC Error) achieved by TabICLv2 across out-of-sample evaluation splits.Explore Metric Formula →
0.12291 - AUC Error
Evaluation SplitTrain RowsTest Rows
Split Duration?Wall-clock inference time taken for this evaluation split running 100% locally via WebGPU.Learn more →
Accuracy?Proportion of correct test predictions across all classes.Google ML Guide & Details →
ROC-AUC?Area under the ROC curve evaluating ranking capability across all thresholds.Google ML Guide & Details →
F1 Score?Harmonic mean of Precision and Recall, robust against class imbalance.Learn more →
Precision?Proportion of predicted positives that were actually positive.Google ML Guide & Details →
Recall?Proportion of actual positive cases successfully captured.Google ML Guide & Details →
R1 / F18724371.42s79.86%0.85190.72330.76160.6886
R1 / F28734361.41s81.65%0.87070.74030.80850.6826
R1 / F38734361.34s82.57%0.87800.76100.79610.7289
R2 / F18724371.35s79.18%0.87080.70360.77140.6467
R2 / F28734361.34s81.19%0.84880.73030.81020.6647
R2 / F38734361.33s85.09%0.89500.78550.86860.7169
R3 / F18724371.34s85.13%0.89810.77660.91130.6766
R3 / F28734361.34s81.65%0.86300.74030.80850.6826
R3 / F38734361.35s82.57%0.87750.76690.78130.7530
R4 / F18724371.35s83.07%0.85600.75660.83940.6886
R4 / F28734361.35s82.34%0.87500.75560.80410.7126
R4 / F38734361.34s81.42%0.88270.73440.80580.6747
R5 / F18724371.34s79.86%0.85640.69860.81600.6108
R5 / F28734361.37s85.32%0.89990.79870.84110.7605
R5 / F38734361.34s82.57%0.89030.75800.80410.7169
R6 / F18724371.35s81.01%0.86450.74920.75610.7425
R6 / F28734361.35s83.26%0.89480.76380.83100.7066
R6 / F38734361.38s80.96%0.85340.71670.82680.6325
R7 / F18724371.35s83.07%0.88670.76130.82520.7066
R7 / F28734361.34s81.42%0.86550.73440.81160.6707
R7 / F38734361.34s81.19%0.87940.71720.83870.6265
R8 / F18724371.35s78.03%0.83020.68420.75910.6228
R8 / F28734361.34s82.34%0.88140.74750.82610.6826
R8 / F38734361.33s85.09%0.90210.79620.83010.7651
R9 / F18724371.32s81.92%0.87100.73580.83330.6587
R9 / F28734361.34s79.59%0.84590.71920.76000.6826
R9 / F38734361.36s87.16%0.91550.81700.89290.7530
R10 / F18724371.33s81.92%0.87810.74430.80990.6886
R10 / F28734361.35s83.49%0.89890.76470.84170.7006
R10 / F38734361.34s83.26%0.86700.75090.86610.6627
Mean ± Std1.35s82.24% ± 1.97%0.875 ± 0.0190.748 ± 0.0300.8180.690
UNIFIED BENCHMARK LEADERBOARD

Foundation Models vs Traditional ML Baselines

Side-by-side evaluation of our in-browser Carla engine (WebGPU), open-source tabular foundation models, and OpenML baselines.

RankAlgorithm / ModelModel FamilyRuntime
Predictive Accuracy?Proportion of correct test predictions across cross-validation splits.Google ML Guide & Details →
ROC-AUC?Area under the ROC curve evaluating ranking capability.Learn more →
F-Measure?Harmonic mean of precision and recall.Learn more →
Reference / Repo
#1EXAONE TabularTabular Foundation ModelPyTorch/Python82.96%0.88540.7569LGAI-Research/EXAONE-Tabular ↗
#2Google TabFM v1.0Tabular Foundation ModelPyTorch/Python82.47%0.88340.7509google-research/tabfm ↗
#3Streaming nanotabiclTabular Foundation ModelPyTorch/Python82.38%0.87710.7498soda-inria/nanotabicl ↗
#4Full TabICLv2 (PyTorch Reference)Tabular Foundation ModelPyTorch/Python82.38%0.87710.7498soda-inria/tabicl ↗
#5nanotabicl VanillaTabular Foundation ModelPyTorch/Python82.35%0.87710.7494soda-inria/nanotabicl ↗
#6Carla Engine (TabICLv2 WebGPU)Tabular Foundation ModelBrowser82.24%0.87490.7477100% In-Browser
#7TabPFN v3Tabular Foundation ModelPyTorch/Python81.13%0.86400.7327PriorLabs/tabpfn ↗
STATISTICAL DISTRIBUTIONS

Variable Schema & Summary Distributions

Observed numerical ranges, category cardinalities, missing rates, and sample values across 1,309 rows.

ColVariable NameTypeMissingDistinctSummary Stats / DistributionSample Values
AsurvivedTARGETNUM02[0, 1] μ=0.4 σ=0.5110
BpclassNUM03[1, 3] μ=2.3 σ=0.8111
CnameCAT01,307Allen, Miss. Elisabeth WaltonAllison, Master. Hudson TrevorAllison, Miss. Helen Loraine
DsexCAT022 cats: male, femalefemalemalefemale
EageNUM263 (20.09%)98[0.1667, 80] μ=29.9 σ=14.4290.91672
FsibspNUM07[0, 8] μ=0.5 σ=1.0011
GparchNUM08[0, 9] μ=0.4 σ=0.9022
HticketCAT092924160113781113781
IfareNUM1 (0.08%)281[0, 512.3292] μ=33.3 σ=51.7211.3375151.55151.55
JcabinCAT1,014 (77.46%)186B5C22 C26C22 C26
KembarkedCAT2 (0.15%)33 cats: S, C, QSSS
LboatLEAKAGECAT823 (62.87%)2710 cats: 13, C, 15 +7 more2113
LhomedestCAT564 (43.09%)369St Louis, MOMontreal, PQ / Chesterville, ONMontreal, PQ / Chesterville, ON
MbodyLEAKAGENUM1,188 (90.76%)121[1, 328] μ=160.8 σ=97.313522124
FREQUENTLY ASKED QUESTIONS

Frequently Asked Questions: Titanic

Common questions regarding the Titanic dataset, machine learning task formulations, and in-browser tabular inference.

What is the Titanic dataset used for?

The Titanic dataset is the premier tabular benchmark for binary classification, used to predict passenger survival based on socio-economic tier, demographic profiles, family accompaniment, and travel attributes.

Can I run zero-server predictions on this dataset in Google Sheets?

Yes, Carla HQ enables zero-server in-context tabular prediction directly in spreadsheets using TabICL foundation models without requiring backend configuration or feature engineering.

What machine learning models perform best on Titanic?

Standard gradient-boosted trees (LightGBM, XGBoost) and Random Forests typically reach 0.80–0.84 ROC-AUC on clean non-leaking feature sets, while tabular foundation models like TabICL deliver high-accuracy zero-shot inference without prior training.

LIVE EVALUATION IN GOOGLE SHEETS

Test TabICLv2 on Titanic Yourself

Open the pre-loaded Google Sheet and let Carla configure the target and task for local, zero-cloud tabular machine learning.

Step 1

Launch Carla

Click once to open the spreadsheet and Carla side panel together.

Step 2

Review the Setup

Carla selects the dataset target and task from this page automatically.

Step 3

Evaluate & Predict

Run predictions and compute metrics with zero server uploads.