Before You Start
- Required knowledge
- Pandas cleaning, scikit-learn pipelines, cross-validation, and classification metrics.
- Libraries used
- NumPy, pandas, scikit-learn
- Dataset and source
- Optional local data/titanic/train.csv; otherwise a fixed 50-row Titanic-style teaching dataset, not the original Titanic dataset.
- Expected output
- A majority baseline, cross-validated logistic-regression/RF/GB pipelines, holdout scores, and subgroup analysis. Toy-data scores are not real-world benchmarks.